Full morphological analysis

Morphological Analysis and Disambiguation

Generating every possible morphological analysis of a word (stem, clitics, gender, number, case, tense, person...) and then choosing the one that best fits the context.

Resource-based

How it works

A lexicon-based analyser (such as BAMA, then SAMA, then CALIMA-Star) matches the word against compatible tables of prefixes, stems and suffixes to produce a list of analyses, then a statistical or neural model (MADA, MADAMIRA, or a classifier in CAMeL Tools) ranks them according to the neighbouring words.

Steps

  1. Split the word into prefix-stem-suffix in every way
  2. Check that the parts are compatible in the tables
  3. Output the morphological features of each analysis
  4. Rank the analyses by context
InputsWord/sentence
OutputsAnalyses with morphological features
ComplexityDepends on the lexicon

Example

«علم» without diacritics: عِلْم (noun), عَلَم (noun), عَلِمَ (verb), عَلَّمَ (verb)...

Strengths

  • The richest representation of an Arabic word
  • A basis for automatic diacritization and syntactic analysis

Cons

  • Needs a licensed morphological lexicon or one compiled from data
  • Not available in the browser without large resources

Uses

  • Automatic diacritization
  • Part-of-speech tagging
  • Language teaching

Libraries that implement it

CAMeL ToolsMADAMIRAFarasa

See Libraries guide For licenses and runtime requirements.

References

  • Buckwalter, T. (2004). Buckwalter Arabic Morphological Analyzer Version 2.0. LDC2004L02.
  • Habash, N. & Rambow, O. (2005). Arabic Tokenization, Part-of-Speech Tagging and Morphological Disambiguation in One Fell Swoop. ACL 2005.
  • Obeid, O. et al. (2020). CAMeL Tools. LREC 2020.

This algorithm is explained for comparison and does not run in the browser. Open morphological analysis