A Spelling Correction Corpus for Multiple Arabic Dialects
Summary
Arabic dialects are widely written online but have no official spelling, so a single word can be spelled in many ways. One Egyptian phrase was earlier documented with 27 variants. This makes data sparse, and it is especially harmful when dialect text is the output of a system, such as speech recognition or MT into a dialect, because evaluation becomes unreliable. The authors present the MADAR CODA Corpus: 10,000 sentences (2,000 per city) for Beirut, Cairo, Doha, Rabat and Tunis. Each sentence appears in its original Raw spelling and also rewritten in CODA, the Conventional Orthography for Dialectal Arabic, following the unified CODA* guidelines. The sentences come from the MADAR parallel corpus, so the same content is aligned across all five dialects. The authors describe a bootstrapping procedure that speeds up CODA annotation and report how it performs with different amounts of pre-existing resources. They also compare the dialects with each other in Raw and in CODA form. As expected, CODA shrinks each dialect's vocabulary and increases overlap between dialects. The corpus is public and supports research on dialectal spelling correction and normalization.
Key points
- The MADAR CODA Corpus has 10,000 sentences: 2,000 for each of Beirut, Cairo, Doha, Rabat and Tunis. All sentences are parallel across the cities and pair the Raw spelling with a CODA version.
- The source is the MADAR Corpus (Bouamor et al., 2018). It contains BTEC travel sentences translated into city dialects by local translators, who received no guidance on spelling.
- Annotation follows CODA* (Habash et al., 2018), which merges earlier dialect-specific CODAs and has been applied to more than two dozen dialects. CODA* uses shared principles for open-class words and specifies closed-class spellings in detail.
- The paper treats CODA annotation as the main task in its own right, not as a side step of morphological tagging or lemmatization. The authors call it spelling correction into CODA.
- CODA lowers vocabulary size within each dialect and raises lexical overlap across dialects. The resource is distributed via resources.camel-lab.com.
Interesting ideas
- I1. Variant spelling matters most when it appears on the output side, because the evaluation itself becomes noisy; a shared convention mapping the system output and the reference into one form makes scores meaningful. — For Mova (back): generated English could be normalized (contractions, British/American spelling, hyphenation) before comparison in text → graph → text round-trip tests, so the compressor is not penalized for harmless surface variation.
- I2. Annotation is bootstrapped: existing resources produce a first-pass normalization, humans correct it, and speed and accuracy are tracked for each resource setting. — For Mova (learn): silver data could be produced the same way, with each LLM teacher tier's pre-annotation logged as a separate condition, so we can measure how much each tier actually saves human review.
- I3. The value of a normalization is quantified by comparing varieties before and after it, measuring vocabulary size within each variety and overlap between them. — For Mova (tree): when converting treebanks between UD dialects, measuring label and lemma overlap before and after conversion would show whether the conversion really brings the dialects closer.
- I4. The orthography is split into general principles for open-class words plus curated, unified lists for closed-class words. — For Mova (tokens): normalizing informal English (gonna, wanna, y'all, lemme) could use general rules for content words plus a small, versioned, explainable exception list for function words.
- I5. A corpus that is parallel across varieties allows a controlled comparison, because content is held fixed and only the variety changes. — For Mova (learn): parallel paraphrase sets of one story in different registers could serve as negative controls, checking that the extracted frames and world state stay identical when only surface form changes.
Cited by
- Advancements in Arabic Grammatical Error Detection and Correction: An Empirical Investigation
- TArC: Tunisian Arabish Corpus, First complete release
- Wiktionary Normalization of Translations and Morphological Information
- Morphological Analysis and Disambiguation for Gulf Arabic: The Interplay between Resources and Methods
- CAMeL Tools: An Open Source Python Toolkit for Arabic Natural Language Processing
- Normalized Orthography for Tunisian Arabic
Cite
@inproceedings{eryani2020spelling,
title = {{A Spelling Correction Corpus for Multiple Arabic Dialects}},
author = {Eryani, Fadhl and Habash, Nizar and Bouamor, Houda and Khalifa, Salam},
booktitle = {Proceedings of the Twelfth Language Resources and Evaluation Conference},
year = {2020},
url = {https://aclanthology.org/2020.lrec-1.508/}
}References
- Abdul-Mageed, M., Alhuzali, H., and Elaraby, M. (2018). You tweet what you speak: A city-level dataset of Arabic dialects. In Proceedings of the Language Resources and Evaluation Conference (LREC), Miyazaki, Japan. find
- Abu-Melhim, A.-R. (1991). Code-switching and linguistic accommodation in Arabic. In Proceedings of the Annual Symposium on Arabic Linguistics, volume 80, pages 231–250. find
- Al-Badrashiny, M. and Diab, M. (2016). LILI: A simple language independent approach for language identification. In Proceedings of the International Conference on Computational Linguistics (COLING), Osaka, Japan. find
- Al-Badrashiny, M., Eskander, R., Habash, N., and Rambow, O. (2014). Automatic transliteration of romanized Dialectal Arabic. In Proceedings of the Conference on Computational Natural Language Learning (CoNLL), pages 30–38, Ann Arbor, Michigan. find
- Al-Shargi, F., Kaplan, A., Eskander, R., Habash, N., and Rambow, O. (2016). Morphologically Annotated Corpus and a Morphological Analyzer for Moroccan and San’ani Yemeni Arabic. In Proceedings of the Language Resources and Evaluation Conference (LREC), Portorož, Slovenia. find
- Ali, A., Mubarak, H., and Vogel, S. (2014). Advances in dialectal Arabic speech recognition: A study using twitter to improve egyptian asr. In Proceedings of the International Workshop on Spoken Language Translation (IWSLT). find
- Ali, A., Khalifa, S., and Habash, N. (2019). Towards Variability Resistant Dialectal Speech Evaluation. In Proc. Interspeech 2019, pages 336–340. find
- Ali, A. M. A. M. (2018). Multi-dialect Arabic broadcast speech recognition. Ph.D. thesis, The University of Edinburgh. find
- Attia, M., Pecina, P., Samih, Y., Shaalan, K., and Van Genabith, J. (2016). Arabic spelling error detection and correction. Natural Language Engineering, 22(5):751–773. find
- Bassiouney, R. (2009). Arabic Sociolinguistics: Topics in Diglossia, Gender, Identity, and Politics. Georgetown University Press. find
- Bouamor, H., Habash, N., Salameh, M., Zaghouani, W., Rambow, O., Abdulrahim, D., Obeid, O., Khalifa, S., Eryani, F., Erdmann, A., and Oflazer, K. (2018). The MADAR Arabic Dialect Corpus and Lexicon. In Proceedings of the Language Resources and Evaluation Conference (LREC), Miyazaki, Japan. find
- Bouamor, H., Hassan, S., and Habash, N. (2019). The MADAR Shared Task on Arabic Fine-Grained Dialect Identification. In Proceedings of the Fourth Arabic Natural Language Processing Workshop (WANLP19), Florence, Italy. find our card
- Cotterell, R. and Callison-Burch, C. (2014). A Multi-Dialect, Multi-Genre Corpus of Informal Written Arabic. In Proceedings of the Language Resources and Evaluation Conference (LREC), pages 241–245, Reykjavik, Iceland. find
- Diab, M. T., Al-Badrashiny, M., Aminian, M., Attia, M., Elfardy, H., Habash, N., Hawwari, A., Salloum, W., Dasigi, P., and Eskander, R. (2014). Tharwa: A Large Scale Dialectal Arabic-Standard Arabic-English Lexicon. In Proceedings of the Language Resources and Evaluation Conference (LREC), pages 3782–3789, Reykjavik, Iceland. find
- Erdmann, A., Habash, N., Taji, D., and Bouamor, H. (2017). Low Resourced Machine Translation via Morpho-syntactic Modeling: The Case of Dialectal Arabic. In Proceedings of the Machine Translation Summit (MT Summit). find
- Eskander, R., Habash, N., Rambow, O., and Tomeh, N. (2013). Processing spontaneous orthography. In Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics (NAACL), pages 585–595, Atlanta, Georgia. find
- Habash, N., Soudi, A., and Buckwalter, T. (2007). On Arabic Transliteration. In A. van den Bosch et al., editors, Arabic Computational Morphology: Knowledge-based and Empirical Methods, pages 15–22. Springer, Netherlands. find
- Habash, N., Diab, M., and Rambow, O. (2012). Conventional Orthography for Dialectal Arabic. In Proceedings of the Language Resources and Evaluation Conference (LREC), pages 711–718, Istanbul, Turkey. find our card
- Habash, N., Eryani, F., Khalifa, S., Rambow, O., Abdulrahim, D., Erdmann, A., Faraj, R., Zaghouani, W., Bouamor, H., Zalmout, N., Hassan, S., shargi, F. A., Alkhereyf, S., Abdulkareem, B., Eskander, R., Salameh, M., and Saddiki, H. (2018). Unified guidelines and resources for Arabic dialect orthography. In Proceedings of the Language Resources and Evaluation Conference (LREC), Miyazaki, Japan. find our card
- Habash, N. Y. (2010). Introduction to Arabic natural language processing, volume 3. Morgan & Claypool Publishers. find
- Jarrar, M., Habash, N., Akra, D., and Zalmout, N. (2014). Building a Corpus for Palestinian Arabic: A Preliminary Study. In Proceedings of the Workshop for Arabic Natural Language Processing (WANLP), pages 18–27, Doha, Qatar. find
- Jeblee, S., Feely, W., Bouamor, H., Lavie, A., Habash, N., and Oflazer, K. (2014). Domain and dialect adaptation for machine translation into egyptian Arabic. In Proceedings of the Workshop for Arabic Natural Language Processing (WANLP), pages 196–206, Doha, Qatar. find
- Khalifa, S., Habash, N., Abdulrahim, D., and Hassan, S. (2016). A Large Scale Corpus of Gulf Arabic. In Proceedings of the Language Resources and Evaluation Conference (LREC), Portorož, Slovenia. find
- Khalifa, S., Habash, N., Eryani, F., Obeid, O., Abdulrahim, D., and Kaabi, M. A. (2018). A morphologically annotated corpus of emirati Arabic. In Proceedings of the Language Resources and Evaluation Conference (LREC), Miyazaki, Japan. find
- Maamouri, M., Bies, A., Kulick, S., Ciul, M., Habash, N., and Eskander, R. (2014). Developing an Egyptian Arabic Treebank: Impact of Dialectal Morphology on Annotation and Tool Development. In Proceedings of the Language Resources and Evaluation Conference (LREC), Reykjavik, Iceland. find
- McNeil, K. and Faiza, M. (2011). Tunisian Arabic Corpus : Creating a Written Corpus of an "Unwritten" Language. In Proceedings of the Workshop on Arabic Corpus Linguistics (WACL). find
- Mohit, B., Rozovskaya, A., Habash, N., Zaghouani, W., and Obeid, O. (2014). The first QALB shared task on automatic text correction for Arabic. In Proceedings of the Workshop for Arabic Natural Language Processing (WANLP), pages 39–47, Doha, Qatar. find
- Pasha, A., Al-Badrashiny, M., Diab, M., Kholy, A. E., Eskander, R., Habash, N., Pooleery, M., Rambow, O., and Roth, R. (2014). Madamira: A fast, comprehensive tool for morphological analysis and disambiguation of Arabic. In Proceedings of the Language Resources and Evaluation Conference (LREC), pages 1094–1101, Reykjavik, Iceland. find our card
- Rozovskaya, A., Bouamor, H., Habash, N., Zaghouani, W., Obeid, O., and Mohit, B. (2015). The second QALB shared task on automatic text correction for arabic. In Proceedings of the Workshop for Arabic Natural Language Processing (WANLP), pages 26–35, Beijing, China. find
- Saadane, H. and Habash, N. (2015). A Conventional Orthography for Algerian Arabic. In Proceedings of the Workshop for Arabic Natural Language Processing (WANLP), page 69, Beijing, China. find
- Salama, A., Bouamor, H., Mohit, B., and Oflazer, K. (2014). YouDACC: the Youtube Dialectal Arabic Comment Corpus. In Proceedings of the Language Resources and Evaluation Conference (LREC), pages 1246–1251, Reykjavik, Iceland. find
- Shoufan, A. and Al-Ameri, S. (2015). Natural language processing for dialectical Arabic: A survey. In Proceedings of the Workshop for Arabic Natural Language Processing (WANLP), page 36, Beijing, China. find
- Takezawa, T., Kikui, G., Mizushima, M., and Sumita, E. (2007). Multilingual Spoken Language Corpus Development for Communication Research. Computational Linguistics and Chinese Language Processing, 12(3):303– 324. find
- Watson, D., Zalmout, N., and Habash, N. (2018). Utilizing character and word embeddings for text normalization with sequence-to-sequence models. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 837–843. find
- Watson, J. C. (2007). The Phonology and Morphology of Arabic. Oxford University Press. find
- Zaghouani, W. and Charfi, A. (2018). ArapTweet: A Large Multi-Dialect Twitter Corpus for Gender, Age and Language Variety Identification. In Proceedings of the Language Resources and Evaluation Conference (LREC), Miyazaki, Japan. find
- Zaghouani, W., Mohit, B., Habash, N., Obeid, O., Tomeh, N., Rozovskaya, A., Farra, N., Alkuhlani, S., and Oflazer, K. (2014). Large Scale Arabic Error Annotation: Guidelines and Framework. In Proceedings of the Language Resources and Evaluation Conference (LREC), Reykjavik, Iceland. find our card
- Zaidan, O. F. and Callison-Burch, C. (2011). The Arabic Online Commentary Dataset: an Annotated Dataset of Informal Arabic With High Dialectal Content. In Proceedings of the Conference of the Association for Computational Linguistics (ACL), pages 37–41. find our card
- Marcos Zampieri, et al., editors. (2019). Proceedings of the Sixth Workshop on NLP for Similar Languages, Varieties and Dialects, TOBEFILLED-Ann Arbor, Michigan, June. Association for Computational Linguistics. find
- Zbib, R., Malchiodi, E., Devlin, J., Stallard, D., Matsoukas, S., Schwartz, R., Makhoul, J., Zaidan, O. F., and Callison-Burch, C. (2012). Machine Translation of Arabic Dialects. In Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics (NAACL), pages 49–59, Montréal, Canada. find our card
- Zribi, I., Boujelbane, R., Masmoudi, A., Ellouze, M., Belguith, L., and Habash, N. (2014). A conventional orthography for Tunisian Arabic. In Proceedings of the Language Resources and Evaluation Conference (LREC), Reykjavik, Iceland. find
This page in Markdown → https://md.research.elamur.ai/free/en/papers/eryani-2020-spelling-correction-corpus-multiple-arabic/