Elamur Research⌕
☰
home / papers / 2015 / QCRI@QALB-2015 Shared Task: Correction of Arabic Text for Native and Non-Native Speakers' Errors

QCRI@QALB-2015 Shared Task: Correction of Arabic Text for Native and Non-Native Speakers' Errors

Paper · 2015 · Hamdy Mubarak, Kareem Darwish and Ahmed Abdelali

Summary

The authors present the system QCRI entered in QALB-2015, a shared competition on automatically fixing errors in written Arabic. The task had two tracks: comments by native speakers on Aljazeera articles (L1) and essays by learners of Arabic (L2). The system does not use one general model. It runs an ordered cascade of handlers, each aimed at a known error type. These cover dialectal substitutions, letter normalization problems (alef forms, ta marbouta/ha, ya/alef maqsoura), elongated letters, wrongly split or merged words, and out-of-vocabulary words. A word bigram language model built from roughly ten years of Aljazeera news makes every contextual decision. The team also mined a correction dictionary from earlier QALB data. For L2 text they added candidate fixes for definiteness and gender-number agreement. Punctuation was mostly left alone because earlier attempts had given mixed results. The L1 run combined high precision with moderate recall, while the L2 runs scored much lower. This shows that learner errors, which often produce valid but wrong words, are harder for a context-light approach.

Key points

  • The LM is a word bigram model trained on 234,638 Aljazeera articles. It was consulted before every correction step.
  • The team extracted 221,460 errors from QALB-2014 and the QALB-2015 training split.
    • 10,255 of them became deterministic fixes: one observed correction, seen at least twice.
    • 2,076 words with a dominant (≥60%) correction were manually reviewed to build alternative lists.
    • 297 extra deterministic fixes were added for L2.
  • A reverse look-up table with 905k normalized entries maps each normalized form to the surface spellings seen in the Aljazeera corpus. The LM then picks among them in context.
  • There were three runs: QCRI-1-ALJ (L1), and QCRI-1-L2 and QCRI-2-L2 (L2).
    • L1 precision was about 84–85, with F1 in the 60s.
    • L2 F1 stayed around 25–28, with recall near or below 20.
    • On the QALB-2014 sets, the new system reached F1 64.17 (dev) and 63.81 (test).
  • The authors' L2 error analysis found three main error families: definiteness in idafa constructs, gender-number agreement, and preposition choice. Learners also confused letters that sound alike or differ only in their dots.

Interesting ideas

  • I1. The correction dictionary was mined with a consistency filter. Unambiguous, repeated fixes are applied without further checks, mostly-consistent ones get a manual review, and the rest are dropped. This keeps precision high without much labelling.
  • I2. Instead of guessing how to restore a normalized word, the system indexes every attested spelling under its normalized key and lets context choose. Candidate generation stays restricted to forms that actually occur in the corpus.
  • I3. Whether to split or merge a token is decided by comparing contextual LM scores of both versions. Candidate split points are limited to linguistically plausible positions, such as after non-connecting letters in words of five or more letters.
  • I4. For learners' grammatical errors, the system generates morphological variants and lets the model pick the most probable one, without explicitly diagnosing the agreement error. The variants are with and without the article, and with and without the feminine marker.
  • I5. The system is an ordered pipeline of narrow, named handlers, each tied to one error type. Every change can be attributed to a specific rule. The team also deliberately skipped a subtask (punctuation) where earlier evidence showed little gain.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (tokens): Normalization of typos and informal spellings could be built the same way from logged corrections. Only high-agreement mappings would be auto-applied, and each one stays traceable to its evidence count.
  • I2 (tokens): The lemmatizer or spelling restorer could produce candidates only from attested surface forms per normalized key. The choice would then be explainable as "these forms exist, this one fits the context."
  • I3 (tokens): Hyphenation, compounds and glued words (e.g., "alot", "can not") could be handled by scoring both segmentations in context. Splits would only be tried at a small set of rule-licensed points.
  • I4 (back): After generation, the system could enumerate agreement and determiner variants of each noun phrase and select by score. This would serve as a cheap, explainable agreement check before text is emitted.
  • I5 (learn): Self-induced repair rules could be organized as an ordered, per-type cascade with logged firings. Rule families could be kept or dropped based on measured gains against held-out data.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

Cite

Cite as Hamdy Mubarak, Kareem Darwish and Ahmed Abdelali. 2015. QCRI@QALB-2015 Shared Task: Correction of Arabic Text for Native and Non-Native Speakers' Errors. Proceedings of the Second Workshop on Arabic Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/w15-3218

@inproceedings{mubarak2015qcri,
  title = {{QCRI@QALB-2015 Shared Task: Correction of Arabic Text for Native and Non-Native Speakers' Errors}},
  author = {Hamdy Mubarak, Kareem Darwish and Ahmed Abdelali},
  booktitle = {Proceedings of the Second Workshop on Arabic Natural Language Processing},
  year = {2015},
  doi = {10.18653/v1/w15-3218},
  url = {https://doi.org/10.18653/v1/w15-3218}
}

References

13 references, 4 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Kareem Darwish, Walid Magdy, and Ahmed Mourad. 2012. Language processing for arabic microblog retrieval. In Proceedings of the 21st ACM international conference on Information and knowledge management, pages 2427–2430. ACM. find
  2. Kareem Darwish, Ahmed M. Ali, and Ahmed Abdelali. 2014. Query term expansion by automatic learning of morphological equivalence patterns from wikipedia. In SIGIR 2014 Workshop on Semantic Matching in Information Retrieval (SMIR), volume 1204, pages 24–29. CEUR-WS. find
  3. Nadir Durrani, Hassan Sajjad, Hieu Hoang, and Philipp Koehn. 2014. Integrating an unsupervised translit-Run Alj-dev-2014 Alj-test-2014 R 62.96 61.94 F1 64.17 63.81 P 65.42 65.79 find
  4. Table 6: Results for QALB 2014 Data Sets eration model into statistical machine translation. In Proceedings of the 14th Conference of the European Chapter of the Association for Computational Linguistics, volume 2: Short Papers, pages 148–153, Gothenburg, Sweden, April. Association for Computational Linguistics. find
  5. Nizar Habash, Behrang Mohit, Ossama Obeid, Kemal Oflazer, Nadi Tomeh, and Wajdi Zaghouani. 2013. Qalb: Qatar arabic language bank. In Proceedings of Qatar Annual Research Conference (ARC-2013), Doha, Qatar. find
  6. Behrang Mohit, Alla Rozovskaya, Nizar Habash, Wajdi Zaghouani, and Ossama Obeid. 2014. The First QALB Shared Task on Automatic Text Correction for Arabic. In Proceedings of EMNLP Workshop on Arabic Natural Language Processing, Doha, Qatar, October.
  7. Mohammed Moussa, Mohamed Waleed Fakhr, and Kareem Darwish. 2012. Statistical denormalization for arabic text. In In Empirical Methods in Natural Language Processing. find
  8. Hamdy Mubarak and Kareem Darwish. 2014. Automatic correction of arabic text: a cascaded approach.
  9. Arabic NLP 2014 Workshop. find
  10. Hamdy Mubarak, Mostafa Ramadan, and Ahmed Met-wali. 2010. Spelling mistakes in arabic newspapers. In Arabic Language and Scientific Researches conference, Faculty of Arts, Ain Shams University, Cairo, Egypt. find
  11. Hassan Sajjad, Alexander Fraser, and Helmut Schmid. 2012. A statistical model for unsupervised and semi-supervised transliteration mining. In Proceedings of the Association for Computational Linguistics, ACL ’12, pages 469–477, Jeju, Korea. find
  12. Wajdi Zaghouani, Behrang Mohit, Nizar Habash, Ossama Obeid, Nadi Tomeh, Alla Rozovskaya, Noura Farra, Sarah Alkuhlani, and Kemal Oflazer. 2014. Large scale arabic error annotation: Guidelines and framework. In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC’14), Reykjavik, Iceland, May. ↗
  13. Wajdi Zaghouani, Nizar Habash, Houda Bouamor, Alla Rozovskaya, Behrang Mohit, Abeer Heider, and Kemal Oflazer. 2015. Correction annotation for non-native arabic texts: Guidelines and corpus. In Proceedings of The 9th Linguistic Annotation Workshop, pages 129–139, Denver, Colorado, USA, June. Association for Computational Linguistics.

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/mubarak-2015-qcri-qalb-2015-shared-task/