Enhancing Text Editing for Grammatical Error Correction: Arabic as a Case Study

Bashar Alhafni, Nizar Habash


Abstract
Text editing frames grammatical error correction (GEC) as a sequence tagging problem, where edit tags are assigned to input tokens, and applying these edits results in the corrected text. This approach has gained attention for its efficiency and interpretability. However, while extensively explored for English, text editing remains largely underexplored for morphologically rich languages like Arabic. In this paper, we introduce a text editing approach that derives edit tags directly from data, eliminating the need for language-specific edits. We demonstrate its effectiveness on Arabic, a diglossic and morphologically rich language, and investigate the impact of different edit representations on model performance. Our approach achieves SOTA results on two Arabic GEC benchmarks and performs on par with SOTA on two others. Additionally, our models are over six times faster than existing Arabic GEC systems, making our approach more practical for real-world applications. Finally, we explore ensemble models, demonstrating how combining different models leads to further performance improvements. We make our code, data, and pretrained models publicly available.
Anthology ID:
2025.acl-long.875
Volume:
Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Month:
July
Year:
2025
Address:
Vienna, Austria
Editors:
Wanxiang Che, Joyce Nabende, Ekaterina Shutova, Mohammad Taher Pilehvar
Venue:
ACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
17892–17914
Language:
URL:
https://preview.aclanthology.org/ingestion-acl-25/2025.acl-long.875/
DOI:
Bibkey:
Cite (ACL):
Bashar Alhafni and Nizar Habash. 2025. Enhancing Text Editing for Grammatical Error Correction: Arabic as a Case Study. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 17892–17914, Vienna, Austria. Association for Computational Linguistics.
Cite (Informal):
Enhancing Text Editing for Grammatical Error Correction: Arabic as a Case Study (Alhafni & Habash, ACL 2025)
Copy Citation:
PDF:
https://preview.aclanthology.org/ingestion-acl-25/2025.acl-long.875.pdf