[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/papers/lingbulk-2014-darwish-stem-templates-improve-arabic-pos/)

[home](https://md.mova.elamur.ai/free/en/) / [docs](https://md.mova.elamur.ai/free/en/docs/) / [papers](https://md.mova.elamur.ai/free/en/docs/papers/) / [Semitic languages](https://md.mova.elamur.ai/free/en/docs/papers/sem/) / Using Stem-Templates to Improve Arabic POS and Gender/Number Tagging

# Using Stem-Templates to Improve Arabic POS and Gender/Number Tagging

**Authors:** [Kareem Darwish](https://md.mova.elamur.ai/free/en/docs/papers/authors/kareem-darwish/); [Ahmed Abdelali](https://md.mova.elamur.ai/free/en/docs/papers/authors/ahmed-abdelali/); [Hamdy Mubarak](https://md.mova.elamur.ai/free/en/docs/papers/authors/hamdy-mubarak/) · **Year:** 2014 · **Venue:** Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14) **Link:** [aclanthology.org/L14-1296](https://aclanthology.org/L14-1296/) · library `lingbulk-2014-darwish-stem-templates-improve-arabic-pos` · **Licence:** [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) (ELRA, LREC proceedings) — summary only

[**29** citations](https://openalex.org/works?filter=cites:W2250283392) openalex · 2026-10-19[**12** citations in our library](https://md.mova.elamur.ai/free/en/docs/papers/cited-by/lingbulk-2014-darwish-stem-templates-improve-arabic-pos/) of the 140673 papers whose bibliographies we read[Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14)](https://aclanthology.org/volumes/L14-1/)[licence](https://creativecommons.org/licenses/by-nc/4.0/)

- [Publisher's page](https://aclanthology.org/L14-1296/)
- [PDF](https://aclanthology.org/L14-1296.pdf)
- [DOI 10.63317/5m5e2fcsu8jd](https://doi.org/10.63317/5m5e2fcsu8jd)
- [OpenAlex](https://openalex.org/W2250283392)

**Authors (3)**

1. [Kareem Darwish](https://openalex.org/A5111452036) [Semantic Scholar](https://www.semanticscholar.org/author/143758717) · h 38 · 4980 citations · 151 works
2. [Ahmed Abdelali](https://openalex.org/A5047182137) [ORCID](https://orcid.org/0000-0002-4160-8181) · [Semantic Scholar](https://www.semanticscholar.org/author/1683403) · h 25 · 2329 citations · 137 works
3. [Hamdy Mubarak](https://openalex.org/A5102924560) [ORCID](https://orcid.org/0000-0002-9051-6240) · [Semantic Scholar](https://www.semanticscholar.org/author/143779235) · h 30 · 3926 citations · 113 works

Citations and author metrics from openalex (2026-10-19); authors with the same name are not always told apart.

## What it is about

The paper builds an end-to-end Arabic pipeline: correction of common spelling confusions (alef forms, ta marbuta and ha, alef maqsura and ya), character-level segmentation with a CRF, POS tagging with a CRF, and gender and number tagging for nouns and adjectives. The key idea is the stem template, the pattern that a root is put into (for example CCAC applied to ktb gives ktAb, "book"). A template often fixes the POS, and some templates fix the gender or the plural type. Templates were found with the Sebawai analyzer, corrected for the cases it got wrong, and reduced to 91 templates observed in the training data. Adding the template as a feature raised POS accuracy from 97.6% to 98.1% on the Penn Arabic Treebank split. For gender and number, a random forest over template, POS, suffix, feminine ending and dictionary tags gave 95.6% and 94.9% on 8,400 nouns and adjectives in 20-fold cross-validation, where each test word was unseen in training. The spelling correction reached 99% on the Treebank.

## Ideas

- I1. Use the stem template as a tagging feature for Hebrew: derive the templates (binyanim, nominal patterns, shapes of the stem) from the roots and patterns in MACULA, keep the most frequent ones as a closed set, and use them as features in the tagger. Measure the POS gain on held-out chapters, as the paper did (+0.5 points).
- I2. Keep only templates seen in the gold data: the paper dropped templates never observed, which cut 613 to 91. For Hebrew, the same whitelist, built from MACULA, gives a short, checkable table of noun and verb patterns that `tools/hbo` can use as a rule.
- I3. A small, readable classifier for gender and number of unseen nouns: features are the pattern, the stem length, the POS, the suffix (feminine `-ah`, `-ot`, dual and plural endings), and a dictionary tag. Test with a split by lemma, so no lemma is seen in both parts.

## For Mova

I1 and I2 go into [The Noun, the Adjective and the Numeral](https://md.mova.elamur.ai/free/en/docs/languages/hbo/04-noun/) (noun patterns and the segolate and plural classes) and into the tagger features of `tools/hbo`. I3 is a test for [The Noun, the Adjective and the Numeral](https://md.mova.elamur.ai/free/en/docs/languages/hbo/04-noun/); the classifier is a small model with its features written out, in line with the transparency rule. A later step for `tools/ocrfix` is to use the spelling correction on Hebrew OCR editions.

## Cite

The paper itself, not this card. BibTeX from the library's record of the work. [DOI 10.63317/5m5e2fcsu8jd](https://doi.org/10.63317/5m5e2fcsu8jd)

```
@inproceedings{darwish2014using,
  title = {{Using Stem-Templates to Improve Arabic POS and Gender/Number Tagging}},
  author = {Darwish, Kareem and Abdelali, Ahmed and Mubarak, Hamdy},
  booktitle = {Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14)},
  year = {2014},
  doi = {10.63317/5m5e2fcsu8jd},
  url = {https://doi.org/10.63317/5m5e2fcsu8jd}
}
```

- [← previous A Morphological Analyzer for Egyptian Arabic](https://md.mova.elamur.ai/free/en/docs/papers/lingbulk-2012-habash-morphological-analyzer-egyptian-arabic/)
- [next → MADAMIRA: A Fast, Comprehensive Tool for Morphological Analysis and Disambiguation of Arabic](https://md.mova.elamur.ai/free/en/docs/papers/lingbulk-2014-pasha-madamira-fast-comprehensive-tool-morphological/)
- [↑ back to Semitic languages](https://md.mova.elamur.ai/free/en/docs/papers/sem/)

## References

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

1. Sarah Alkuhlani and Nizar Habash. 2012. Identifying broken plurals, irregular gender, and rationality in Arabic text. Proceedings of the 13th Conference of the European Chapter of the Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Sarah+Alkuhlani+and+Nizar+Habash%2E+2012%2E+Identifying+broken+plurals%2C+irregular+gender%2C+and+rationality+in+Arabic+text%2E+Proceedings+of+the+13th+Conference+of+the+European+Chapter+of+the+Association+for+) [our card](https://md.mova.elamur.ai/free/en/docs/papers/aclbulk-2012-alkuhlani-identifying-broken-plurals-irregular-gender/)
2. Leo Breiman. 2001. Random Forests. Machine Learning. 45(1):5-32. [find](https://scholar.google.com/scholar?q=Leo+Breiman%2E+2001%2E+Random+Forests%2E+Machine+Learning%2E+45%281%29%3A5%2D32%2E)
3. Kareem Darwish. 2002. Building a Shallow Morphological Analyzer in One Day. ACL Workshop on Computational Approaches to Semitic Languages. 2002. [find](https://scholar.google.com/scholar?q=Kareem+Darwish%2E+2002%2E+Building+a+Shallow+Morphological+Analyzer+in+One+Day%2E+ACL+Workshop+on+Computational+Approaches+to+Semitic+Languages%2E+2002%2E)
4. Mona T. Diab. 2009. Second Generation Tools (AMIRA 2.0): Fast and Robust Tok- enization, POS tagging, and Base Phrase Chunking. 2nd Int. Conf. on Arabic Language Resources and Tools, 2009. [find](https://scholar.google.com/scholar?q=Mona+T%2E+Diab%2E+2009%2E+Second+Generation+Tools+%28AMIRA+2%2E0%29%3A+Fast+and+Robust+Tok%2D+enization%2C+POS+tagging%2C+and+Base+Phrase+Chunking%2E+2nd+Int%2E+Conf%2E+on+Arabic+Language+Resources+and+Tools%2C+2009%2E)
5. Nizar Habash, Owen Rambow and Ryan Roth. 2009. MADA+TOKAN: A Toolkit for Arabic Tokenization, Diacritization, Morphological Disambiguation, POS Tagging, Stemming and Lemmatization. In Proceedings of the 2nd International Conference on Arabic Language Resources and Tools (MEDAR), Cairo, Egypt, 2009 [find](https://scholar.google.com/scholar?q=Nizar+Habash%2C+Owen+Rambow+and+Ryan+Roth%2E+2009%2E+MADA%2BTOKAN%3A+A+Toolkit+for+Arabic+Tokenization%2C+Diacritization%2C+Morphological+Disambiguation%2C+POS+Tagging%2C+Stemming+and+Lemmatization%2E+In+Proceedings+of+t)
6. John Lafferty, Andrew McCallum, and Fernando Pereira. 2001. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. Proceedings of the 18th International Conference on Machine Learning 2001 (ICML 2001), pp. 282-289. [find](https://scholar.google.com/scholar?q=John+Lafferty%2C+Andrew+McCallum%2C+and+Fernando+Pereira%2E+2001%2E+Conditional+random+fields%3A+Probabilistic+models+for+segmenting+and+labeling+sequence+data%2E+Proceedings+of+the+18th+International+Conference+)
7. M Moussa, MW Fakhr, Kareem Darwish. 2012. Statistical Denormalization for Arabic Text. Empirical Methods in Natural Language Processing, 228. [find](https://scholar.google.com/scholar?q=M+Moussa%2C+MW+Fakhr%2C+Kareem+Darwish%2E+2012%2E+Statistical+Denormalization+for+Arabic+Text%2E+Empirical+Methods+in+Natural+Language+Processing%2C+228%2E)
8. H. Mubarak, K. Shaban, and F. Adel. 2009. Lexical and Morphological Statistics of an Arabic POS-Tagged Corpus. In Proceedings of the 9th Conference on Language Engineering ESOLEC2009, 23-24 December 2009, Cairo, Egypt, pp. 147-161. [find](https://scholar.google.com/scholar?q=H%2E+Mubarak%2C+K%2E+Shaban%2C+and+F%2E+Adel%2E+2009%2E+Lexical+and+Morphological+Statistics+of+an+Arabic+POS%2DTagged+Corpus%2E+In+Proceedings+of+the+9th+Conference+on+Language+Engineering+ESOLEC2009%2C+23%2D24+December+2)
9. Y. Lee, K. Papineni, S. Roukos, O. Emam, H. Hassan. 2003. Language Model. Based Arabic Word Segmentation. In the Proceedings of the 41st Annual Meeting of the Association for Computational Linguistics, July 2003, Sapporo, Japan. p. 399 - 406. [find](https://scholar.google.com/scholar?q=Y%2E+Lee%2C+K%2E+Papineni%2C+S%2E+Roukos%2C+O%2E+Emam%2C+H%2E+Hassan%2E+2003%2E+Language+Model%2E+Based+Arabic+Word+Segmentation%2E+In+the+Proceedings+of+the+41st+Annual+Meeting+of+the+Association+for+Computational+Linguistics)
10. Kristina Toutanova, Dan Klein, Christopher Manning, and Yoram Singer. 2003. Feature-Rich Part-of-Speech Tagging with a Cyclic Dependency Network. In Proceedings of HLT-NAACL 2003, pp. 252-259. [find](https://scholar.google.com/scholar?q=Kristina+Toutanova%2C+Dan+Klein%2C+Christopher+Manning%2C+and+Yoram+Singer%2E+2003%2E+Feature%2DRich+Part%2Dof%2DSpeech+Tagging+with+a+Cyclic+Dependency+Network%2E+In+Proceedings+of+HLT%2DNAACL+2003%2C+pp%2E+252%2D259%2E)
