Mova0.6 pre-release

Komi: the flag of the Komi Republic, blue, green and white 32. Komi in Mova

The kv edition serves Komi. Mova has Komi text from Wikipedia and a grammar manual for the edition. Its language identifier classifies Cyrillic as other, and its multilingual parser has no Komi model. The Komi package has no annotated treebank or measured parsing baseline.

The kv edition and language identification for Cyrillic

An edition code identifies the language of a collection or manual. Automatic language identification assigns a language to the text itself, at sentence and span level. A page from the kv edition can contain Komi prose alongside names, quotations and spellings in other languages. The edition code provides the context for the page as a whole.

The Komi Wikipedia material includes the following names for Karakalpak. The romanization column gives a Latin rendering of each Cyrillic form. The third row is already in Latin script. (Corpus wiki:kv:Каракалпак кыв.)

FormRomanizationGlossTranslation
Каракалпак кывKarakalpak kyvKarakalpak language‘the Karakalpak language’
Қарақалпақ тилиQaraqalpaq tiliKarakalpak language-POSS.3‘the Karakalpak language’
Qaraqalpaq tiliQaraqalpaq tiliKarakalpak language-POSS.3‘the Karakalpak language’

The first two forms illustrate why identifying Cyrillic leaves the language of a span unresolved. In the current tools/langseg, common Cyrillic script membership leads to the same other classification for both. The Latin-script identification route uses English and French lexical and character evidence. Its provision for adding another Latin-script language does not cover Cyrillic Komi.

Komi spans and the missing level-two model

Multilingual parsing has two levels. At level one, tools/langseg assigns sentence and span languages. At level two, tools/mova-parse uses the model for the language assigned to each span. A Komi span therefore needs both a Komi language assignment and an available kv model. Cyrillic identification and Komi parsing are separate gaps in the current pipeline.

When the model for a span's assigned language is missing, the # parse comment reports the omission. The token rows for that span carry the following values.

Output fieldValue without a model
LEMMA_
UPOS_
XPOS_
FEATS_
HEAD_
DEPREL_
MISCParse=None

A row with Parse=None records that parsing was unavailable. This status leaves the word's lemma, lexical category, inflection and dependency relations unspecified. It also gives no evidence that the row boundaries correspond to the units a Komi tokenizer would choose.

Published Komi treebank research and the package's corpus status

Partanen, Rueter and Poibeau describe work on Universal Dependencies (UD) for Komi-Zyrian. Their publication documents annotation work for the language and provides a reference for decisions about representing Komi in UD (Partanen et al. 2018, pp. 126–132). Mova's kv package currently holds no annotated treebank. A publication about an external treebank establishes the existence of research, while the package's corpus status reflects the data it holds for its own tools.

The Komi Wikipedia examples cited in this manual supply written forms and their contexts. For example, the heading below contains a plural noun followed by a place name in the inessive. (Corpus wiki:kv:География.)

FormRomanizationGlossTranslation
Канмуяс ЕвропаынKanmujas Evropayncountry-PL Europe-INE‘Countries in Europe’

The gloss identifies the plural and the locative case. A UD annotation would also specify lemmas, parts of speech, morphological features, the head of each word and the relation of each dependent to its head. To serve as evaluation material, the text would need reference annotations for the fields being evaluated. A corpus sentence identifier lets a reader locate the wording used in the example.

UD training and UAS and LAS baseline measurements

The language package calls for a common train-to-development baseline. A baseline starts with annotated UD training and development splits. en xpos-fill precedes en train, which trains a tree parser and tagger on the training split. en parse-eval evaluates parsing against the development annotations. The development split supplies the reference analyses for measuring how the trained parser performs on material outside its training split.

MeasureWhat counts as correct for a scored token
UAS, unlabeled attachment scoreThe predicted head matches the reference head.
LAS, labeled attachment scoreThe predicted head and dependency relation both match the reference annotation.

When the same tokens are scored, LAS can be lower than UAS because a token with the correct head can still have the wrong relation label. These measurements concern dependency attachment. Lemma and part-of-speech accuracy are separate questions, as is language identification in mixed text.

The baseline belongs to a particular model, data split and evaluation. Published work on Komi-Zyrian supplies linguistic and annotation context for building a baseline for kv (Partanen et al. 2018, pp. 126–132). Mova has measured neither UAS nor LAS for Komi. There is no package treebank on which to run the train-to-development evaluation and no Komi model for level-two parsing.

Dependencies required by frames and pragmatics

A dependency tree identifies the head of a clause and relates its dependents to their heads. Those links provide an analysis of which expressions belong to a predicate and what their grammatical roles are. For instance, a source-marked place name can be recognized from its inflection. Identifying which predicate the place expression modifies requires an analysis of the surrounding clause.

FormRomanizationGlossTranslation
Коми РеспубликасяньKomi RespublikaśańKomi Republic-EGR‘from the Komi Republic’

The example is an excerpt from a sentence locating the Komi-Permyak district relative to the Komi Republic. The egressive identifies the point from which the location is reckoned. The dependency analysis supplies the expression's attachment within that sentence. (Corpus wiki:kv:Коми Республика.)

Mova's frames, pragmatics and world components, prag and world, read English trees. Komi text currently yields no Komi dependency tree for them to read. Language identification supplies a language label, and morphology can describe the form of an expression. The downstream analysis needs the grammatical relations that a parsed tree provides.

Squid claims and the implementation queue

Squid reads the grammar manual and turns each grammatical point into a claim. Claims that can be formalized, including rules, closed lists and statistics, wait in its implementation queue for a place in Mova's code. The queue records claims for possible implementation. A claim takes effect in the language tools when its implementation is in place.

For Komi, the initial priorities are the facts needed for tokenization, tagging and a UD treebank baseline. Tokenization needs decisions about word boundaries in the written text. Tagging needs the categories and inflectional features used to describe the resulting words. A treebank baseline needs annotated training and development material with head and relation labels. The singular and plural distinctions described in the manual, for example, can inform annotations that a tagger is trained to predict. The appearance of a distinction in a manual establishes the description used for the claim. Training and evaluation require annotated instances of that distinction in context.

The Komi rules in the manual remain unimplemented. The grammar claims and the prospective training data serve different purposes. Claims state linguistic generalizations, and the annotated sentences supply references for training and evaluating predictions on particular texts.

How Mova handles Komi today

At level one, tools/langseg assigns languages to sentences and spans. Its Latin table, per-language lexicons and character four-gram model distinguish English and French in Latin script. It also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Cyrillic falls in other, so this stage does not identify Cyrillic spans as Komi. The route for adding a Latin-script language uses a lexicon from an open UD training split, built with langseg latin-lexicon, and a Lang code.

At level two, tools/mova-parse parses each span with the model for its assigned language. There is no model for kv. The missing-model path reports the omission in the # parse comment and sets LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL to _, with Parse=None in MISC. Mova currently provides no Komi tokenization, tagging, lemmatization or dependency parsing.

The en crate provides the training and evaluation workflow. en xpos-fill precedes en train, which trains the tagger and tree parser on the UD training split. en parse-eval measures UAS and LAS from training to development. English and French have models, en.bin and fr.bin. What every language gets asks for the same baseline for each language. Mova holds no annotated Komi corpus and has measured no Komi baseline.

prag and world read English trees. They currently have no Komi parse to read. Squid extracts claims from the manual and queues those it can formalize. The Komi rules remain unimplemented, with the requirements of a tokenizer, a tagger and a UD treebank baseline taking priority.

Sources for this chapter

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