Mova0.6 pre-release

Erzya and Moksha: the flag of Mordovia, red, white and blue with the red solar rosette 29. Erzya in Mova

Mova accepts multilingual text through tools/mova-parse. Its language segmenter groups material by language, and its parser uses a trained model for each supported language. Erzya (myv) has Wikipedia text in Mova’s corpus holdings and a treebank published separately through Universal Dependencies (UD). Mova has no Erzya model, annotated corpus or measured parser baseline.

Language segmentation and the treatment of Cyrillic

At level 1, tools/langseg assigns a language label to each sentence and span. The span matters when the language changes inside a sentence, since level 2 selects a parser model for each span. A label identifies the material for model selection. It supplies no analysis of word forms or grammatical relations.

MaterialTreatment by tools/langseg
English and French in Latin scriptDistinguished using a Latin table, a lexicon for each language and a character 4-gram model
Hebrew-script materialDistinguished by variety within the segmenter’s Hebrew-script coverage
Hebrew or Aramaic in scholarly transliterationRecognized in scholarly transliteration
Scripts outside the segmenter’s coverage, including CyrillicAssigned other

A further Latin-script language can be added through a Lang code and a lexicon from an open UD training split, using langseg latin-lexicon to obtain the lexicon. Literary Erzya in Cyrillic falls under other. That label groups scripts outside the segmenter’s coverage and has no Erzya-specific value.

The corpus supplies a separate piece of information, the language of the source record. An Erzya Wikipedia record may contain Cyrillic text from another language, as the Russian notices in wiki:myv:Прявтлопа illustrate. It can also contain Latin characters as part of notation, as in the Roman numerals in wiki:myv:22 (ловома вал). The record label therefore describes the source of the material. A language assignment to an individual span requires evidence at the span level.

FormRomanizationGlossTranslationCorpus ID
Римэнь сёрмадомазоRimeń sërmadomazoRome-GEN writing-POSS.3SG‘Its Roman notation’wiki:myv:22 (ловома вал)
XXIIXXIItwenty-two in Roman numerals‘22’wiki:myv:22 (ловома вал)

Here GEN marks genitive and POSS.3SG marks a third-person singular possessor. The first fragment labels a field and the second gives its value. The Roman numeral can be interpreted from the organization of the entry. This example illustrates the input material and supplies no observed segmenter labels for the fragments.

Parser output for Erzya without a model

At level 2, tools/mova-parse looks for the model belonging to the language of the span. There is no model file for myv. The missing-model output records this status in the # parse comment and uses the following values on token rows returned for the material.

FieldValueInformation left unassigned
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Index of the syntactic head
DEPREL_Dependency relation
MISCParse=NoneExplicit marker that a parse is absent

Read Parse=None as a status of the analysis. For example, _ in HEAD leaves even root status unassigned, and _ in FEATS leaves open whether a form carries case, number, person or other features. The presence of a token row gives no evidence that Mova has applied Erzya tokenization rules. Likewise, other is a segmentation label, whereas Parse=None records the absence of a parse. They answer different questions about the passage.

FormRomanizationGlossTranslationCorpus ID
веле Чополтбуесэ, Мордовиясоvele Čopoltbuese, Mordovijasovillage Čopolt.district-INE Mordovia-INE‘a village in the Čopolt District, in Mordovia’wiki:myv:Тумсово (Чополтбуе)

The gloss uses INE for inessive. An Erzya analysis can assign that case to both place expressions and examine their attachment to the rest of the sentence. The missing-model output leaves the case features, heads and dependency relations open. The gloss describes the corpus fragment itself.

Published Erzya UD data and Mova's corpus holdings

Rueter and Tyers describe the work toward an open-source Erzya treebank in Universal Dependencies. UD Erzya-JR is a separately published treebank with a versioned release in UD 2.15. The paper gives the research context for Erzya UD annotation, and the release identifies a specific version of the annotated data. (Rueter and Tyers 2018, pp. 106–118; Rueter et al. 2024, § Summary)

Mova’s Erzya holdings include Wikipedia records with article text, short labels, names and numeric material. The examples in these records can support discussion of spelling and constructions. Mova holds no Erzya treebank with token-level gold annotations. For parser evaluation, gold annotations are the reference forms, tags, features and dependencies against which predictions can be compared.

ResourceAvailabilityRole
UD Erzya-JRPublished externally in UD release 2.15Versioned Erzya dependency annotation (Rueter et al. 2024, § Summary)
Erzya Wikipedia recordsHeld by Mova as corpus textAttested text with record IDs
Erzya treebank in MovaAbsentRequired reference data for a training and evaluation baseline
Erzya parser model in MovaAbsentRequired for level-2 Erzya parsing

Publication, corpus holdings and model availability concern different resources. A published treebank provides annotated examples. A Wikipedia record supplies the text of a passage with its corpus ID. At runtime, model selection requires a trained model file for the span’s language.

The training and evaluation workflow and current measurements

The language package specifies a common train-to-development baseline. Mova’s en crate contains the parser and tagger used for this workflow. Training uses a language’s UD training split, and evaluation uses its development split.

StageCommandRole
Prepare the training dataen xpos-fillPrepare the XPOS column before training
Fit the modelen trainTrain the tree parser and tagger on the UD training split
Measure attachmenten parse-evalEvaluate the trained parser on the development split and report UAS and LAS

Unlabeled attachment score (UAS) measures the share of evaluated tokens assigned the reference head. Labeled attachment score (LAS) requires the reference head and the reference dependency relation on the same token. A correct head with a wrong relation contributes to UAS alone. Both measures assess syntactic attachment. Lemma and morphological-feature accuracy require separate comparisons.

MeasurementCurrent Erzya result
UAS, training split to development splitUnmeasured
LAS, training split to development splitUnmeasured

The measurements are unavailable because Mova has no Erzya treebank baseline. The Erzya status carries no attachment score. In particular, counting the empty HEAD and DEPREL fields in missing-model output would count absent predictions, while both attachment metrics require predictions aligned with a gold development set. English and French have models, en.bin and fr.bin. The package calls for the same baseline procedure for Erzya once the necessary annotated data are available.

Frames, pragmatics and the claims Squid queues

Mova’s frame, pragmatics and world components, including prag and world, read English trees. For Erzya there is currently no parsed tree for these components to read. A sentence can therefore be present in the text corpus while its predicate and arguments, referents and communicative function remain unanalyzed by these components. Publication of Erzya dependency annotation supplies data for work on syntax. The stated input coverage of the downstream components is English.

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims enter its queue. This covers rules with specified conditions and exceptions, closed lists and statistics. The queue holds claims awaiting a place in Mova’s code. A claim’s presence there indicates pending implementation.

The earliest implementation needs are those of a tokenizer, a tagger and a UD treebank baseline. At the level of a manual claim, a tokenizer needs conditions for a boundary, a tagger needs conditions for assigning a category or feature, and a baseline needs reference annotations against which parser decisions can be measured. A gloss in this manual gives the analysis of its example. The queue can retain the formalizable grammatical point that the example illustrates.

How Mova handles Erzya today

Level 1 of tools/mova-parse uses tools/langseg to label sentences and spans. Its coverage includes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Cyrillic falls under other, so the segmenter’s script and lexicon coverage gives Cyrillic Erzya no myv identification.

Level 2 uses a model file for the language of each span. Erzya has no level-2 model. Mova has no Erzya tokenization, tagging, lemmatization or dependency parsing. tools/mova-parse reports a missing model in the # parse comment, with _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC.

The baseline in What every language gets uses en xpos-fill before en train on UD training data and en parse-eval to measure UAS and LAS on development data. Models exist for English (en.bin) and French (fr.bin). Mova holds no annotated Erzya corpus, so its Erzya treebank baseline is unmeasured.

The frame, pragmatics and world components read English trees, and prag and world have no Erzya tree input. Squid makes claims from grammatical points in the manual and queues the formalizable rules, closed lists and statistics. Those Erzya claims are pending implementation. The first points needed are those for tokenization, tagging and a UD treebank baseline.

Sources for this chapter

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