Mova0.6 pre-release

the flag of Ethiopia 32. Amharic in Mova

Amharic has the language code am in the manual. Mova currently groups Ethiopic text under other during language segmentation and has no Amharic parser model or annotated Amharic corpus. This chapter describes the resulting parser output, the baseline required by the language package, and the status of grammar claims in Squid.

Ethiopic spans in language segmentation

Mova’s multilingual pipeline assigns language labels to sentences and spans before attempting to parse them. A span label determines which language model the parser would use for that span. tools/langseg distinguishes English and French in Latin script using a Latin-script table, a lexicon for each language and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported set receive other, including Ethiopic.

The label other supplies no language identity. In a text containing English and an Ethiopic passage, level 1 can give the English and Ethiopic spans different labels, but the label on the Ethiopic span does not identify it as Amharic. Ethiopic writing is also shared by several languages, so recognizing the script alone would leave the language identification unresolved.

An Amharic sentence in Ethiopic script illustrates the distinction between the language of the text and its segmentation label (constructed).

FormRomanizationGlossTranslation
ልጁ መጣ።ləǧ-u mäṭṭaboy-DEF come.PFV.3SG.M“The boy came.”

The sentence is Amharic and its Ethiopic span falls under other. The romanization in the table is a reading aid. Mova provides no Amharic recognition route through romanization. The documented route for adding another Latin-script language uses a lexicon and a Lang code, with langseg latin-lexicon building the lexicon from an open UD training split. That route applies to Latin-script recognition.

Parser output for Amharic

At level 2, tools/mova-parse looks for a model for the language assigned to each span. A recognized language label and a corresponding model file are separate requirements. Amharic has no level-2 model. Where the output contains token rows for Amharic text, their analysis fields are empty and MISC carries the missing-parse marker. For a language without a model, the # parse comment reports that condition.

Output fieldValue on an unparsed token rowInformation absent
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation to the head
MISCParse=NoneMarker that the token has no parse

The fields describe the state of the output. For instance, _ in FEATS leaves open which features the surface form expresses. _ in HEAD and DEPREL supplies no basis for identifying either a root or a dependent. The appearance of token rows likewise gives no evidence of Amharic-specific tokenization or of a decision about the boundary between the noun and its definite marker in the example above. The segmentation label and the missing-parse marker record different stages of processing.

Annotated data and baseline measurements

Mova holds no annotated Amharic corpus. The package requirements in What every language gets call for the same Universal Dependencies baseline for each language. The baseline trains on a UD training split and evaluates the trained parser on the development split. Mova’s own parser and tagger are in the en crate. Its available models are English (en.bin) and French (fr.bin).

StageCommandRole in the baseline
Prepare the training annotationsen xpos-fillFill language-specific part-of-speech tags before training
Fit the parser and taggeren trainTrain on the language’s UD training split
Evaluate dependenciesen parse-evalMeasure unlabeled and labeled attachment on the development split

Unlabeled attachment score, or UAS, measures whether the parser assigns the reference head. Labeled attachment score, or LAS, requires both the reference head and the reference dependency relation. These measurements presuppose a trained model and annotated development data against which to compare its output. For Amharic, the baseline is unmeasured. The empty fields on unparsed text record missing analyses and supply no attachment scores.

A treebank baseline needs consistent reference decisions about which forms count as syntactic words, how those words are tagged, and how their heads and relations are annotated. For instance, a corpus has to represent forms with attached morphology consistently across the training and development splits. A gloss can identify a suffix within a form while leaving the tokenization and dependency annotation to the treebank’s conventions.

Dependencies for frames and pragmatics

Mova’s frames, pragmatics and world components (prag, world) read English trees. Amharic currently supplies no parsed trees to these components. A language label locates material in the input, and a missing-parse marker records the lack of an analysis. Neither supplies the predicate and dependent structure that a tree provides.

In the constructed sentence above, the translation has a predicate of coming and a participant who comes. The Amharic gloss identifies a perfective verb with third-person masculine singular inflection. A dependency analysis would describe the relation between the nominal and the verb. In the current output, the empty HEAD and DEPREL fields leave that relation unavailable to downstream processing. A parse would supply a prerequisite for processing Amharic, while the documented downstream input is English trees.

Grammar claims in Squid’s queue

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, wait in Squid’s queue for a place in Mova’s code. Queue membership records a claim’s status in that process. A queued claim has no effect on the analysis of a sentence until it is implemented.

For initial Amharic support, the grammar points of direct use are those needed for tokenization, tagging and a UD treebank baseline. Tokenization needs decisions about word boundaries and attached material. Tagging needs criteria for parts of speech and morphological features. Treebank annotation needs consistent analyses of heads and dependency relations. Each level makes a different decision about the same text.

For example, the following form includes definiteness and accusative marking on the object noun (constructed).

FormRomanizationGlossTranslation
ልጁን አየች።ləǧ-u-n ʾayyäččboy-DEF-ACC see.PFV.3SG.F“She saw the boy.”

A morphological claim about this example concerns the sequence of the definite and accusative markers on the noun. A tokenization decision concerns the span assigned to the syntactic word. A dependency claim concerns the function of the nominal with respect to the verb. The hyphens in the romanization make the morphological analysis visible. They are absent from the written form and supply no tokenization instructions to Mova.

How Mova handles Amharic today

At level 1, tools/mova-parse uses tools/langseg to label sentences and spans. Ethiopic falls outside the supported scripts and receives other. This stage does not identify Ethiopic spans as am. At level 2, the parser uses a model file for the language of each span. Missing models are reported in the # parse comment. There is no Amharic model, so Amharic token rows carry Parse=None in MISC and _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL. Mova does not provide Amharic tokenization, tagging, lemmatization or dependency parsing.

Mova has no annotated Amharic corpus and no measured Amharic treebank baseline. What every language gets calls for the same baseline as for other languages. In the en crate, en train trains a parser and tagger on the UD training split after en xpos-fill, and en parse-eval measures UAS and LAS on the development split. Models exist for English (en.bin) and French (fr.bin).

Mova’s frames, pragmatics and world components (prag, world) read English trees and currently receive no Amharic parse. Squid reads the manual as grammar claims and queues formalizable claims for implementation. The Amharic rules described here have yet to be implemented. The first points for implementation are those needed by a tokenizer, a tagger and a UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/am/32-amharic-in-mova/