Mova0.6 pre-release

Kotava: the flag of Kotava, green, red, white, blue and yellow 23. Kotava in Mova

Mova has Kotava (avk) text examples, but it has neither a Kotava parser model nor an annotated Kotava treebank. This chapter describes what the multilingual pipeline can report about Kotava text, what a treebank baseline would measure, and what Squid records about the language.

The avk package and language identification in Latin script

avk is the code for Kotava. The code identifies the language in the manual and corpus records. A corpus record already labeled avk supplies its language externally. When Mova receives raw text, language identification is a separate operation that has to infer a label from the input.

Level 1 of the multilingual pipeline uses tools/langseg to assign a language to each sentence and span. Its Latin-script identification uses a Latin table, language lexicons, and a character 4-gram model to distinguish English and French. It also recognizes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Scripts outside its recognized set receive other.

Kotava uses Latin script, which it shares with the languages served by the Latin-script identifier. Script recognition alone cannot establish that a span is Kotava. The route for adding a Latin-script language is to add a Lang code and a lexicon. langseg latin-lexicon builds such a lexicon from an open Universal Dependencies (UD) training split. The presence of avk in a corpus identifier does not establish that the raw-text identifier can recognize Kotava.

FormGlossTranslationCorpus sentence ID
“Aal is mona”tree and house‘Tree and house’wiki:avk:Aal is mona (1) (trutca ke Modigliani)

The identifier in this example is corpus metadata. The Kotava phrase itself is the input the identifier would have to classify.

Multilingual parser output for spans identified as avk

tools/mova-parse uses the language assigned to a span to select its level-2 model. Each span is parsed with the model file for its own language when that file is available. Thus a language label and a syntactic analysis are two distinct parts of the output. A model available for another span in the same sentence does not supply a model for avk.

When a span is identified as avk, model lookup finds no Kotava model. The # parse comment reports the missing model. The token rows for that span have the following values.

FieldValueInformation unavailable from the Kotava parse
LEMMA_Lemma
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneThe row carries a marker for the absence of a parse

These rows can carry surface text without providing a Kotava-specific tokenization or analysis. An underscore in HEAD leaves the head unspecified. An underscore in FEATS leaves the feature analysis unspecified, even when the surface form has recognizable morphology. The missing-model behavior applies to spans that reach level 2 under the avk label.

Treebank availability and the status of baseline measurements

Mova holds no annotated Kotava treebank. The Kotava text examples in its corpora provide attested forms and passages. A treebank additionally records the word boundaries and grammatical analyses that a parser is trained to predict or evaluated against.

FormGlossTranslationCorpus sentence ID
“Gan Rochebrune”by Rochebrune‘By Rochebrune’wiki:avk:Dugdol (Procolobus)
“bak 1877”in 1877‘In 1877’wiki:avk:Dugdol (Procolobus)

The glosses give the meanings of the two phrases. A UD annotation would also record the head and relation for each word, including how each phrase attaches in the sentence. The corpus sentence ID allows the passage to be located and supplies no reference dependency arcs.

Mova has no measured Kotava treebank baseline. Both unlabeled attachment score (UAS) and labeled attachment score (LAS) are unavailable for avk. Each score requires a comparison between predicted and reference analyses. The missing-model comment and Parse=None describe the state of the parser output and do not constitute observations of attachment accuracy.

The training and evaluation baseline used by Mova

The language package specification in What every language gets calls for the same training and development-set baseline for each language. Mova's tree parser and tagger are in the en crate. Models exist for English (en.bin) and French (fr.bin).

StageCommandRole in the baseline
Prepare the training annotationen xpos-fillFill XPOS before training
Trainen trainTrain the tree parser and tagger on the language's UD training split
Evaluateen parse-evalMeasure UAS and LAS on the development split with the model trained on the training split

For each evaluated word, UAS checks whether the predicted head matches the reference head. LAS requires both the head and the dependency relation to match. An attachment to the correct head with the wrong relation counts toward UAS only. An attachment to the wrong head counts toward neither score. These are dependency measures. Correct attachments do not, by themselves, measure language identification, lemmatization, frame extraction, or pragmatic interpretation.

For Kotava, the workflow requires an annotated training split and an annotated development split. The training split supplies examples for the model to learn from. The development split supplies the reference trees used to score the trained model. Neither split is available in Mova, so the package baseline remains unmeasured.

Tree input requirements for frames and pragmatics

Mova's frame, pragmatics, and world components (prag, world) read English trees. For another language, a parse is a prerequisite for tree-based processing. A language label identifies the material to be analyzed, while a tree supplies the words and syntactic relations an interpretation can use.

FormGlossTranslationCorpus sentence ID
“bak 1853”in 1853‘In 1853’wiki:avk:Tasega (Chlorophanes)

A reader can interpret the phrase as a time expression from the text. To use it in a tree-based interpretation of the sentence, a component would need a syntactic analysis that includes its attachment. In the unannotated level-2 output, HEAD and DEPREL give no such attachment. Mova currently supplies no Kotava tree to these components. The availability of English tree processing establishes what these components consume today. A future Kotava parse would supply the prerequisite tree.

Squid claims, implementation status and annotation priorities

Squid reads the grammar manual and records each grammatical point as a claim. Formalizable claims, including rules, closed lists, and statistics, wait in Squid's queue for a place in Mova's code. A queued claim records a point that can be formalized. Implementation requires that point to be incorporated into the relevant code.

A grammatical description, an annotation decision, and a trained model serve different purposes. A description gives the conditions under which a form or construction occurs. An annotation decision specifies how instances are represented in the reference data. A trained model predicts analyses from input text. Squid's claim queue supplies neither the annotated training instances nor the resulting predictions.

For Kotava, the first annotation priorities follow the needs of tokenization, tagging, and a UD baseline.

PriorityDecisions needed for annotation
TokenizationSpecify which written units receive word rows and how punctuation and ambiguous boundaries are handled.
Tagging and morphologyMap Kotava word classes and grammatical distinctions to UPOS, XPOS, and FEATS, and specify how lemmas are recorded.
Syntactic annotationSpecify head selection and dependency relations so comparable constructions receive consistent analyses.
Baseline dataApply the annotation conventions to training and development splits so the model can be trained and its attachments measured.

The same token and annotation conventions matter on both sides of the baseline. Training examples teach the model the reference representation, and development examples test its predictions against that representation. These priorities describe the work needed for a Kotava baseline. No Kotava rules from the manual are implemented in Mova yet.

How Mova handles Kotava today

At level 1, tools/langseg assigns languages to sentences and spans. Its Latin-script support distinguishes English and French using a Latin table, lexicons, and a character 4-gram model. For an additional Latin-script language, the extension uses a Lang code and a lexicon from an open UD training split, built with langseg latin-lexicon. Mova can identify spans only where its script or lexicon coverage permits.

At level 2, tools/mova-parse selects a model by span language. There is no model for avk. For a span labeled avk, the # parse comment reports the missing model, LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL contain _, and MISC contains Parse=None. Mova has no Kotava-specific tokenization, tagging, lemmatization, or parsing.

Mova has no annotated Kotava treebank and has measured no Kotava baseline. The baseline specified in What every language gets uses en xpos-fill before en train on a UD training split and uses en parse-eval to measure UAS and LAS on the development split. prag and world read English trees and currently have no Kotava parse to use.

Squid records the manual's grammatical points as claims and queues the formalizable claims for implementation. The Kotava rules remain unimplemented. The first priorities are the points needed for tokenization, tagging, and a UD treebank baseline.

Sources for this chapter

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