Beyond Cairo: Sa'idi Egyptian Arabic Literary Corpus Construction and Analysis
Paper · 2025 · Mai Mohamed Eida and Nizar Habash
Summary
Egyptian Arabic NLP has been built almost entirely around the Cairo variety. Sa'idi Egyptian Arabic (SEA), spoken by tens of millions in Upper Egypt, has no released text resources. Its speakers tend to suppress stigmatized dialect markers when writing online, so tweets are a poor source. The authors turn to literature, where writers use the dialect deliberately. They built an open SEA corpus of about 4.5 million words:
- Novels from a self-publishing web forum's "Sa'idi" genre, with character dialogue isolated using punctuation markers.
- OCR-digitized and hand-corrected poetry by two Sa'idi poets.
A manual check of sampled text against two older dialectal surveys confirmed that marked SEA phonological and morphological features occur in the corpus. The authors also normalized a portion of the corpus with the CODA* orthography conventions. They then tested how well an existing Egyptian morphological pipeline handles SEA, reaching 81% overall accuracy. The resource extends CODA* to SEA and gives a baseline for building future SEA analyzers.
Key points
- Novels: 58 novels by 26 female authors aged 17–40, totalling 4,541,835 words. Roughly 1.42M of these words come from dialogue. Only 4 authors report living in Sa'idi cities.
- Poetry: 355 poems (27,170 words) by Hisham Algakh and Abdel Rahman el-Abnudi, digitized by OCR and corrected by hand.
- Feature validation: a randomized 16,000-word sample was checked against the surveys of Behnstedt and Woidich (1985) and Khalafallah (1969).
- CODA* normalization: 15,000 words were annotated, and 74.7% of them needed no change. Comparable figures are 86.54% for Palestinian and 78.1% for Emirati Arabic.
- Morphological analysis: 4,000 sentences were processed with the CALIMA analyzer plus the BERT-Disambiguator via CamelTools.
- Overall accuracy was 81%, and 16% of words were OOV, with glosses as the main error source.
- The SEA-specific future clitic received no analysis at all.
- The release on GitHub (SaidiCorpus2025) contains partial texts with sentences shuffled to respect copyright.
Interesting ideas
- I1. Corpus representativeness is checked by looking for diagnostic features taken from independent reference descriptions, rather than trusting the source label; this is a cheap audit of whether data really reflects the target variety.
- I2. Dialogue is separated from narration using each author's consistent punctuation conventions, and documents lacking a clear boundary are dropped instead of guessed at.
- I3. Text is normalized into a conventional orthography before analysis, while the rate of modified words is reported as a measure of how far the input is from the standard.
- I4. Analyzer errors are split into true OOV cases versus cases where the right reading existed but the disambiguator ranked another first. This separates lexicon gaps from context-model failures.
- I5. A tool built for a closely related variety is reused to pre-annotate new data, with humans correcting it, turning a missing resource into a semi-automatic annotation task.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (learn): build checklists of diagnostic constructions per genre (e.g., fables, word problems) and verify that silver training sets actually contain them before trusting coverage.
- I2 (frames): a per-document detector of quote/dialogue markers could assign utterances to speakers, giving cleaner input for speech-act and who-said-what frames.
- I3 (tokens): add an explicit, logged spelling-normalization layer for informal English and report the share of tokens changed as an input-difficulty signal.
- I4 (tokens): keep the full candidate list from the morphology/tagger and log "correct but not chosen" separately, so fixes target the lexicon or the ranker appropriately.
- I5 (learn): bootstrap annotations for new English registers (old fables, dialect-heavy dialogue) from the existing parser, then measure and repair systematic misses as repair rules.
Institutions
Fields, topics and concepts
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 16,667 worksArtificial Intelligence · 16,194 worksArts and Humanities · 16,039 worksLanguage and Linguistics · 15,891 works
🧭 Topics 1Research subjects and languages the work is about.Semitic languages · 2,908 works
Cite
Cite as Mai Mohamed Eida and Nizar Habash. 2025. Beyond Cairo: Sa'idi Egyptian Arabic Literary Corpus Construction and Analysis. Proceedings of the 5th International Conference on Natural Language Processing for Digital Humanities.
@inproceedings{eida2025beyond,
title = {{Beyond Cairo: Sa'idi Egyptian Arabic Literary Corpus Construction and Analysis}},
author = {Mai Mohamed Eida and Nizar Habash},
booktitle = {Proceedings of the 5th International Conference on Natural Language Processing for Digital Humanities},
year = {2025},
doi = {10.18653/v1/2025.nlp4dh-1.26},
url = {https://doi.org/10.18653/v1/2025.nlp4dh-1.26}
}References
- Muhammad Abdul-Mageed, Chiyu Zhang, Houda Bouamor, and Nizar Habash. 2020a. NADI 2020: The first nuanced Arabic dialect identification shared task. In Proceedings of the Fifth Arabic Natural Language Processing Workshop, pages 97–110, Barcelona, Spain (Online). Association for Computational Linguistics. ↗
- Muhammad Abdul-Mageed, Chiyu Zhang, AbdelRahim Elmadany, Houda Bouamor, and Nizar Habash. 2021. NADI 2021: The second nuanced Arabic dialect identification shared task. In Proceedings of the Sixth Arabic Natural Language Processing Workshop, pages 244–259, Kyiv, Ukraine (Virtual). Association for Computational Linguistics. ↗
- Muhammad Abdul-Mageed, Chiyu Zhang, AbdelRahim Elmadany, and Lyle Ungar. 2020b. Toward micro-dialect identification in diaglossic and code-switched environments. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 5855–5876, Online. Association for Computational Linguistics. find
- El-Said Badawi. 1973. Mustawayat al-Arabiyah al-muasirah fı̄ Misr : bahth fi alaqat al-lughah bi-al-hadarah. Dār al-Mārif, Cairo. find
- Reem Bassiouney. 2014. Language and identity in modern Egypt. Edinburgh University Press. ↗
- Reem Bassiouney. 2017. Identity and dialect performance: A study of communities and dialects. Routledge. find
- Reem Bassiouney. 2018. Constructing the stereotype: Indexes and performance of a stigmatised local dialect in Egypt. Multilingua, 37(3):225–253. ↗
- Peter Behnstedt and Manfred Woidich. 1985. Die ägyptisch-Arabischen dialekte. Tübinger Atlas des Vorderen Orients/Beihefte/B, 50. find
- Wilson B Bishai. 1962. Coptic grammatical influence on Egyptian Arabic. Journal of the American Oriental Society, 82(3):285–289. ↗
- Houda Bouamor, Nizar Habash, Mohammad Salameh, Wajdi Zaghouani, Owen Rambow, Dana Abdulrahim, Ossama Obeid, Salam Khalifa, Fadhl Eryani, Alexander Erdmann, et al. 2018. The MADAR Arabic dialect corpus and lexicon. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018). find
- Kristen Brustad. 2017. Diglossia as ideology. In The Politics of Written Language in the Arab World, pages 41–67. Brill. ↗
- Urszula Clark. 2019. Staging language: Place and identity in the enactment, performance and representation of regional dialects, pages 1–22. De Gruyter Mouton, Berlin, Boston. find
- Jonathan Dunn. 2020. Mapping languages: The corpus of global language use. Language Resources and Evaluation, 54(4):999–1018. ↗
- Mai M. Eida, Mayar Nassar, and Jonathan Dunn. 2024. How well do tweets represent sub-dialects of Egyptian Arabic? In Proceedings of the Eleventh Workshop on NLP for Similar Languages, Varieties and Dialects.
- Amany Fashwan and Sameh Alansary. 2021. A morphologically annotated corpus and a morphological analyzer for egyptian Arabic. Procedia Computer Science, 189:203–210. find
- Hassan Gadalla, Hanaa Kilany, Howaida Arram, Ashraf Yacoub, Alaa El-Habashi, Amr Shalaby, Krisjanis Karins, Everett Rowson, Robert MacIntyre, Paul Kingsbury, David Graff, and Cynthia McLemore. 1997. CALLHOME Egyptian Arabic transcripts LDC97T19. Web Download. Philadelphia: Linguistic Data Consortium. find
- Nizar Habash, Mona Diab, and Owen Rambow. 2012a. Conventional Orthography for Dialectal Arabic. In Proceedings of the Language Resources and Evaluation Conference (LREC), pages 711–718, Istanbul, Turkey.
- Nizar Habash, Fadhl Eryani, Salam Khalifa, Owen Rambow, Dana Abdulrahim, Alexander Erdmann, Reem Faraj, Wajdi Zaghouani, Houda Bouamor, Nasser Zalmout, et al. 2018. Unified guidelines and resources for Arabic dialect orthography. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018).
- Nizar Habash, Ramy Eskander, and Abdelati Hawwari. 2012b. A Morphological Analyzer for Egyptian Arabic. In Proceedings of the Workshop of the Special Interest Group on Computational Morphology and Phonology (SIGMORPHON), pages 1–9, Montréal, Canada.
- Nizar Habash, Reham Marzouk, Christian Khairallah, and Salam Khalifa. 2022. Morphotactic modeling in an open-source multi-dialectal Arabic morphological analyzer and generator. In Proceedings of the 19th SIGMORPHON Workshop on Computational Research in Phonetics, Phonology, and Morphology, pages 92–102. ↗
- Nizar Habash, Abdelhadi Soudi, and Timothy Buckwalter. 2007. On Arabic transliteration. Arabic Computational Morphology: Knowledge-based and Empirical Methods, pages 15–22. ↗
- Nizar Y Habash. 2010. Introduction to Arabic natural language processing, volume 3. Morgan & Claypool Publishers. find
- Eva Marie Håland. 2017. Adab sākhir (satirical literature) and the use of egyptian vernacular. In The politics of written language in the Arab world, pages 142–165. Brill. ↗
- Salima Harrat, Karima Meftouh, and Kamel Smaïli. 2017. Machine translation for Arabic dialects (survey). Information Processing & Management. ↗
- Jacob Høigilt and Gunvor Mejdell. 2017. The politics of written language in the Arab world: Writing change. Brill. ↗
- Go Inoue, Salam Khalifa, and Nizar Habash. 2022. Morphosyntactic tagging with pre-trained language models for Arabic and its dialects. In Findings of the Association for Computational Linguistics: ACL 2022, pages 1708–1719, Dublin, Ireland. Association for Computational Linguistics.
- Mustafa Jarrar, Nizar Habash, Faeq Alrimawi, Diyam Akra, and Nasser Zalmout. 2017. Curras: an annotated corpus for the Palestinian Arabic dialect. Language Resources and Evaluation, 51:745–775. ↗
- Serena Jeblee, Weston Feely, Houda Bouamor, Alon Lavie, Nizar Habash, and Kemal Oflazer. 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.
- Abdelghany A Khalafallah. 1969. A descriptive grammar of Saidi Egyptian colloquial Arabic, volume 32. Walter de Gruyter GmbH & Co KG. find
- Salam Khalifa, Nizar Habash, Dana Abdulrahim, and Sara Hassan. 2016. A large scale corpus of Gulf Arabic. In Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC’16), pages 4282–4289, Portorož, Slovenia. European Language Resources Association (ELRA).
- Salam Khalifa, Nizar Habash, Fadhl Eryani, Ossama Obeid, Dana Abdulrahim, and Meera Al Kaabi. 2018. A morphologically annotated corpus of emirati Arabic. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), Miyazaki, Japan. European Language Resources Association (ELRA).
- H. Kilany, H. Gadalla, H. Arram, A. Yacoub, A. El-Habashi, and C. McLemore. 2002. Egyptian Colloquial Arabic Lexicon. LDC catalog number LDC99L22. find
- Kristian Takvam Kindt and Tewodros Aragie Kebede. 2017. A language for the people?: Quantitative indicators of written darija and ammiyya in Cairo and Rabat. In The Politics of Written Language in the Arab World, pages 18–40. Brill. ↗
- Thomas Leddy-Cecere and Jason Schroepfer. 2019. Egyptian Arabic, pages 433–457. Routledge. find
- Edward Lipiński. 1997. Semitic languages: outline of a comparative grammar. Peeters Publishers. find
- Mohamed Maamouri, Ann Bies, Seth Kulick, Michael Ciul, Nizar Habash, and Ramy Eskander. 2014. Developing an Egyptian Arabic Treebank: Impact of dialectal morphology on annotation and tool development. In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC-2014). European Language Resources Association (ELRA). find
- Mohamed Maamouri and Christopher Cieri. 2002. Resources for Natural Language Processing at the Linguistic Data Consortium. In Proceedings of the International Symposium on Processing of Arabic, pages 125–146, Manouba, Tunisia. find
- Catherine Miller. 2003. Variation and change in Arabic urban vernaculars. In Approaches to Arabic Dialects, pages 177–206. Brill. ↗
- Tetsuo Nishio. 1994. The Arabic dialect of Qift (Upper Egypt): grammar and classified vocabulary, volume 27 of Asian & African Lexicon. Institution for the Study of Languages and Cultures of Asia and Africa. find
- Ossama Obeid, Nasser Zalmout, Salam Khalifa, Dima Taji, Mai Oudah, Bashar Alhafni, Go Inoue, Fadhl Eryani, Alexander Erdmann, and Nizar Habash. 2020. CAMeL tools: An open source python toolkit for Arabic natural language processing. In Proceedings of the Twelfth Language Resources and Evaluation Conference, pages 7022–7032.
- Dennis R Preston. 1993. Folk dialectology. American dialect research, pages 333–378. find
- Abdulhadi Shoufan and Sumaya Al-Ameri. 2015. Natural language processing for dialectical Arabic: A survey. In Proceedings of the Workshop for Arabic Natural Language Processing (WANLP), page 36, Beijing, China.
- Mary Soliman. 2007. Arabic Dialectology and the Influence of Coptic on Egyptian Arabic. Ph.D. thesis, Florida Atlantic University. find
- Ridouane Tachicart, Karim Bouzoubaa, Salima Harrat, and Kamel Smaïli. 2022. Morphological Analyzers of Arabic Dialects: A survey. Studies in Computational Intelligence, 1061. find
- World Bank. 2012. Young People in Upper Egypt. find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/eida-2025-beyond-cairo-sa-idi-egyptian/