arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.04588cs.CLcs.AI
收藏

Tibyan语料库:利用ChatGPT实现阿拉伯语语法纠错的均衡全面错误覆盖语料库

Tibyan Corpus: Balanced and Comprehensive Error Coverage Corpus Using ChatGPT for Arabic Grammatical Error Correction

King Abdulaziz University(阿卜杜勒阿齐兹国王大学);Saudi Electronic University(沙特电子大学)

Ahlam Alrehili, Areej Alhothali

AI总结:

本研究利用ChatGPT构建阿拉伯语语法纠错语料库Tibyan,包含约600K标记和七类错误,旨在弥补阿拉伯语GEC资源不足。

摘要:

自然语言处理(NLP)利用文本数据增强来克服样本量限制。增加样本量是缓解这些挑战的一种自然且广泛使用的策略。在本研究中,我们选择阿拉伯语来增加样本量并纠正语法错误。阿拉伯语被认为是语法错误纠正(GEC)资源有限的语种之一。此外,QALB-14和QALB-15是大多数阿拉伯语语法错误纠正研究中使用的唯一数据集,约有20,500个平行示例,与其他语言相比被认为较少。因此,本研究旨在利用ChatGPT开发一个名为“Tibyan”的阿拉伯语语法错误纠正语料库。ChatGPT被用作数据增强工具,基于一对包含语法错误的阿拉伯语句子,这些句子与从阿拉伯语书籍中提取的无错误句子(称为引导句)相匹配。建立我们的语料库涉及多个步骤,包括从各种来源(如书籍和开放获取语料库)收集和预处理成对的阿拉伯语文本。然后,我们使用ChatGPT根据先前收集的文本生成平行语料库,作为生成包含多种错误类型句子的指导。通过让语言专家审查和验证自动生成的句子,我们确保它们是正确且无错误的。语料库根据语言专家提供的反馈进行迭代验证和精炼,以提高其准确性。最后,我们使用阿拉伯语错误类型标注工具(ARETA)分析Tibyan语料库中的错误类型。我们的语料库包含49种错误,包括七种类型:正字法、形态学、句法、语义、标点、合并和拆分。Tibyan语料库包含约600K个标记。

英文摘要:

Natural language processing (NLP) utilizes text data augmentation to overcome sample size constraints. Increasing the sample size is a natural and widely used strategy for alleviating these challenges. In this study, we chose Arabic to increase the sample size and correct grammatical errors. Arabic is considered one of the languages with limited resources for grammatical error correction (GEC). Furthermore, QALB-14 and QALB-15 are the only datasets used in most Arabic grammatical error correction research, with approximately 20,500 parallel examples, which is considered low compared with other languages. Therefore, this study aims to develop an Arabic corpus called "Tibyan" for grammatical error correction using ChatGPT. ChatGPT is used as a data augmenter tool based on a pair of Arabic sentences containing grammatical errors matched with a sentence free of errors extracted from Arabic books, called guide sentences. Multiple steps were involved in establishing our corpus, including the collection and pre-processing of a pair of Arabic texts from various sources, such as books and open-access corpora. We then used ChatGPT to generate a parallel corpus based on the text collected previously, as a guide for generating sentences with multiple types of errors. By engaging linguistic experts to review and validate the automatically generated sentences, we ensured that they were correct and error-free. The corpus was validated and refined iteratively based on feedback provided by linguistic experts to improve its accuracy. Finally, we used the Arabic Error Type Annotation tool (ARETA) to analyze the types of errors in the Tibyan corpus. Our corpus contained 49 of errors, including seven types: orthography, morphology, syntax, semantics, punctuation, merge, and split. The Tibyan corpus contains approximately 600 K tokens.

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

↑