Elamur Research⌕
☰
home / papers / 2018 / Multi-Dialect Arabic POS Tagging: A CRF Approach

Multi-Dialect Arabic POS Tagging: A CRF Approach

Paper · 2018 · Kareem Darwish, Hamdy Mubarak, Ahmed Abdelali et al.

Summary

The paper addresses the lack of part-of-speech resources for dialectal Arabic on social media. The authors labeled 350 tweets apiece from four major dialects, namely Gulf, Egyptian, Maghrebi and Levantine. They used an extended Farasa tagset with extra tags for dialect particles and tweet-specific tokens. Annotation was applied to the original, unnormalized spelling, with each word split into clitics so that every segment receives exactly one tag.

Using a CRF sequence labeler, they compared three feature types: clitic n-grams, clitic metatypes and stem templates. They also ran three training regimes: per-dialect, cross-dialect and joint. A size-matched MSA sample from ATB served as an extra variety for comparison.

The main result is a single joint model that tags all four dialects with an average accuracy of 89.3%. This is on par with dialect-specific taggers. It means a pipeline does not need an unreliable dialect-identification step to choose a tagger. The dataset and its splits are released publicly, making it the first openly available benchmark of this kind.

Key points

  • Dataset size: 350 tweets per dialect, giving about 7,481 (EGY), 7,221 (LEV), 6,767 (GLF) and 6,400 (MGR) words. Each dialect has 5-fold splits with a 70/10/20 train/dev/test ratio.
  • Tagset: the 18 Farasa MSA tags plus 2 dialect tags (PROG PART, NEG PART) and 4 tweet tags (HASH, EMOT, MENTION, URL). Hashtags, mentions, emoticons and URLs are kept as single unsegmented words.
  • Model: CRF++ with L2 regularization and C=10, assuming gold segmentation. Features are clitic n-grams (up to 4-grams), metatypes, and stem templates obtained from Farasa.
  • Baselines and evaluation: a 350-sentence ATB sample (7,385 words) was used as an MSA baseline. Accuracy is measured per word, which is stricter than per clitic.
  • Findings from analysis:
    • Compared with MSA, dialects show more verbs, pronouns and particles, and fewer nouns, adjectives, prepositions, numbers and definite articles.
    • The most frequent error is ADJ→NOUN, at about 21% of errors on average.
    • Brown clusters are proposed as future work.

Interesting ideas

  • I1. Instead of a classifier that routes text to variety-specific models, train one model on pooled data from all varieties, which avoids errors cascading from a weak routing step.
  • I2. Segment words so that the number of pieces matches the number of tags, and keep the writer's original spelling rather than normalizing it.
  • I3. Mark token, word and sentence boundaries explicitly in the data format, so the clitic level and word level never get confused.
  • I4. Report accuracy at the word level, where a word counts as correct only if all its parts are tagged correctly, because per-piece scores look inflated.
  • I5. Train on one variety and test on another, building a full matrix of results, and compare tag distributions against a size-matched formal sample. This helps separate genre effects from genuine linguistic differences.

For Mova

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

  • I1 (tree): train the parser jointly on several English UD treebanks of different genres (news, web, social) instead of detecting the genre first and choosing a specialized model.
  • I2 (tokens): split contractions and fused forms (e.g. "gonna", "don't") into pieces that each carry one UPOS while preserving the surface string, so every tag can be traced back to raw text.
  • I3 (tokens): keep CoNLL-U multiword-token ranges alongside syntactic words so that downstream explanations can cite both levels.
  • I4 (learn): evaluate taggers and parsers on whole-word or whole-span correctness as well as per-token scores, to avoid overestimating quality.
  • I5 (learn): build cross-genre train/test matrices and compare tag distributions as a sanity check showing whether silver data drifts away from the gold treebanks.

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

 Fields, topics and concepts

Cite

Cite as Kareem Darwish, Hamdy Mubarak, Ahmed Abdelali, Mohamed Eldesouki, Younes Samih, Randah Alharbi, Mohammed Attia, Walid Magdy and Laura Kallmeyer. 2018. Multi-Dialect Arabic POS Tagging: A CRF Approach. Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018).

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

@inproceedings{darwish2018multi,
  title = {{Multi-Dialect Arabic POS Tagging: A CRF Approach}},
  author = {Kareem Darwish, Hamdy Mubarak, Ahmed Abdelali, Mohamed Eldesouki, Younes Samih, Randah Alharbi, Mohammed Attia, Walid Magdy and Laura Kallmeyer},
  booktitle = {Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018)},
  year = {2018},
  doi = {10.63317/2ctharew6nhx},
  url = {https://doi.org/10.63317/2ctharew6nhx}
}

References

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

  1. Abdelali, A., Darwish, K., Durrani, N., and Mubarak, H. (2016). Farasa: A fast and furious segmenter for arabic. In HLT-NAACL Demos, pages 11–16.
  2. Al-Sabbagh, R. and Girju, R. (2010). Mining the web for the induction of a dialectical arabic lexicon. In Proceedings of the Seventh International Conference on Language Resources and Evaluation (LREC 2010), pages 288–293.
  3. Bouamor, H., Habash, N., and Oflazer, K. (2014). A multi-dialectal parallel corpus of arabic. In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC 2014), pages 1240–1245. find
  4. Brown, P. F., Desouza, P. V., Mercer, R. L., Pietra, V. J. D., and Lai, J. C. (1992). Class-based n-gram models of natural language. Computational linguistics, 18(4):467– 479. ↗
  5. Cotterell, R. and Callison-Burch, C. (2014). A multi-dialect, multi-genre corpus of informal written arabic. In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC 2014), pages 241–245.
  6. Darwish, K., Sajjad, H., and Mubarak, H. (2014). Verifiably effective arabic dialect identification. In EMNLP, pages 1465–1468.
  7. Darwish, K., Mubarak, H., Abdelali, A., and Eldesouki, M. (2017). Arabic pos tagging: Dong’t abandon feature en-Error Type ADJ->NOUN Avg% 21 Example (Dialect)  JÓ Q « (gyr mnTqyp) “not logical” (EGY) éJ  ®¢ find

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/darwish-2018-multi-dialect-arabic-pos-tagging/