Elamur: **Mova** · [Parse](https://mova.elamur.ai/free/en/parse/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/)

[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/languages/mdf/30-moksha-in-mova/)

[Mova](https://md.mova.elamur.ai/free/en/) / [docs](https://md.mova.elamur.ai/free/en/docs/) / [languages](https://md.mova.elamur.ai/free/en/docs/languages/) / [mdf](https://md.mova.elamur.ai/free/en/docs/languages/mdf/) / 30. Moksha in Mova

# 30. Moksha in Mova

Mova uses `mdf` as the language code for Moksha. Its Moksha data include text excerpts, and Squid reads the grammar manual as a collection of grammatical claims. Moksha currently has neither a parser model nor an annotated treebank in Mova. These gaps determine what the parser can return and which measurements are available.

## Language identification and the limits of Cyrillic coverage

The multilingual pipeline first assigns a language to each sentence and span. The language assigned to a span determines which model the next stage looks for. The identifier has specific support for English and French in Latin script, for Hebrew-script varieties, and for Hebrew or Aramaic in scholarly transliteration. Cyrillic falls into the `other` category. Ordinary Moksha Cyrillic text therefore receives no automatic `mdf` identification from the script.

The `mdf` in a corpus identifier gives the language of the source. For example, the entry `wiki:mdf:Салацгрива` contains **ошсь Латвияса**, romanized *ošsʹ Latvijasa*, glossed `town.DEF.NOM.SG Latvia.INE`, ‘the town in Latvia’. The source identifier supplies the Moksha label independently of what the language identifier can infer from the text. In a mixed-script sentence, an identifiable span in another language can receive its own label while the Cyrillic span falls into `other`.

The existing procedure for adding a Latin-script language uses a lexicon and a language code, with lexical data obtainable from an open UD training split. That procedure applies to the Latin-script branch of the identifier. Automatic recognition of literary Moksha in its ordinary spelling would require coverage for Cyrillic and a way to distinguish Moksha from other Cyrillic languages.

## Parser availability and unannotated output

The second stage of `tools/mova-parse` looks for the model belonging to the language assigned to each span. There is no level-2 model for `mdf`. When a span is presented at that level as Moksha, the missing model is reported in the `# parse` comment. Any token records returned for the span carry the following values.

| Field | Value for a span without a model |
| --- | --- |
| `LEMMA` | `_` |
| `UPOS` | `_` |
| `XPOS` | `_` |
| `FEATS` | `_` |
| `HEAD` | `_` |
| `DEPREL` | `_` |
| `MISC` | `Parse=None` |

The underscores mark absent analyses. A missing `FEATS` entry supplies no evidence about which features a word bears, and missing `HEAD` and `DEPREL` entries supply no dependency attachment. `Parse=None` records the status of the parse. A token record in this output does not establish that a Moksha tokenizer has determined the word boundaries.

The input excerpts contain material that matters for those boundaries. In **25 июльста**, romanized *25 ijulʹsta*, glossed `25 July.ELA`, ‘on 25 July’, a digit sequence stands next to an inflected month name (`wiki:mdf:1567`). The stored excerpt provides that written sequence. A Moksha analysis would also need to identify the month form's lemma and case and determine how the date attaches in the sentence.

## Treebank availability and the UAS and LAS baseline

Mova holds no annotated Moksha treebank. The supplied corpus excerpts provide written forms and contexts, but supply no gold heads or dependency relations for evaluation. Accordingly, there is no measured Moksha treebank baseline, and both attachment scores are unavailable.

| Measure | What counts as correct for an evaluated token | Moksha result in Mova |
| --- | --- | --- |
| UAS, unlabeled attachment score | The predicted head matches the gold head. | Unmeasured |
| LAS, labeled attachment score | The predicted head and dependency relation both match the gold annotation. | Unmeasured |

Both scores are proportions over the tokens evaluated. A correct head paired with an incorrect relation counts toward UAS alone. Reporting either score requires a parsed evaluation split and its reference annotations. An unannotated span with `Parse=None` supplies neither.

Mova's package calls for a Universal Dependencies (UD) baseline for each language. The workflow uses `en xpos-fill` before `en train` trains a tagger and dependency parser on a UD training split. `en parse-eval` measures UAS and LAS on the development split. The crate currently has models for English and French. For Moksha, the missing annotated train and development splits prevent this workflow from yielding a comparable result.

## Frames and pragmatics

Mova's frame, pragmatic and world components, `prag` and `world`, read English trees. They have no Moksha tree to read. An identifier on a corpus entry, a span label and a row of unannotated token fields are each insufficient as input for those analyses.

The excerpt **Сон азонды**, romanized *son azondy*, glossed `3SG tell.NPST.3SG`, ‘he or she tells’, illustrates the distinction between the kinds of information involved (`wiki:mdf:Авеста`). A dependency analysis would identify the pronoun as the subject of the telling predicate. A frame analysis would represent the participants and the content of the telling. Resolving whom the pronoun refers to would require discourse context. Mova currently supplies none of those analyses for the excerpt. A Moksha dependency tree would supply the syntactic input, and use of that input by components that currently read English trees would remain a further step.

## Squid claims and priorities for a parser baseline

Squid reads each grammatical point in the manual as a claim. Formalizable rules, closed lists and statistics enter its queue for possible implementation. Queue status describes the claim's place in Squid's workflow. It confers no parsing capability and provides no measured coverage.

The first priorities are the decisions needed to produce annotated text and evaluate a parser.

1. **Tokenization and sentence boundaries.** Establish annotation decisions for running Cyrillic text, punctuation, abbreviations, dates and mixed-script passages. The supplied excerpts include incomplete passages and text from tables, so the presence of a stored excerpt alone cannot settle a sentence boundary.
2. **Lemmas, tags and features.** Specify how annotation represents the distinctions in Moksha inflection, including case and number, the definite and possessive declensions, and subject and object marking on verbs. The annotation must account for forms whose analyses depend on context, so a form list alone cannot determine all tags or features.
3. **Heads and relations.** Apply UD decisions consistently to the phenomena the treebank covers, including nominal predication, postpositional phrases and clauses with nonfinite predicates. Gold analyses provide the reference needed to tell a head error from a relation error.
4. **Training and evaluation.** Provide annotated train and development splits and run the prescribed baseline. The resulting scores would characterize attachment accuracy on that evaluation split. Separate analyses would be needed to measure language identification or the accuracy of frames and pragmatics.

These priorities have different roles in the multilingual pipeline. A treebank and model would support parsing at level 2. Automatic routing of ordinary Moksha text would also need a level-1 identification decision that supplies the `mdf` label.

## How Mova handles Moksha today

At level 1, `tools/mova-parse` uses `tools/langseg` to assign languages to sentences and spans. Its Latin table, language lexicons and character 4-gram model distinguish English and French in Latin script. It also recognizes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts, including Moksha Cyrillic, are classified as `other`. The procedure for adding a supported Latin-script language uses a `Lang` code and a lexicon from an open UD training split through `langseg latin-lexicon`.

At level 2, `tools/mova-parse` looks for the assigned language's model. Moksha has no model. For a span assigned `mdf`, the parser reports the missing model in the `# parse` comment. Its token records have `_` in `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD` and `DEPREL`, and `Parse=None` in `MISC`. Mova provides no Moksha tokenization, tagging, lemmatization or dependency parsing.

The `en` crate implements Mova's baseline for a language with UD training and development data. `en xpos-fill` precedes training, `en train` trains the tagger and tree parser, and `en parse-eval` measures development-set UAS and LAS. Models exist for English (`en.bin`) and French (`fr.bin`). The language package asks for the same baseline for every language. Mova has no annotated Moksha treebank, so it has measured neither score for Moksha.

The `prag` and `world` components read English trees and have no parsed Moksha input. Squid reads the manual's grammatical points as claims and queues those that can be formalized. The queued Moksha claims remain unimplemented. The first implementation priorities are the rules and distinctions needed for tokenization, tagging and a UD treebank baseline.

## Sources for this chapter

- No source was planned for this chapter; its points are to be checked against public-domain and open grammars (see [Sources](https://md.mova.elamur.ai/free/en/docs/languages/mdf/sources/)).
- [← previous 29. Reference, dialogue and discourse](https://md.mova.elamur.ai/free/en/docs/languages/mdf/29-reference-and-discourse/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/mdf/sources/)
- [↑ back to Moksha (mdf) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/mdf/)

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://mova.elamur.ai/sitemap.xml) · [llms.txt](https://mova.elamur.ai/llms.txt)
