Salman Elgamal
Author directory2026
MAQAM: A Richly Annotated Corpus for Quranic Arabic Morphological Analysis and Disambiguation
Mostafa Saeed | Mohammad Amjad | Mahmoud Kassem | Rawan Bondok | Mayar Nassar | Adel Mahmoud Wizani | Salman Elgamal | Mahmoud Reda | Nizar Habash
Proceedings of The Fourth Arabic Natural Language Processing Conference
Mostafa Saeed | Mohammad Amjad | Mahmoud Kassem | Rawan Bondok | Mayar Nassar | Adel Mahmoud Wizani | Salman Elgamal | Mahmoud Reda | Nizar Habash
Proceedings of The Fourth Arabic Natural Language Processing Conference
Quranic Arabic poses important challenges for Arabic NLP due to its distinctive morphology, syntax, and orthography. We present MAQAM, a richly annotated Morphosyntactic Arabic Quranic Analysis and Modeling resource covering the entire Quran, providing 22 lexical, inflectional, and clitic features for every word. The resource is constructed through a semi-automatic pipeline combining feature enrichment, morphological synchronization, and expert manual annotation and validation. We further evaluate Quranic morphosyntactic disambiguation under a realistic setting where the input may be represented in either the Uthmani or Imla’i script, and investigate cross-domain transfer between Quranic Arabic and MSA. Our results show that MSA and Quranic resources are complementary for Quranic disambiguation, with the best performance obtained by combining MSA training data, Quran-specific analyzers, and both script representations, whereas for MSA, only integrating Quranic resources provide modest gains. We make MAQAM publicly available.
2024
Arabic Diacritics in the Wild: Exploiting Opportunities for Improved Diacritization
Salman Elgamal | Ossama Obeid | Mhd Kabbani | Go Inoue | Nizar Habash
Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Salman Elgamal | Ossama Obeid | Mhd Kabbani | Go Inoue | Nizar Habash
Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
The widespread absence of diacritical marks in Arabic text poses a significant challenge for Arabic natural language processing (NLP). This paper explores instances of naturally occurring diacritics, referred to as “diacritics in the wild,” to unveil patterns and latent information across six diverse genres: news articles, novels, children’s books, poetry, political documents, and ChatGPT outputs. We present a new annotated dataset that maps real-world partially diacritized words to their maximal full diacritization in context. Additionally, we propose extensions to the analyze-and-disambiguate approach in Arabic NLP to leverage these diacritics, resulting in notable improvements. Our contributions encompass a thorough analysis, valuable datasets, and an extended diacritization algorithm. We release our code and datasets as open source.