Elamur Research

Bashar Alhafni

Bashar Alhafni works on natural language processing for Arabic. Their papers here examine how systems handle differences between Modern Standard Arabic and dialectal writing, how they identify the grammatical information packed into written words, and how they use that information to revise or evaluate text. The work includes building annotated corpora, developing software for Arabic analysis, and comparing systems on tasks with different linguistic demands. In educational applications, the questions range from how to locate a difficult word for a human editor to how to judge the proficiency shown in an essay.

Alhafni’s most cited papers here offer entry points into Arabic language processing and model evaluation. The 2020 paper on Arabic processing software brings support for Modern Standard Arabic and dialects into an open-source Python package. Its design addresses features that complicate automatic analysis, including unwritten vowel marks, extensive inflection, grammatical elements that attach to words, and variation in spelling. The 2021 study of pretrained Arabic language models examines how language variety, size, and the task used for evaluation interact. These approaches are set out in CAMeL Tools and The Interplay of Variant, Size, and Task Type.

The 2023 study of Arabic grammatical error detection and correction asks whether a system can revise a sentence more effectively when it has predictions about where the errors are and what kinds of errors they are. The authors align original and corrected text while allowing an edit to change word boundaries. They then use ARETA to classify the edits and use those labels to train a detector. Its predictions are supplied to a sentence correction model. The experiments with QALB and ZAEBUC examine how these diagnostics and information about word forms in context can support correction.

Another line of work asks how to adapt Arabic wording to the people in a conversation. In the 2022 paper, training with additional examples improved the rewriting system, and applying the system to Google Translate output improved translation scores across the speaker and listener settings studied. A companion study, The Arabic Parallel Gender Corpus 2.0, collects corresponding versions of Arabic text for different speakers and addressees and examines how translation handles those distinctions. The research includes a shared task for Modern Standard Arabic and a subsequent tool that applies speaker and listener preferences. The translation experiment is described in User-Centric Gender Rewriting.

In work on essay scoring, a 2025 study uses ZAEBUC to characterize proficiency levels by essay length, vocabulary diversity, syntactic depth, and the use of parts of speech. The authors generate essays for different levels and compare ways of introducing errors resembling those found in learner writing. One method uses a language model throughout. The other predicts the type of error at a word and selects the specific edit separately. Training an essay scorer on essays generated with the latter method improved on the baseline. The paper describes the procedure in Enhancing Arabic Automated Essay Scoring.

A related strand treats difficulty as a property that can be examined at the level of individual words. The 2022 work on readability visualization helps a human editor locate difficult words when simplifying a text. The 2024 study of readability modeling addresses automatic assessment for Modern Standard Arabic, and the BAREC shared task brings fine-grained readability assessment into a common evaluation setting. For simplification itself, the SAMER project pairs passages of Arabic fiction with manually simplified versions and uses a graded vocabulary to guide and check the rewrites. The resulting resource is described in The SAMER Arabic Text Simplification Corpus.

The 2026 papers extend the work on learner language into bilingual evaluation and more detailed feedback. ZAEBUC* expands an Arabic–English university corpus with additional essays on prompts used in the earlier collection. The new essays receive spelling and grammar corrections, proficiency ratings, and annotations of individual words. The project also adds manually checked morphological annotations to existing speech transcriptions. Using collections drawn from a broadly comparable student population, researchers can study writing correction, essay scoring, morphological tagging, and speech recognition through A Bilingual Bimodal Benchmark for Arabic-English NLP.

ArabiGEE takes up a different question about feedback for learners. Its taxonomy moves from a broad category, such as spelling, word form, sentence structure, or word choice, to an edit pattern and a specific explanation with wording prepared for learners. The scheme can represent multiple errors within a word and allow more than one reason for a correction. That structure gives evaluators a way to check whether a system accounted for each error and chose the corresponding reasons. The categories and their application are described in ArabiGEE.

A further 2026 study examines how well instruction-following language models can supply precise grammatical analyses of Arabic. It tests whether examples retrieved for the task help systems assign features such as grammatical category, inflection, and attached elements, and identify syntactic relationships between tokens. The experiments distinguish text with token boundaries already supplied from ordinary text that still requires segmentation. They also test whether giving the parser predicted word-level features helps it recover sentence structure. Specialized parsers remain competitive in the comparisons reported in Arabic Morphosyntactic Tagging and Dependency Parsing.

Other recent papers here examine what happens when conventional cues to word or sentence structure vary. The study of Arabic diacritics asks how vowel marks and related signs affect tokenization and benchmark performance. ARASEG provides material from different genres for evaluating sentence segmentation under different punctuation conditions. A study of Arabic–Hebrew vocabulary uses checked pairs of cognates, deceptively similar words, and loanwords to evaluate how language models interpret cross-language similarities. Work on Arabic authorship attribution and style transfer brings human judgments of style into the evaluation of systems that identify and reproduce an author’s style.

Alhafni’s most frequent collaborator among the papers here is Nizar Habash. Other recurring co-authors include Go Inoue, Houda Bouamor, Ossama Obeid, and Chatrine Qwaider. The collaboration with Inoue includes studies of Arabic pretraining and the effects of diacritics. The work with Qwaider includes essay scoring and whether an essay addresses its prompt. Across these collaborations, recurring topics include Morphology, Grammatical error correction & learner language, and Evaluation & benchmarks.

24 papers in our library · 2020–2026

OpenAlex · h-index 7 · 48 works · 508 citations OpenAlex, 2026-10-14

 24 works in our library ·  Cited 601 times in our library · 2 more in our library without a page yet ·  Paper Stars ranking: #3011

The profile is the library's match of the name; two people with one name are not always told apart.

Elsewhere: Google Scholar · Semantic Scholar · dblp · ACL Anthology

 Affiliations

From the bylines of their papers (OpenAlex, 2026-10-14), ORCID and Wikidata; institutions on papers are matched by machine. 2 more institutions on single bylines are not listed.

 Fields, topics and concepts

Of its works in our library, with the number of works on each.

 Works by year

2020s

 Papers

The most cited first (OpenAlex and our library).

  1. The Interplay of Variant, Size, and Task Type in Arabic Pre-trained Language Models (2021 · 365 citations)
    Arabic has many BERT-style models, but they differ in data size, variant, tokenizer, vocabulary and training length.
  2. CAMeL Tools: An Open Source Python Toolkit for Arabic Natural Language Processing (2020 · 290 citations)
    Arabic NLP resources are fragmented. Existing tools usually target a single variety, most often MSA and occasionally Egyptian. They are also written in different programming languages, expose different interfaces and data formats, and come under different licensing terms, so combining them in one application is hard.…
  3. Advancements in Arabic Grammatical Error Detection and Correction: An Empirical Investigation (2023 · 38 citations)
    The paper addresses grammatical error correction (GEC) and grammatical error detection (GED) in Arabic (MSA).
  4. The SAMER Arabic Text Simplification Corpus (2024 · 30 citations)
    Arabic, a morphologically rich language, has had no publicly released, manually built parallel corpus for text simplification.
  5. Arabic Word-level Readability Visualization for Assisted Text Simplification (2022 · 29 citations)
    Most readability tools score whole documents or sentences, so a human simplifier still has to find the specific words that need rewriting.
  6. User-Centric Gender Rewriting (2022 · 29 citations)
    The paper addresses how to tailor Arabic text to who is speaking and who is being addressed. In Arabic, words that refer to "I" or "you" often carry grammatical gender. A system that returns only one output therefore tends to assume a gender, usually masculine. The authors define gender rewriting : given a sentence…
  7. Strategies for Arabic Readability Modeling (2024 · 26 citations)
    The paper tackles automatic readability assessment for Modern Standard Arabic, which is hard because of rich morphology, orthographic ambiguity, and few resources.
  8. The Arabic Parallel Gender Corpus 2.0: Extensions and Analyses (2022 · 21 citations)
    NLP systems such as machine translation usually produce a single output with no knowledge of who is speaking or who is being addressed.
  9. BAREC Shared Task 2025 on Arabic Readability Assessment (2025 · 18 citations)
    This report covers the first shared task on fine-grained readability assessment for Arabic, held at ArabicNLP 2025.
  10. Enhancing Arabic Automated Essay Scoring with Synthetic Data and Error Injection (2025 · 13 citations)
    Arabic automated essay scoring (AES) has little annotated training data. The main resource, ZAEBUC, has only 216 CEFR-rated essays. These are concentrated at B1–B2, with none at A1 or C2. The authors build a synthetic dataset to fill this gap in three phases:
  11. Exploiting Dialect Identification in Automatic Dialectal Text Normalization (2024 · 12 citations)
    Written Dialectal Arabic has no standard spelling, so the same word can show up in many spontaneous forms.
  12. The User-Aware Arabic Gender Rewriter (2023 · 5 citations)
    Translation and other NLP tools usually return a single rendering of a sentence. In Arabic, nouns, adjectives and verbs carry grammatical gender, so such tools quietly choose genders for the speaker and the addressee, often along stereotyped lines such as a male doctor and a female nurse. The authors built a free web…
  13. Do Diacritics Matter? Evaluating the Impact of Arabic Diacritics on Tokenization and LLM Benchmarks (2026 · 4 citations)
    The paper asks how Arabic diacritics (vowel marks and related signs) change tokenization and the scores of large language models.
  14. The Shared Task on Gender Rewriting (2022 · 3 citations)
    This paper reports on a shared task, held at WANLP 2022, on gender rewriting for Modern Standard Arabic. The task takes a sentence and produces versions that fit each combination of speaker gender and listener gender. In Arabic, words that refer to the first or second person carry grammatical gender, so a system that…
  15. A Tale of Two Scripts: Transliteration and Post-Correction for Judeo-Arabic (2026 · 2 citations)
    Judeo-Arabic, the medieval Arabic of Jewish communities, was written in Hebrew letters. As a result, Arabic readers cannot use these texts, and Arabic NLP tools, which expect Arabic script, cannot process them. Converting the script is difficult for several reasons: letters map ambiguously, the use of the upper dot…
  16. A Bilingual Bimodal Benchmark for Arabic-English NLP across Grammatical Correction, Essay Scoring, Morphological Tagging, and Speech Recognition (2026 · 1 citation)
    The authors present ZAEBUC*, a single resource that brings together all previous corpora of the ZAEBUC project.
  17. Arabic Sentence Segmentation Across Genres and Punctuation Conditions (2026 · 1 citation)
    Arabic sentence boundaries are hard to find because punctuation is sparse, inconsistent or absent in many texts, and clauses are often joined by conjunctions such as wa- and fa-.
  18. ARWI: Arabic Write and Improve (2025 · 1 citation)
    Arabic has hundreds of millions of speakers, yet tools that help people write better Modern Standard Arabic (MSA) are scarce. Existing tools mostly fix frequent spelling slips and do not assess overall writing quality. ARWI is a free web-based writing assistant built to close this gap. It combines several parts:
  19. Evaluating Prompt Relevance in Arabic Automatic Essay Scoring: Insights from Synthetic and Real-World Data (2025 · 1 citation)
    The paper tackles a question Arabic essay scoring had not modelled explicitly: does a student's essay actually address the prompt it was written for? The authors treat this as binary on-topic/off-topic classification.
  20. Arabic Morphosyntactic Tagging and Dependency Parsing with Large Language Models (2026)
    The authors test whether instruction-tuned large language models can produce explicit Arabic grammatical analysis: 14 morphological features per token (part of speech, aspect, mood, voice, person, gender, number, case, state, four proclitics and one enclitic), and labelled CATiB dependency trees.
  21. ArabiGEE: A Hierarchical Taxonomy for Arabic Grammatical Error Explanation (2026)
    Explanations of Arabic grammar errors have so far been produced as free text. That makes them hard to score automatically, and older Arabic error taxonomies such as ALC are too flat to support them. The authors present ArabiGEE, a hand-built hierarchy for Arabic grammatical error explanation (GEE) that is organized…
  22. Benchmarking Arabic Authorship Attribution and Style Transfer with Large Language Models (2026)
    The paper tackles two understudied problems for Arabic: identifying who wrote a text (authorship attribution, AA) and rewriting text in a given author's style (authorship style transfer).
  23. Opportunities and Challenges of LLMs in Education: An NLP Perspective (2026)
    This position-and-survey paper looks at how large language models are changing educational NLP. Earlier overviews were mostly aimed at education-technology readers or covered only narrow areas such as writing assessment. The authors instead write for NLP researchers and tie recent LLM work back to older lines of NLP…
  24. When Similar Means Different: Evaluating LLMs on Arabic–Hebrew Cognates (2026)
    Arabic and Hebrew share many words with similar spellings. Some are true cognates with the same meaning, some are false friends with different meanings, and some are loanwords from a third language. The authors build SemCog Bench: 1,858 validated word pairs (858 true cognates, 364 false friends, 636 loanwords)…

All works

28 works of theirs in our library, the most cited first; 26 with a page here, the others link their original until we summarise them.

  1. The Interplay of Variant, Size, and Task Type in Arabic Pre-trained Language ModelsarXiv:2103.06678Go Inoue, Bashar Alhafni, Nurpeiis Baimukan, et al.2021 · 369 citations
  2. The SAMER Arabic Text Simplification CorpusLanguage Resources and Evaluation Conference (LREC)Bashar Alhafni, Reem Hazim, Juan David Pineros Liberato, et al.2024 · 30 citations
  3. Strategies for Arabic Readability ModelingArabic Natural Language Processing Conference (ArabicNLP)Juan Liberato, Bashar Alhafni, Muhamed Khalil, et al.2024 · 26 citations
  4. BAREC Shared Task 2025 on Arabic Readability AssessmentArabic Natural Language Processing Conference (ArabicNLP)Khalid N. Elmadani, Bashar Alhafni, Hanada Taha, et al.2025 · 18 citations
  5. Personalized Text Generation with Fine-Grained Linguistic ControlProceedings of the 1st Workshop on Personalization of Generative AI Systems (PERSONALIZE 2024)Bashar Alhafni, Vivek Kulkarni, Dhruv Kumar, et al.2024 · 12 citations
  6. Enhancing Text Editing for Grammatical Error Correction: Arabic as a Case Study ↗Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · no summary yetBashar Alhafni, Nizar Habash2025 · 11 citations
  7. The User-Aware Arabic Gender RewriterWorkshop on Gender-Inclusive Translation TechnologiesBashar Alhafni, Ossama Obeid, Nizar Habash2023 · 5 citations
  8. Do Diacritics Matter? Evaluating the Impact of Arabic Diacritics on Tokenization and LLM BenchmarksFindings of the Association for Computational Linguistics: EACL 2026Go Inoue, Bashar Alhafni, Nizar Habash, et al.2026 · 4 citations
  9. The Shared Task on Gender RewritingArabic Natural Language Processing Workshop (WANLP)Bashar Alhafni, Nizar Habash, Houda Bouamor, et al.2022 · 3 citations
  10. MBZUAI at AMIYA Shared Task 2026: Adapting Open-Source LLMs for Dialectal Arabic ↗Proceedings of the 13th Workshop on NLP for Similar Languages, Varieties and Dialects · no summary yetRana Gaber et al.2026 · 2 citations
  11. Arabic Sentence Segmentation Across Genres and Punctuation ConditionsarXiv:2606.08025Mohammed Elkholy;, Khalid N. Elmadani, Nizar Habash, et al.2026 · 1 citation
  12. ARWI: Arabic Write and ImproveProceedings of the Fourth Workshop on Intelligent and Interactive Writing Assistants (In2Writing 2025)Kirill Chirkunov, Bashar Alhafni, Chatrine Qwaider, et al.2025 · 1 citation
  13. Arabic Morphosyntactic Tagging and Dependency Parsing with Large Language ModelsarXiv:2603.16718Mohamed Adel;, Bashar Alhafni, Nizar Habash2026
  14. ArabiGEE: A Hierarchical Taxonomy for Arabic Grammatical Error ExplanationarXiv:2606.10765Khaled Elhady, Omar Kallas, Nizar Habash, et al.2026

See all 28 works by Bashar Alhafni →

 Co-authors here

12 of 38 co-authors with a page, the most papers together first.

Venues

Where their works here were published, the most works first, with the editions of those that have a page.

 Cited by

Papers of our library cite their works 618 times (of more than 163,000 papers whose bibliographies we read); 356 citing papers with a page here →.

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/authors/bashar-alhafni/