23. How Mova handles Cheyenne
Mova has Cheyenne text in its corpora, but it has neither an annotated Cheyenne treebank nor a parser model for chy. This chapter explains how to read the corpus labels and parser output, which measurements are available, and what Squid does with the grammatical claims in this manual.
Cheyenne spans and language identification
Mova’s multilingual parser works at two levels. At level 1, tools/langseg assigns a language to each sentence and span. At level 2, tools/mova-parse uses the model for the language assigned to each span. A sentence can therefore contain spans assigned to different languages, and model availability is checked for each span.
For Latin-script language identification, tools/langseg 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 the supported set receive other. To add a Latin-script language through the documented route, the segmenter needs a lexicon and a Lang code. The langseg latin-lexicon command builds lexicons from open Universal Dependencies (UD) training splits.
Cheyenne uses Latin script in the corpus excerpts. The current Latin-script language inventory contains English and French, so it has no dedicated Cheyenne identification. A Cheyenne label on an excerpt records the corpus language. The output of automatic span identification is a separate matter, particularly where an excerpt contains names, translations or other text in a different language.
The following Cheyenne forms occur as plant names. Each gloss is for the whole form. The accompanying scientific names identify the plants.
| Cheyenne form | Gloss | English translation and referent | Corpus sentence ID |
|---|---|---|---|
| “me'êškema” | BOXELDER | ‘boxelder’ (Acer negundo) | wiki:chy:Hoohtsêstse |
| “no'aneonó'e” | SMOOTH.SUMAC | ‘smooth sumac’ (Rhus glabra) | wiki:chy:Hoohtsêstse |
Unannotated output and Parse=None
When a span has a language assignment but its model file is missing, tools/mova-parse reports the language in the # parse comment. The token rows for that span have six unfilled annotation fields and a marker in MISC. This is the output for spans supplied to the parser as chy, since the Cheyenne level-2 model is absent.
| Field | Value | Information left unfilled |
|---|---|---|
| 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 to the head |
| MISC | Parse=None | Records the absence of a parse for the token |
The # parse comment identifies the language for which a model was unavailable. The Parse=None marker records the resulting status on the individual token rows. For example, an underscore in FEATS in such a row leaves the form’s features unspecified. It gives no evidence about whether the form has overt inflection. Similarly, an underscore in HEAD leaves the head unspecified, including whether the token is the root.
The presence of a row means that there is a token entry to report. Its boundaries have no Cheyenne-specific tokenizer analysis in this setup. The visible form and its position in the output cannot supply the missing lemma, tags or dependencies.
Treebank availability and baseline measurements
The Cheyenne corpus excerpts provide written forms in context. A UD treebank also provides reference annotations against which a parser’s output can be scored. Mova holds no annotated Cheyenne treebank, so there is no Cheyenne training-to-development baseline. Both attachment scores are unmeasured.
| Baseline measure | What a correct attachment requires | Cheyenne status |
|---|---|---|
| Unlabeled attachment score (UAS) | The predicted head matches the reference head. | Unmeasured |
| Labeled attachment score (LAS) | Both the predicted head and the predicted dependency label match the reference annotation. | Unmeasured |
Mova’s own parser and tagger are in the en crate. The baseline uses the language’s UD training split after en xpos-fill. The en train command trains the tree parser and tagger, and en parse-eval measures UAS and LAS on the development split. The package instructions in What every language gets call for this same baseline for each language. English and French have model files, en.bin and fr.bin.
Treebank availability, model availability and evaluation results answer different questions. The treebank supplies the reference annotations, the model supplies analyses for new input, and UAS and LAS summarize agreement with reference dependencies on development data. In Cheyenne, the absent model explains the unannotated parser output, and the absence of a treebank leaves the baseline unmeasured.
Frames, pragmatics and their parser dependency
The frame, pragmatic and world components operate downstream of tree parsing. Mova’s current components, including prag and world, read English trees. For another language, a parsed tree is a prerequisite for those components to have a tree to read.
For chy, the missing HEAD and DEPREL values leave no dependency structure for downstream interpretation. A language label, a retained word form or a corpus gloss can help a reader understand the text, but it does not fill those fields. Mova therefore supplies no tree-based frame, pragmatic or world analysis for an unparsed Cheyenne span. The documented input for the existing downstream components is English trees.
Grammar claims in Squid’s queue
Squid reads the grammar manual and turns each grammatical point into a claim. Claims that can be formalized enter its queue for a place in Mova’s code. The specified types are rules, closed lists and statistics. A rule states the conditions under which it applies. A closed list specifies all members of the set it describes. A statistic expresses a quantitative claim. The scope of each claim remains the scope stated in the grammar, including any conditions or exceptions.
A claim’s presence in the queue means it is pending implementation. A grammatical rule can consequently be documented in the manual while Cheyenne output still has no annotation for the distinction that the rule describes. A queued statistic is also distinct from the UAS and LAS measurements of a parser on a development split. Those measurements require the annotated data and a parser run.
For a language in Cheyenne’s position, the first claims to implement would be those needed for a tokenizer, a tagger and a UD treebank baseline. These needs connect grammatical descriptions to the points at which the tools would use them. A tokenizer needs rules that bear on token boundaries. A tagger needs the distinctions expressed by tags. A treebank baseline needs reference annotations that make it possible to train and score a parser. None of the chapter’s rules is implemented for Cheyenne.
How Mova handles Cheyenne coverage and gaps
At level 1, tools/langseg assigns languages to sentences and spans. Its Latin-script identification covers English and French, with a Latin table, per-language lexicons and a character 4-gram model. It also covers Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts receive other. An additional Latin-script language requires a lexicon and a Lang code, with langseg latin-lexicon available to build a lexicon from open UD training data. Identification coverage thus depends on the segmenter’s script or lexical support.
At level 2, tools/mova-parse looks for the model corresponding to the assigned language. There is no model for chy. For a Cheyenne span, the # parse comment reports the missing model, the LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL fields contain _, and MISC contains Parse=None. Mova has no Cheyenne-specific tokenization, tagging, lemmatization or parsing at this stage.
Mova has no annotated Cheyenne corpus and has measured no Cheyenne treebank baseline. The baseline requested in What every language gets uses en xpos-fill before en train on a UD training split and en parse-eval to measure UAS and LAS on the development split. The existing model files are en.bin for English and fr.bin for French. Mova’s frames, pragmatics and world components, including prag and world, read English trees and have no Cheyenne parse to use.
Squid records grammatical points as claims and queues formalizable rules, closed lists and statistics. Implementation is still pending for the chapter’s rules. The first implementation priorities are the points needed by a tokenizer, a tagger 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).
This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/chy/23-mova-tools/