Mahmoud Reda

Author directory

2026

Arabic morphology remains challenging for large language models, since fluent generation does not guarantee accurate morphosyntactic control. Existing Arabic evaluations mainly target downstream tasks and do not directly test controlled morphological generation from explicit lexical and feature-based input. We introduce YallaMorph, a large-scale benchmark for Arabic morphological generation covering verbs, nouns, adjectives, their cliticized forms, and invalid configurations. We evaluate multilingual and Arabic-oriented LLMs under diacritized and undiacritized settings over 600K benchmark entries. Results show that Arabic morphological generation remains difficult, especially for cliticized, unseen, and morphologically rare forms.
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.

2025

2024

Arabic diacritic recovery i.e. diacritization is necessary for proper vocalization and an enabler for downstream applications such as language learning and text to speech. Diacritics come in two varieties, namely: core-word diacritics and case endings. In this paper we introduce a highly effective morphologically informed character-level model that can recover both types of diacritics simultaneously. The model uses a Recurrent Neural Network (RNN) based architecture that takes in text as a sequence of characters, with markers for morphological segmentation, and outputs a sequence of diacritics. We also introduce a character-based morphological segmentation model that we train for Modern Standard Arabic (MSA) and dialectal Arabic. We demonstrate the efficacy of our diacritization model on Classical Arabic, MSA, and two dialectal (Moroccan and Tunisian) texts. We achieve the lowest reported word-level diacritization error rate for MSA (3.4%), match the best results for Classical Arabic (5.4%), and report competitive results for dialectal Arabic.