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.
| Material | Treatment by tools/langseg |
|---|---|
| English and French in Latin script | Distinguished using a Latin table, a lexicon for each language and a character 4-gram model |
| Hebrew-script material | Distinguished by variety within the segmenter’s Hebrew-script coverage |
| Hebrew or Aramaic in scholarly transliteration | Recognized in scholarly transliteration |
| Scripts outside the segmenter’s coverage, including Cyrillic | Assigned 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.
| Form | Romanization | Gloss | Translation | Corpus ID |
|---|---|---|---|---|
| Римэнь сёрмадомазо | Rimeń sërmadomazo | Rome-GEN writing-POSS.3SG | ‘Its Roman notation’ | wiki:myv:22 (ловома вал) |
| XXII | XXII | twenty-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.
| Field | Value | Information 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 |
| MISC | Parse=None | Explicit 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.
| Form | Romanization | Gloss | Translation | Corpus ID |
|---|---|---|---|---|
| веле Чополтбуесэ, Мордовиясо | vele Čopoltbuese, Mordovijaso | village Č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.
| Resource | Availability | Role |
|---|---|---|
| UD Erzya-JR | Published externally in UD release 2.15 | Versioned Erzya dependency annotation (Rueter et al. 2024, § Summary) |
| Erzya Wikipedia records | Held by Mova as corpus text | Attested text with record IDs |
| Erzya treebank in Mova | Absent | Required reference data for a training and evaluation baseline |
| Erzya parser model in Mova | Absent | Required 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.
| Stage | Command | Role |
|---|---|---|
| Prepare the training data | en xpos-fill | Prepare the XPOS column before training |
| Fit the model | en train | Train the tree parser and tagger on the UD training split |
| Measure attachment | en parse-eval | Evaluate 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.
| Measurement | Current Erzya result |
|---|---|
| UAS, training split to development split | Unmeasured |
| LAS, training split to development split | Unmeasured |
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
- Rueter, Jack, and Francis M. Tyers. 2018. Towards an Open-Source Universal-Dependency Treebank for Erzya. Proceedings of the Fourth International Workshop on Computational Linguistics of Uralic Languages, 106–118. Helsinki: Association for Computational Linguistics. — CC BY 4.0; not held in the library, to verify
- Rueter, Jack, and contributors. 2024. UD Erzya-JR. Universal Dependencies treebank, release 2.15. github.com/UniversalDependencies/UD Erzya-JR/tree/r2.15 — CC BY-SA 4.0; not held in the library, to verify
This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/myv/29-mova-tools/