Handling Unknown Words in Arabic FST Morphology
Paper · 2012 · Khaled Shaalan and Mohammed Attia
Summary
Arabic morphological analysers depend on a lexicon, so newly coined or borrowed words are not analysed and cannot be lemmatized by lookup. Shaalan and Attia present what they describe as the first attempt to lemmatize Arabic unknown words. They ran MADA, which relies internally on SAMA, over a corpus of roughly 1.09 billion words from Arabic Gigaword (4th ed.) and Al-Jazeera news. Out-of-lexicon types were filtered with a spell checker and a frequency threshold. Each surviving word then passed through a pipeline. An XFST finite-state guesser lists every plausible segmentation into clitics, affixes and stem. The candidate whose morphological features best agree with MADA's top-scoring analysis is kept. A weighting formula then ranks the resulting lemmas for lexicographers to review. On a hand-annotated gold set of 1,310 types, lemmatization accuracy rises from a 45% baseline to 54%, or 63% when definite-article differences are ignored. This shows that a heavily overgenerating FST guesser can be useful in practice for growing a lexicon. The resulting unknown-word lexicon is released as open source.
Key points
- Filtering funnel:
- 2,116,180 types had no SAMA analysis.
- 208,188 of these were accepted by the MS Office 2010 Arabic spell checker.
- 40,277 remained after keeping only types with frequency ≥10.
- 1,310 were sampled for gold annotation (lemma, POS, include-in-dictionary judgement).
- The guesser treats a noun stem as any 2–24 non-numeric Arabic characters and a verb stem as 2–6 characters. It averages 12.6 analyses per word, compared with 2.1 for AraComLex. The gold lemma appears among its candidates 97% of the time.
- POS accuracy:
- 45% when every word is tagged as a proper noun (baseline);
- 60% with MADA alone;
- 69% with "Voted POS Tagging" across forms that share a lemma.
- Lemmatization reduced 40,277 surface types to 18,399 lemmas, a 54% reduction.
- The ranking score combines three factors: sister-form count × 800, cumulative frequency of the sister forms (the two halved), and a POS factor that penalizes proper nouns.
- Combined criteria: 78 good words in the top 100 and 15 in the bottom 100.
- Frequency alone: 63 in the top 100 and 50 in the bottom 100.
Interesting ideas
- I1. Let a cheap rule-based guesser overgenerate every possible analysis, then pick the one whose features best match a statistical tagger's contextual prediction; candidate generation stays transparent while context decides.
- I2. Pool evidence across all surface forms that map to one lemma: if most of a lemma's forms carry a certain POS, override the minority tag.
- I3. Report an oracle ceiling (is the gold answer anywhere in the candidate set?) next to first-choice accuracy, so generation failures are separated from selection failures.
- I4. Put a spell-checker gate and a minimum-frequency threshold in front of lexicon growth, so typos are not mistaken for new vocabulary.
- I5. Rank new entries for human review by how many distinct inflected forms a lemma has, not only by raw frequency, and down-weight proper nouns whose frequency is inflated.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (tokens): An affix-stripping guesser for OOV English words in crate en could propose lemma/feature candidates, and the tagger's chosen features would select among them, with the rejected options kept as an explanation trail.
- I2 (tokens): Corpus-level voting over lemma families could correct sporadic tagger errors on rare or new words before they propagate into UD trees.
- I3 (learn): Evaluations of parsers or frame selection could log both candidate recall and top-1 accuracy, showing whether the fix belongs in the generator or the ranker.
- I4 (learn): Self-induced lexicon or repair-rule additions could require that a candidate survives a spelling filter and recurs often enough before it is accepted.
- I5 (world): When extending compiled knowledge, such as verb classes or ontology entries, from corpus discoveries, morphological productivity could be used as a signal of a genuine lexical item to prioritise curation.
Institutions
Fields, topics and concepts
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 18,614 worksArtificial Intelligence · 17,965 worksArts and Humanities · 17,450 worksLanguage and Linguistics · 17,296 works
🧭 Topics 2Research subjects and languages the work is about.Semitic languages · 3,066 worksMorphology · 420 works
Cite
Cite as Khaled Shaalan and Mohammed Attia. 2012. Handling Unknown Words in Arabic FST Morphology. Proceedings of the 10th International Workshop on Finite State Methods and Natural Language Processing.
@inproceedings{shaalan2012handling,
title = {{Handling Unknown Words in Arabic FST Morphology}},
author = {Khaled Shaalan and Mohammed Attia},
booktitle = {Proceedings of the 10th International Workshop on Finite State Methods and Natural Language Processing},
year = {2012},
doi = {10.13140/2.1.3572.2242},
url = {https://doi.org/10.13140/2.1.3572.2242}
}References
- Adler, M., Goldberg, Y., Gabay, D. and Elhadad, M. 2008. Unsupervised Lexicon-Based Resolution of Unknown Words for Full Morpholological Analysis. In: Proceedings of Association for Computational Linguistics (ACL), Columbus, Ohio. find
- Attia, M. 2006. An Ambiguity-Controlled Morphological Analyzer for Modern Standard Arabic Modelling Finite State Networks. In: Challenges of Arabic for NLP/MT Conference, The British Computer Society, London, UK. find
- Attia, Mohammed, Pavel Pecina, Lamia Tounsi, Antonio Toral, Josef van Genabith. 2011. An Open-Source Finite State Morphological Transducer for Modern Standard Arabic. International Workshop on Finite State Methods and Natural Language Processing (FSMNLP). Blois, France.
- Beesley, K. R. 2001. Finite-State Morphological Analysis and Generation of Arabic at Xerox Research: Status and Plans in 2001. In: The ACL 2001 Workshop on Arabic Language Processing: Status and Prospects, Toulouse, France. find
- Beesley, K. R., and Karttunen, L.. 2003. Finite State Morphology: CSLI studies in computational linguistics. Stanford, Calif.: Csli. find
- Buckwalter, T. 2004. Buckwalter Arabic Morphological Analyzer (BAMA) Version 2.0. Linguistic Data Consortium (LDC) catalogue number LDC2004L02, ISBN1-58563-324-0 find
- Dichy, J. 2001. On lemmatization in Arabic, A formal definition of the Arabic entries of multilingual lexical databases. ACL/EACL 2001 Workshop on Arabic Language Processing: Status and Prospects. Toulouse, France. find
- Dichy, J., and Farghaly, A. 2003. Roots & Patterns vs. Stems plus Grammar-Lexis Specifications: on what basis should a multilingual lexical database centred on Arabic be built? In: The MT-Summit IX workshop on Machine Translation for Semitic Languages, New Orleans. find
- Erjavec, T., and Džerosk, S. 2004. Machine Learning of Morphosyntactic Structure: Lemmatizing Unknown Slovene Words. Applied Artificial Intelligence, 18:17–41. ↗
- Kiraz, G. A. 2001. Computational Nonlinear Morphology: With Emphasis on Semitic Languages. Cambridge University Press. find
- Lindén, K. 2008. A Probabilistic Model for Guessing Base Forms of New Words by Analogy. In CICling-2008, 9th International Conference on Intelligent Text Processing and Computational Linguistics, Haifa, Israel, pp. 106-116. find
- Maamouri, M., Graff, D., Bouziri, B., Krouna, S., and Kulick, S. 2010. LDC Standard Arabic Morphological Analyzer (SAMA) v. 3.1. LDC Catalog No. LDC2010L01. ISBN: 1-58563-555-3. find
- Parker, R., Graff, D., Chen, K., Kong, J., and Maeda, K. 2009. Arabic Gigaword Fourth Edition. LDC Catalog No. LDC2009T30. ISBN: 1-58563-532-4. find
- Roth, R., Rambow, O., Habash, N., Diab, M., and Rudin, C. 2008. Arabic Morphological Tagging, Diacritization, and Lemmatization Using Lexeme Models and Feature Ranking. In: Proceedings of Association for Computational Linguistics (ACL), Columbus, Ohio.
- Shaalan, K., Magdy, M., Fahmy, A., Morphological Analysis of Il-formed Arabic Verbs for Second Language Learners, In Eds. McCarthy P., Boonthum, C., Applied Natural Language Processing: Identification, Investigation and Resolution, PP. 383-397, IGI Global, PA, USA, 2012. find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/shaalan-2012-handling-unknown-words-arabic-fst/