arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.12484cs.CL
收藏

SynGEC:使用面向GEC的语法分析器进行语法增强的语法错误纠正

SynGEC: Syntax-Enhanced Grammatical Error Correction with a Tailored GEC-Oriented Parser

Soochow University(苏州大学)

Yue Zhang, Bo Zhang, Zhenghua Li, Zuyi Bao, Chen Li, Min Zhang

摘要:

这项工作提出了一种语法增强的语法错误纠正(GEC)的方法命名为SynGEC,有效地将依赖语法信息到GEC模型的编码器部分。这个想法的关键挑战是,现成的解析器在处理不合语法的句子时是不可靠的。为了应对这一挑战,我们建议建立一个量身定制的面向GEC的解析器(GOPar)使用并行GEC训练数据作为支点。首先,我们设计了一个扩展的语法表示方案,使我们能够表示语法错误和语法在一个统一的树结构。然后,我们通过投影目标正确句子的分析树来获得源错误句子的分析树。最后,我们用这样的投影树训练GOPar。对于GEC,我们采用图卷积网络来编码GOPar产生的源端语法信息,并将它们与Transformer编码器的输出融合。在主流英文和中文GEC数据集上的实验表明,我们提出的SynGEC方法一致且大幅优于强基线,并取得了有竞争力的性能。我们的代码和数据都可以在https://github.com/HillZhang1999/SynGEC上公开获取。

英文摘要:

This work proposes a syntax-enhanced grammatical error correction (GEC) approach named SynGEC that effectively incorporates dependency syntactic information into the encoder part of GEC models. The key challenge for this idea is that off-the-shelf parsers are unreliable when processing ungrammatical sentences. To confront this challenge, we propose to build a tailored GEC-oriented parser (GOPar) using parallel GEC training data as a pivot. First, we design an extended syntax representation scheme that allows us to represent both grammatical errors and syntax in a unified tree structure. Then, we obtain parse trees of the source incorrect sentences by projecting trees of the target correct sentences. Finally, we train GOPar with such projected trees. For GEC, we employ the graph convolution network to encode source-side syntactic information produced by GOPar, and fuse them with the outputs of the Transformer encoder. Experiments on mainstream English and Chinese GEC datasets show that our proposed SynGEC approach consistently and substantially outperforms strong baselines and achieves competitive performance. Our code and data are all publicly available at https://github.com/HillZhang1999/SynGEC.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑