Mova0.6 pre-release

Udmurt: the flag of Udmurtia, black, white and red with the red solar sign 24. Udmurt in Mova

The Udmurt edition uses the language code udm. Mova includes Udmurt text and a reference grammar, but has neither an annotated Udmurt treebank nor a trained Udmurt parser model. The distinction matters when reading output. A Cyrillic span may lack an Udmurt language label, and a span supplied as udm can be reported without a dependency analysis.

1. Language identification and Cyrillic input

Language identification comes before dependency parsing. The first level, tools/langseg, assigns languages to sentences and spans. It distinguishes English and French in Latin script using a Latin table, language lexicons and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew and Aramaic in scholarly transliteration. Scripts outside its supported set are classified as other. Udmurt Cyrillic falls into this last category.

The code udm identifies the language in the edition and in the parser’s model lookup. Automatic assignment of that code requires language identification to recognize the input as Udmurt. Udmurt letters in a Cyrillic span, such as ӧ in the first example below, do not by themselves activate an Udmurt identification rule. A Latin-script name within a passage can occur alongside Udmurt Cyrillic without supplying an Udmurt label for the passage.

These short excerpts show both kinds of input. The gloss abbreviations are PL for plural, INS for instrumental and GEN for genitive.

FormRomanizationGlossTranslationCorpus sentence ID
“пӧртэм кылъёсын”pörtem kylʺësyndifferent language-PL-INS‘in different languages’wiki:udm:Кутскон бам
“Dart газетлэн”Dart gazetlenDart newspaper-GEN‘of the newspaper Dart’wiki:udm:Дарт

2. The udm model slot and Parse=None output

At the second level, tools/mova-parse looks up the model for the language assigned to each span. The lookup is language-specific. The udm slot has no level-2 model, so a span handled under that code receives the missing-model output. The # parse comment reports the missing model, and the token records carry Parse=None in MISC.

Output fieldValue for a token reported without the udm modelInformation left unavailable
LEMMA_Dictionary form
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneExplicit indication that the parser supplied no analysis

The two levels answer different questions. An other label at the first level records the limits of language identification. Parse=None at the second level records the absence of an analysis for a span whose language has no model. The presence of token records with underscores gives no Udmurt tokenization, tagging or lemmatization capability to the pipeline. In particular, an underscore in HEAD leaves head assignment unmade, so a reader cannot use it to identify a root or reconstruct a tree.

3. Annotated data and the status of UAS and LAS measurements

Mova’s Udmurt corpus examples are text excerpts with sentence identifiers. They provide attested forms and contexts for the manual. Mova holds no annotated Udmurt corpus with reference Universal Dependencies (UD) trees. A corpus identifier therefore locates an example but supplies no reference analysis against which to score a parser.

Unlabeled attachment score (UAS) measures head assignment. An attachment is correct for UAS when its predicted head matches the reference head. Labeled attachment score (LAS) requires the predicted head and the dependency relation to match the reference. A predicted attachment with the correct head and an incorrect relation counts as correct for UAS and incorrect for LAS.

Baseline componentStatus for Udmurt in Mova
Annotated UD treebankAbsent
Level-2 parser modelAbsent
Train-to-development UASUnmeasured
Train-to-development LASUnmeasured

The unmeasured scores have no numerical value. Rows marked Parse=None record missing analyses in ordinary output. They do not constitute an evaluation run against annotated development data.

4. The dependency baseline and open data requirements

The package specification in What every language gets calls for the same dependency baseline for every language. Mova’s own pipeline uses the en crate. After en xpos-fill, en train trains a tree parser and tagger on the language’s UD training split. en parse-eval measures UAS and LAS from training to development. English and French have models, en.bin and fr.bin. For Udmurt, the package requirement describes the intended baseline and there is no measured result.

An open Udmurt treebank for this baseline would need a training split and a separate annotated development split. The training split would supply examples for the tagger and parser. The development split would supply the reference heads and relations for attachment scoring. The underlying analysis would need to make consistent decisions about token boundaries, lemmas, tags, morphological features, heads and dependency relations. A collection of open text can supply sentences to annotate. Its license and sentence identifiers do not supply the annotations.

The open training data used for a language-identification lexicon serve a separate purpose. For an additional Latin-script language, langseg latin-lexicon uses an open UD training split to supply a lexicon, and the language also needs a Lang code. That route applies to Latin-script recognition. Udmurt’s ordinary Cyrillic input is outside it. A trained dependency model would fill the second-level slot, while support for automatically identifying Udmurt Cyrillic would still belong at the first level.

5. Frames, pragmatics and the Squid claim queue

Mova’s frame, pragmatic and world processing reads English dependency trees. This processing has no Udmurt tree to consume. The current Udmurt output therefore provides no frame or pragmatic analysis. A dependency parse would provide the tree needed as input, while the current downstream processing is defined for English trees.

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, enter a queue for a place in Mova’s code. A claim’s presence in the queue records a point that can be formalized. Implementation requires a corresponding change in the tools.

This distinction applies even when the manual gives a complete account of a rule and illustrates it with corpus text. A form with an identified plural or case ending in a gloss is an example of the grammar. It supplies neither a morphological feature in parser output nor a scored tagger decision. For the Udmurt package, the first grammar points relevant to implementation are those needed for tokenization, tagging and a UD treebank baseline.

6. How Mova handles Udmurt today

tools/mova-parse uses tools/langseg to label sentences and spans, then looks up a parser model for each span’s language. tools/langseg covers English and French in Latin script, Hebrew-script varieties, and Hebrew and Aramaic in scholarly transliteration. Udmurt Cyrillic falls under other. The lexicon and Lang extension using langseg latin-lexicon is for further Latin-script languages.

There is no level-2 model for udm. For input handled under that code, tools/mova-parse reports the missing model in the # parse comment and leaves the token records with _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and Parse=None in MISC. Mova does not tokenize, tag, lemmatize or parse Udmurt.

Mova holds no Udmurt treebank, and neither UAS nor LAS has been measured for Udmurt. The baseline specified in What every language gets is the one supported by the en crate, with en xpos-fill before en train on the UD training split and en parse-eval for train-to-development attachment scores. Models exist for English and French as en.bin and fr.bin.

The frame, pragmatic and world tools read English trees, and prag and world have no Udmurt tree to read. Squid can turn the manual’s grammatical points into claims and queue the formalizable ones. The rules remain unimplemented. The first points for implementation are those a tokenizer, a tagger and a UD treebank baseline need.

Sources for this chapter

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