arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.12489cs.CL
收藏

面向英语学习者语码转换句子的语法错误纠正

Grammatical Error Correction for Code-Switched Sentences by Learners of English

Writer, Inc.(Writer 公司);King's College London(伦敦国王学院)

Kelvin Wey Han Chan, Christopher Bryant, Li Nguyen, Andrew Caines, Zheng Yuan

AI总结:

本研究首次探索语法错误纠正系统在语码转换文本上的应用,提出通过翻译现有GEC语料片段生成合成CSW GEC数据集的方法,最优模型在3个多语言测试集上$F_{0.5}$平均提升1.57且不影响单语性能,还发现模型对类型相似的CSW语言泛化性较好。

摘要:

语码转换(Code-Switching, CSW)是多语言使用者中的常见现象,指在单个语篇或话语中使用多种语言。然而,混合语言话语仍可能存在语法错误,但大多数现有的语法错误纠正(Grammar Error Correction, GEC)系统都是基于单语数据训练的,开发时并未考虑语码转换场景。在本研究中,我们首次探索了GEC系统在CSW文本上的应用。通过这一探索,我们提出了一种生成合成CSW GEC数据集的新方法:对现有GEC语料库中的不同文本片段进行翻译。随后我们研究了基于CSW比例、转换点因子和语言约束选择这些片段的不同方法,并明确了它们如何影响GEC系统在CSW文本上的性能。我们的最优模型在3个CSW测试集(英中、英韩、英日)上的$F_{0.5}$值平均提升了1.57,且未影响模型在单语数据集上的性能。我们还发现,在一种CSW语言上训练的模型对其他类型学上相似的CSW语言具有较好的泛化能力。

英文摘要:

Code-switching (CSW) is a common phenomenon among multilingual speakers where multiple languages are used in a single discourse or utterance. Mixed language utterances may still contain grammatical errors however, yet most existing Grammar Error Correction (GEC) systems have been trained on monolingual data and not developed with CSW in mind. In this work, we conduct the first exploration into the use of GEC systems on CSW text. Through this exploration, we propose a novel method of generating synthetic CSW GEC datasets by translating different spans of text within existing GEC corpora. We then investigate different methods of selecting these spans based on CSW ratio, switch-point factor and linguistic constraints, and identify how they affect the performance of GEC systems on CSW text. Our best model achieves an average increase of 1.57 $F_{0.5}$ across 3 CSW test sets (English-Chinese, English-Korean and English-Japanese) without affecting the model's performance on a monolingual dataset. We furthermore discovered that models trained on one CSW language generalise relatively well to other typologically similar CSW languages.

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

↑