Mova0.6 pre-release

Kalmyk: the flag of Kalmykia, a white lotus on a blue disc on gold 29. How Mova handles Kalmyk

Kalmyk has a Mova language package under the code xal. The package has grammar documentation and text examples. A Kalmyk parser model, an annotated treebank and attachment scores are absent. These are separate parts of the package, and each requires different data.

The current Kalmyk package

The xal code identifies Kalmyk in the manual and in corpus records. A corpus record can carry this code because its source is a Kalmyk collection. The code on the record supplies information about its provenance. Identifying the language of each passage inside the record is a separate task, since the text can include names, quotations and glosses in other languages.

The supplied Kalmyk Wikipedia records are examples of the text available for inspection. They include short labels as well as running text. An annotated Universal Dependencies (UD) treebank would add a defined tokenization, grammatical annotation and dependency relations for individual sentences. Mova has no such Kalmyk corpus. The grammar manual provides descriptions from which annotation decisions can be made.

Script coverage and language segmentation

The level-1 segmenter, tools/langseg, assigns a language at sentence and span level. In Latin script it distinguishes English and French using a Latin table, a lexicon for each language and a character 4-gram model. It also distinguishes Hebrew-script varieties and identifies Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage fall into other. Kalmyk Cyrillic and Clear Script both fall into that category. A Latin romanization of Kalmyk uses a covered script, but there is no Kalmyk entry among the Latin-script languages the segmenter distinguishes.

The following short names occur in one corpus record. Each row gives the written form, its romanization where needed, a word-level gloss and an English rendering.

FormRomanizationGlossEnglish renderingCorpus sentence ID
“Хальмг Таңһч”Khalʹmg TaŋhčKalmyk republicRepublic of Kalmykiawiki:xal:Хальмг Таңһч
“Республика Калмыкия”Respublika Kalmykiyarepublic KalmykiaRepublic of Kalmykiawiki:xal:Хальмг Таңһч
“Republic of Kalmykia”republic of KalmykiaRepublic of Kalmykiawiki:xal:Хальмг Таңһч

The first two names illustrate what the other category leaves unresolved. Both are Cyrillic, and the script category gives no distinction between the Kalmyk and Russian names. The English name is in Latin script, for which English is one of the languages the segmenter can distinguish. The table gives corpus forms and their readings. It records no segmentation result for that entry.

Output in the absence of a Kalmyk parser model

At level 2, tools/mova-parse parses a span with the model for its assigned language. A Kalmyk span would require a model for xal. The missing-model behavior applies when a span has been assigned a language whose model file is absent. The # parse comment reports the language for which the model is missing, and any token rows for the span carry the following values.

FieldValueInformation left unspecified
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=NoneParse status is explicitly marked as absent

These values describe the parse status of the output. An underscore in FEATS leaves the morphological analysis unspecified. An underscore in HEAD or DEPREL leaves the attachment unspecified, including whether the token would be the root of a tree. The presence of token rows also supplies no evidence that a Kalmyk tokenizer has analyzed the spelling. The condition for reaching the missing-model behavior specifically for xal is that the language is already identified as xal. A Cyrillic span classified as other has no such identification.

Treebank availability and baseline measurements

Mova holds no Kalmyk UD treebank, so there is no Kalmyk training split for the standard baseline and no development split against which to score it. The supplied corpus extracts provide forms in context. They supply no reference heads or dependency labels that an evaluation could compare with parser output.

The baseline uses two attachment measures on development data. Unlabeled attachment score (UAS) measures how often the parser assigns the reference head. Labeled attachment score (LAS) requires the reference head and the reference dependency relation on the same attachment. Both require reference trees. A record with Parse=None is a report of absent analysis and supplies no attachment measurement. Neither UAS nor LAS has been measured for Kalmyk in Mova.

Training and evaluation in Mova

Mova’s own tree parser and tagger are in the en crate. The trained models available in this workflow are en.bin for English and fr.bin for French. The language package specification in What every language gets calls for the same training-to-development baseline for each language.

StageCommandRole in the baseline
Preparationen xpos-fillPrepare the UD training split before training
Trainingen trainTrain the tree parser and tagger on the prepared UD training split
Evaluationen parse-evalMeasure UAS and LAS on the development split using the model trained on the training split

For Kalmyk, the training data would need to specify which words are tokens, which grammatical values they carry and how each tree is attached. The development data would need the corresponding reference analyses for a separate set of sentences. Choices about how to represent Kalmyk constructions in UD affect both stages. For example, an analysis of a participial modifier needs to specify the modifier’s annotation and its attachment within the noun phrase. Recording those decisions consistently makes the trees usable for training and makes the resulting scores interpretable.

Frames, pragmatics and their input requirements

Mova’s frame, pragmatic and world components, including prag and world, read English trees. A language assignment identifies the language of a span and supplies none of the tree structure these components read. For a Kalmyk span with empty head and relation fields, there is no dependency tree to pass to them.

A Kalmyk tree is therefore a prerequisite for processing Kalmyk at these levels. The current input coverage is English. There is no Kalmyk output from these components in the current pipeline, even where an English translation of a Kalmyk expression is available in the source text.

Squid claims and priorities for initial tooling

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable rules, closed lists and statistics are queued for a place in Mova’s code. A queued claim records a point that can be used in implementation. Its presence in the queue does not change the behavior of the parser or the segmenter.

For initial Kalmyk tooling, the claims with the most immediate use are those that define tokenization, support tagging or guide the annotation of a first UD treebank. The relevant parts of the grammar serve different purposes.

Initial taskGrammar points that bear directly on it
TokenizationThe writing system and punctuation, including boundaries around words, numerals and attached material
TaggingWord classes and the forms and features of nouns, pronouns and verbs
UD treebank annotationHeads and relations in simple clauses and noun phrases, followed by attachment decisions for constructions such as participial modifiers and clause chains

Language identification is also needed for Kalmyk spans to reach a future xal model through multilingual parsing. For an additional Latin-script language, the available route is to add a lexicon and a Lang code, using langseg latin-lexicon with open UD training splits. Kalmyk’s Cyrillic and Clear Script coverage poses a different requirement, since both scripts currently enter the other category.

How Mova handles Kalmyk in the current pipeline

Multilingual processing starts with language assignment by tools/langseg. Kalmyk Cyrillic and Clear Script have no language-specific assignment there. Where xal is identified, tools/mova-parse has no level-2 model for it. The # parse comment reports the missing model, and the token rows have Parse=None in MISC and _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL. Mova currently provides no Kalmyk tokenization, tagging, lemmatization or dependency parsing.

There is no Kalmyk treebank in Mova and no measured train-to-development baseline. The components that read English trees have no parsed Kalmyk input. Squid records the manual’s grammatical claims, with formalizable claims queued for implementation. The grammar rules remain unimplemented in the pipeline.

Sources for this chapter

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