Mova0.6 pre-release

Altai: the flag of the Altai Republic, white and light blue 24. Southern Altai in Mova

Southern Altai has the language code alt and appears in Mova’s text corpus. Its Cyrillic text falls outside the segmenter’s language coverage, and Mova has neither a Southern Altai parser model nor an annotated treebank for the language. This chapter explains how those gaps affect the output and what data the parsing baseline requires.

Language segmentation and Cyrillic coverage

The multilingual workflow begins with tools/langseg. At level 1 it assigns a language label to each sentence and span. Its Latin-script analysis 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 recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage receive other.

Southern Altai’s Cyrillic therefore falls under other. For example, the corpus has the form Оҥдой (Oñdoy, ONDОY, ‘Onguday’) in a place name. The letter ҥ is present in the input, but the segmenter has no Cyrillic recognition route that would use it to identify an alt span. The corpus’s language designation and the segmenter’s output describe different things. (wiki:alt:Јаан Јаламан)

The documented extension for a further Latin-script language adds a lexicon and a Lang code. The langseg latin-lexicon command supports building the lexicon from an open Universal Dependencies (UD) training split. That extension concerns Latin script. Identification of Southern Altai in its ordinary Cyrillic spelling requires coverage of Cyrillic.

The missing alt model and Parse=None output

At level 2, tools/mova-parse parses each span using the model for its assigned language. The model convention is <code>.bin, with the language code in both positions. There is no model for alt. The segmentation gap and the missing model affect successive steps. An alt label alone supplies no model with which to parse the span.

For a language whose model file is missing, tools/mova-parse reports the missing model in the # parse comment. On the affected token rows it writes the following values.

CoNLL-U fieldValueInformation absent or recorded
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneRecords the absence of a parse

The marker applies to the model’s output for those rows. The presence of rows in the output does not establish that Mova has a Southern Altai tokenizer. Likewise, an underscore in FEATS on such a row gives no morphological analysis of the form. It appears alongside the other unfilled annotation fields.

Treebank requirements and the unmeasured parsing baseline

Mova holds Southern Altai text, including the Wikipedia excerpts cited here. An annotated UD treebank adds sentence and token boundaries and a reference analysis for each sentence. Its token annotations supply lemmas, parts of speech and applicable morphological features. A dependency tree records each token’s syntactic head and relation. The package described in What every language gets calls for the same train-to-development parsing baseline for every language.

The phrase Алтай тилди (Altay til-di, Altai language-ACC, ‘the Altai language’) illustrates the difference between the available text and a reference analysis. A treebank would record token forms and lemmas, express the accusative on тилди in its morphological annotation, and use the full sentence to determine the dependency of the phrase. The cited corpus occurrence provides the wording in context. (wiki:alt:Тӧс бӱк)

The training split supplies the examples from which the parser and tagger learn. The development split supplies the reference trees against which parser predictions are scored. Unlabeled attachment score (UAS) measures how often the parser selects the reference head among the tokens evaluated. Labeled attachment score (LAS) requires the reference head and the reference dependency relation. Both measures require predicted and reference trees over the units being evaluated.

Mova has no Southern Altai treebank, so neither attachment score has been measured for alt. The baseline has no score, and the number of corpus excerpts does not determine one.

The parser and tagger training workflow

The en crate provides Mova’s own parser and tagger training. The workflow begins with en xpos-fill on the UD input. The XPOS field carries language-specific part-of-speech tags, while UPOS uses the common UD inventory. After that preparation, en train trains the tree parser and tagger on the language’s UD training split. en parse-eval measures UAS and LAS on the development split using the trained parser.

StageCommandData or result
Prepare the training dataen xpos-fillUD data prepared for training
Trainen trainTree parser and tagger trained on the UD training split
Evaluateen parse-evalUAS and LAS measured on the development split

The existing model files are en.bin for English and fr.bin for French. In multilingual parsing, tools/mova-parse uses the language label from the segmentation stage to select the corresponding model for a span. Training and evaluation establish a model and a baseline. Running that model on an identified Southern Altai span would also require the model file under the alt code.

Inputs required by frames and pragmatics

Mova’s frames, pragmatics (prag) and world component (world) read English dependency trees. A raw Southern Altai span supplies text, and a segment label supplies a language designation. The tree input has syntactic relations that neither the text alone nor the language label supplies. Rows marked Parse=None have no assigned heads or dependency relations for these components to read.

For Southern Altai, the missing parse therefore blocks the workflow before those components can use the analysis. Producing a Southern Altai dependency tree would supply the missing structural input. The stated coverage of the downstream components is English.

Grammar claims in Squid and their implementation status

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, wait in Squid’s queue for a place in Mova’s code. A claim’s presence in the manual or the queue does not establish that it affects any processing stage.

The form кӧлдӧрдиҥ (köl-dör-diñ, lake-PL-GEN, ‘of the lakes’) illustrates the relation between a grammar description and the data a tagger needs. The gloss identifies plural and genitive in the attested word. A tagger needs annotated examples that connect written forms with their lemmas and features, while a dependency analysis also needs the word’s relation to the surrounding phrase. The gloss here describes the corpus form. (wiki:alt:Аккем-Кӧл)

The first grammatical points for implementation are those needed by a tokenizer, a tagger and a UD treebank baseline. Tokenization needs decisions about written word boundaries, punctuation and the units to annotate. Tagging needs the distinctions expressed by parts of speech and morphological features. The treebank needs dependency analyses that apply consistently across the training and development data. These are prerequisites for measuring the analysis on Southern Altai text.

How Mova handles Southern Altai today

At level 1, tools/langseg labels sentences and spans. Southern Altai Cyrillic falls under other, so the segmenter does not identify it as alt. At level 2, tools/mova-parse looks for the model corresponding to the span’s language. No alt model exists. For missing-model output it reports the gap in # parse, leaves LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL as _, and adds Parse=None in MISC. Southern Altai has no implemented tokenization, tagging, lemmatization or dependency parsing.

Mova holds no Southern Altai treebank, and the baseline required by What every language gets remains unmeasured. The en crate provides the shared workflow through en xpos-fill, en train and en parse-eval. Mova’s frame analysis, prag and world read English trees and have no Southern Altai parse to read.

Squid records the manual’s grammatical points as claims and queues the formalizable ones. The Southern Altai rules described in the manual are awaiting implementation. The first points needed are those that support tokenization, tagging and a UD treebank baseline.

Sources for this chapter

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