---
title: "Arabic Spelling Correction using Supervised Learning (2014)"
description: "The paper presents a system for automatic Arabic spelling correction, built for the QALB… 0.58 recall. 15 references, cited by 4 papers here."
authors: ["Youssef Hassan", "Mohamed Aly", "Amir Atiya"]
year: 2014
venue: "Proceedings of the EMNLP 2014 Workshop on Arabic Natural Language Processing (ANLP)"
source: "https://aclanthology.org/W14-3615/"
doi: "10.3115/v1/w14-3615"
licence: "CC BY-NC-SA 3.0 (ACL Anthology, before 2016)"
licence_url: "https://creativecommons.org/licenses/by-nc-sa/3.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/hassan-2014-arabic-spelling-correction-supervised-learning/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/hassan-2014-arabic-spelling-correction-supervised-learning/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2014](https://md.research.elamur.ai/free/en/papers/2014/page/3/) / Arabic Spelling Correction using Supervised Learning

# Arabic Spelling Correction using Supervised Learning

**Authors:** Youssef Hassan, [Mohamed Aly](https://md.research.elamur.ai/free/en/authors/mohamed-aly/) and [Amir Atiya](https://md.research.elamur.ai/free/en/authors/amir-atiya/) · **Year:** 2014 · **Venue:** [Proceedings of the EMNLP 2014 Workshop on Arabic Natural Language Processing (ANLP)](https://md.research.elamur.ai/free/en/venues/emnlp-workshop-on-arabic-natural-language-processing-anlp/) ([ANLP 2014](https://md.research.elamur.ai/free/en/venues/emnlp-workshop-on-arabic-natural-language-processing-anlp/2014/)) · **Publisher:** [Association for Computational Linguistics](https://md.research.elamur.ai/free/en/publishers/association-for-computational-linguistics/) · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

**Links:** [Publisher's page](https://aclanthology.org/W14-3615/) · [PDF](https://aclanthology.org/W14-3615.pdf) · [DOI 10.3115/v1/w14-3615](https://doi.org/10.3115/v1/w14-3615) · [OpenAlex](https://openalex.org/W191851035)

**Citations:** 19 citations (OpenAlex, 2026-10-14) · [4](https://md.research.elamur.ai/free/en/papers/hassan-2014-arabic-spelling-correction-supervised-learning/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary
The paper presents a system for automatic Arabic spelling correction, built for the QALB 2014 shared task on Arabic error correction. It uses the QALB corpus of manually corrected Arabic sentences and targets the four most common error types, which together account for over 90% of errors: edit, add before, merge and split. A word is flagged as wrong when the Buckwalter morphological analysis supplied by MADAMIRA finds no reading for it. Each error type then gets its own correction module:

- **Edit errors:** candidates within one or two edits are ranked by a Naive-Bayes classifier. Its features are a noisy-channel likelihood, SRILM n-gram scores, a POS-based collocation model and a lemma co-occurrence model.
- **Add before errors:** a separate contextual classifier predicts tokens that should be inserted, mostly punctuation.
- **Merge and split errors:** the system adds or removes spaces and ranks the resulting options by language model score.

On the development set, the combined system reaches precision 0.58, recall 0.59 and F1 0.58. On the shared task test set it scores F1 0.6, placing sixth of nine teams. This matters because Arabic has few resources for spelling correction.

## Key points
- Edit errors make up more than 55% of all QALB errors, and the four targeted types together cover over 90%.
- The resources used are:
  - a free Arabic wordlist of 9 million inflected forms generated from AraComLex;
  - a QALB-specific MADAMIRA build based on BAMA 1.2.1;
  - a trigram SRILM model with modified Kneser-Ney smoothing, trained on the Ajdir Corpora;
  - an Arabic stop-word list.
- The collocation model tracks POS-tag triples around the 5,000 most frequent lemmas. The co-occurrence model, adapted from Schaback (2007), looks at lemmas within a 10-word radius.
- On the development set (M2 scorer), the system fixes 9,860 of 16,659 gold corrections while proposing 17,057, giving P 0.5781, R 0.5919 and F1 0.5849.
- Adding the add-before classifier raised recall considerably but cost precision. The authors explain this by the classifier making many wrong suggestions.

## Interesting ideas
- Spelling correction is framed as binary classification over generated candidates: each candidate gets a feature vector and a correct/incorrect label taken from the gold corrections. This lets channel, n-gram and contextual evidence be combined without hand-tuned weights.
- A word is treated as an error exactly when the morphological analyzer cannot analyze it. This is a cheap, transparent detector that ties error flagging to an existing lexical resource.
- The noisy-channel error model gives higher scores to substitutions between keys that are close on the keyboard or letters from the same confusable group. This encodes a known physical or orthographic cause of errors directly into the probabilities.
- The collocation feature measures how well a word fits by counting the POS triples observed around a frequent lemma at the left, middle and right positions.
- The evaluation adds modules one at a time and also tests combinations with modules removed. This exposes which component buys recall at the expense of precision.

## For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

- **I1** (tokens): A normalizer in front of the tagger could rank repair candidates for unknown words this way and keep the feature values as an explanation for each chosen fix.
- **I2** (tokens): Words that crate en's morphology cannot analyze could be sent to a repair step, while analyzable words pass through unchanged and are never "corrected" behind the user's back.
- **I3** (tokens): English typo repair could weight QWERTY-adjacent and homophone-like letter swaps more strongly, so that corrections reflect plausible typing slips.
- **I4** (tree): Rare POS triples around a lemma could flag suspicious tagger output before parsing, pointing to likely tagging errors or misspellings that would otherwise damage the UD tree.
- **I5** (learn): Mova's repair rules and pipeline stages could be ablated in the same incremental way, so each stage's net effect is measured and harmful additions are caught.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [Google](https://md.research.elamur.ai/free/en/companies/google/) — Company, Mountain View, United States · 430 works · 424,363 citations
- [Cairo University](https://md.research.elamur.ai/free/en/universities/cairo-university/) — University, Giza, Egypt · 42 works · 1,350 citations
- [California Institute of Technology](https://md.research.elamur.ai/free/en/universities/california-institute-of-technology/) — University, Pasadena, United States · 8 works · 745 citations

📚 Shelves (6): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 16,667 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 16,194 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 16,039 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 15,891 works · [🤝 Social Sciences](https://md.research.elamur.ai/free/en/shelves/social-sciences/) · 1,772 works · [🎓 Education](https://md.research.elamur.ai/free/en/shelves/social-sciences/education/) · 203 works

🧭 Topics (2): [Semitic languages](https://md.research.elamur.ai/free/en/topics/semitic-languages/) · 2,908 works · [🖍️ Grammatical error correction & learner language](https://md.research.elamur.ai/free/en/topics/grammatical-error-correction/) · 156 works

## Cite

Cite as: Youssef Hassan, Mohamed Aly and Amir Atiya. 2014. Arabic Spelling Correction using Supervised Learning. Proceedings of the EMNLP 2014 Workshop on Arabic Natural Language Processing (ANLP).

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{hassan2014arabic,
  title = {{Arabic Spelling Correction using Supervised Learning}},
  author = {Youssef Hassan, Mohamed Aly and Amir Atiya},
  booktitle = {Proceedings of the EMNLP 2014 Workshop on Arabic Natural Language Processing (ANLP)},
  year = {2014},
  doi = {10.3115/v1/w14-3615},
  url = {https://doi.org/10.3115/v1/w14-3615}
}
```

- [← previous The Penn Parsed Corpus of Modern British English: First Parsing Results and Analysis](https://md.research.elamur.ai/free/en/papers/kulick-2014-penn-parsed-corpus-modern-british/)
- [next → AusTalk: an audio-visual corpus of Australian English](https://md.research.elamur.ai/free/en/papers/estival-2014-austalk-audio-visual-corpus-australian/)
- [↑ back to papers of 2014](https://md.research.elamur.ai/free/en/papers/2014/page/3/)

## References

15 references, 6 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Tim Buckwalter. 2002. Buckwalter arabic morphological analyzer version 1.0. November. [↗](https://doi.org/10.35111/7vzm-mb15)
2. Daniel Dahlmeier and Hwee Tou Ng. 2012. Better evaluation for grammatical error correction. In Proceedings of the 2012 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL HLT ’12, pages 568–572, Stroudsburg, PA, USA. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Daniel+Dahlmeier+and+Hwee+Tou+Ng%2E+2012%2E+Better+evaluation+for+grammatical+error+correction%2E+In+Proceedings+of+the+2012+Conference+of+the+North+American+Chapter+of+the+Association+for+Computational+Lin)
3. Frankie James. 2000. Modified kneser-ney smoothing of n-gram models. RIACS. [find](https://scholar.google.com/scholar?q=Frankie+James%2E+2000%2E+Modified+kneser%2Dney+smoothing+of+n%2Dgram+models%2E+RIACS%2E)
4. Mark D. Kernighan, Kenneth W. Church, and William A. Gale. 1990. [A spelling correction program based on a noisy channel model](https://md.research.elamur.ai/free/en/papers/kernighan-1990-spelling-correction-program-based-noisy/). In Proceedings of the 13th Conference on Computational Linguistics - Volume 2, COLING ’90, pages 205–210, Stroudsburg, PA, USA. Association for Computational Linguistics.
5. Iraky Khalifa, Zakareya Al Feki, and Abdelfatah Farawila. 2011. Arabic discourse segmentation based on rhetorical methods. [find](https://scholar.google.com/scholar?q=Iraky+Khalifa%2C+Zakareya+Al+Feki%2C+and+Abdelfatah+Farawila%2E+2011%2E+Arabic+discourse+segmentation+based+on+rhetorical+methods%2E)
6. VI Levenshtein. 1966. Binary Codes Capable of Correcting Deletions, Insertions and Reversals. volume 10, page 707. [find](https://scholar.google.com/scholar?q=VI+Levenshtein%2E+1966%2E+Binary+Codes+Capable+of+Correcting+Deletions%2C+Insertions+and+Reversals%2E+volume+10%2C+page+707%2E)
7. Edward Loper and Steven Bird. 2002. NLTK: The Natural Language Toolkit. [↗](https://doi.org/10.48550/arxiv.cs/0205028)
8. Behrang Mohit, Alla Rozovskaya, Nizar Habash, Wajdi Zaghouani, and Ossama Obeid. 2014. [The First QALB Shared Task on Automatic Text Correction for Arabic](https://md.research.elamur.ai/free/en/papers/mohit-2014-first-qalb-shared-task-automatic/). In Proceedings of EMNLP Workshop on Arabic Natural Language Processing, Doha, Qatar, October.
9. Eman Othman, Khaled Shaalan, and Ahmed Rafea. 2003. [A chart parser for analyzing modern standard arabic sentence](https://md.research.elamur.ai/free/en/papers/othman-2003-chart-parser-analyzing-modern-standard/). In To appear in In proceedings of the MT Summit IX Workshop on Machine Translation for Semitic Languages: Issues and Approaches, Louisiana, U.S.A.
10. Pasha, Arfath, Mohamed Al-Badrashiny, Mona Diab, Ahmed El Kholy, Ramy Eskander, Nizar Habash, Manoj Pooleery, Owen Rambow, and Ryan M. Roth. 2014. [Madamira: A fast, comprehensive tool for morphological analysis and disambiguation of arabic](https://md.research.elamur.ai/free/en/papers/pasha-2014-madamira-fast-comprehensive-tool-morphological/). In In Proceedings of the Language Resources and Evaluation Conference (LREC), Reykjavik, Iceland.
11. Johannes Schaback. 2007. Multi-level feature extraction for spelling correction. Hyderabad, India. [find](https://scholar.google.com/scholar?q=Johannes+Schaback%2E+2007%2E+Multi%2Dlevel+feature+extraction+for+spelling+correction%2E+Hyderabad%2C+India%2E)
12. K. Shaalan, R. Aref, and A Fahmy. 2010. An approach for analyzing and correcting spelling errors for non-native arabic learners. In Informatics and Systems (INFOS), 2010 The 7th International Conference on, pages 1–7, March. [find](https://scholar.google.com/scholar?q=K%2E+Shaalan%2C+R%2E+Aref%2C+and+A+Fahmy%2E+2010%2E+An+approach+for+analyzing+and+correcting+spelling+errors+for+non%2Dnative+arabic+learners%2E+In+Informatics+and+Systems+%28INFOS%29%2C+2010+The+7th+International+Conferen)
13. Khaled Shaalan, Mohammed Attia, Pavel Pecina, Younes Samih, and Josef van Genabith. 2012. [Arabic word generation and modelling for spell checking](https://md.research.elamur.ai/free/en/papers/shaalan-2012-arabic-word-generation-modelling-spell/). In Nicoletta Calzolari (Conference Chair), Khalid Choukri, Thierry Declerck, Mehmet Uur Doan, Bente Maegaard, Joseph Mariani, Asuncion Moreno, Jan Odijk, and Stelios Piperidis, editors, Proceedings of the Eight International Conference on Language Resources and Evaluation (LREC’12), Istanbul, Turkey, may. European Language Resources Association (ELRA).
14. A. Stolcke. 2002. Srilm – an extensible language modeling toolkit. In Proc. Intl. Conf. on Spoken Language Processing, Denver,U.S.A. [find](https://scholar.google.com/scholar?q=A%2E+Stolcke%2E+2002%2E+Srilm+%E2%80%93+an+extensible+language+modeling+toolkit%2E+In+Proc%2E+Intl%2E+Conf%2E+on+Spoken+Language+Processing%2C+Denver%2CU%2ES%2EA%2E)
15. Wajdi Zaghouani, Behrang Mohit, Nizar Habash, Ossama Obeid, Nadi Tomeh, Alla Rozovskaya, Noura Farra, Sarah Alkuhlani, and Kemal Oflazer. 2014. [Large scale arabic error annotation: Guidelines and framework](https://md.research.elamur.ai/free/en/papers/zaghouani-2014-large-scale-arabic-error-annotation/). In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC’14), Reykjavik, Iceland, May. European Language Resources Association (ELRA). [↗](https://doi.org/10.13140/rg.2.1.3273.6169)

*Updated 1 November 2026*
