Mova0.6 pre-release

the flag of Taiwan 23. Atayal in Mova

The Atayal edition uses the language code tay. Mova has Atayal text examples and a grammar manual for the edition. The Atayal parser model and annotated treebank are both absent, so the edition has no measured parsing baseline. Language identification, token annotation, and the interpretation of a dependency tree are separate stages in Mova.

The tay package and current language identification coverage

Mova’s language package specification, What every language gets, calls for the same parser baseline for every language. The code tay identifies the Atayal edition and labels its corpus examples. These labels identify the language of material already in the corpus. Automatic language identification must assign a language to sentences and spans in incoming text.

Level 1 of tools/mova-parse uses tools/langseg to assign those sentence and span labels. For Latin-script text, the current coverage is English and French. The segmenter uses a Latin-script table, a lexicon for each language, and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew and Aramaic in scholarly transliteration. It assigns other to scripts outside its coverage.

Atayal uses Latin script and falls outside the current language-specific coverage of the Latin detector. The fact that an input string uses Latin letters therefore supplies no Atayal identification. The route for adding a Latin-script language uses a lexicon drawn from an open Universal Dependencies (UD) training split with langseg latin-lexicon and an entry in Lang. This extends identification at level 1. Level 2 still requires a parser model for the language assigned to a span.

Missing parser output and Parse=None

At level 2, tools/mova-parse looks for a model for the language assigned to each span and uses that model to parse the span when it is available. When a span reaches this stage with a language code for which the model file is missing, the # parse comment reports the missing model. The token rows for that span carry the following values.

FieldValue for a span with no modelAnnotation unavailable
LEMMA_Lemma
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneStatus of the parse

There is no level-2 model for tay, so Atayal token rows have this missing-model representation. Parse=None records a condition on the annotation pipeline. The six underscores leave six fields unfilled. In particular, a row with _ in HEAD and DEPREL supplies neither a head assignment nor a relation that could connect the token to a UD tree. The presence of rows in the output gives no Atayal-specific tokenization analysis.

For a short example of text whose linguistic analysis remains to be supplied, a Mova corpus entry contains the following phrase. Atayal is already written in Latin script.

FormGlossTranslation
qalang nyavillage 3SG.GEN‘his village’

Corpus example wiki:tay:Abdel Fattah el-Sisi. In the gloss, 3SG.GEN denotes a third-person singular genitive form. The gloss explains the phrase in this chapter. For a span assigned tay, the corresponding parser fields remain unfilled as shown above.

Treebank availability and baseline measurements

Mova holds Atayal text examples but has no annotated Atayal corpus or treebank. A UD treebank supplies reference analyses with token boundaries, word annotations, syntactic heads, and dependency relations. The package baseline uses analyses in a training split to fit the system and analyses in a development split to measure the resulting parser. The corpus examples provide Atayal forms in context. They supply no reference trees for these two steps.

Mova’s own parser is the en crate. In the baseline procedure, en train trains the parser and tagger on a language’s UD training split after en xpos-fill. Then en parse-eval measures unlabeled attachment score (UAS) and labeled attachment score (LAS) on the development split.

MeasureWhat counts as a correct attachment
UASThe predicted head matches the reference head.
LASThe predicted head and dependency relation both match the reference annotation.

Models exist for English (en.bin) and French (fr.bin). The package specification asks for the same training-to-development baseline for each language. For tay, there is no model and no treebank baseline has been measured. The missing-model annotation is an output status. UAS and LAS require predicted and reference attachments, so Parse=None supplies no measurement of either one.

Frames, pragmatics and the English tree requirement

Mova’s frame, pragmatics, and world processing, including prag and world, reads English trees. A tree provides dependency structure for the material downstream processing receives. A language label supplies the identity of a span, and unannotated token rows supply its surface text. With the head and relation fields empty, Atayal spans supply no tree for this processing.

Parsing is a prerequisite for bringing another language’s text to this stage. The current components have an English tree input requirement, so a future Atayal parser would first provide Atayal trees. The availability of a model and the language of the trees that downstream components read are two separate conditions. For present Atayal input, the pipeline reaches no tree on which to base frame or pragmatic analysis.

Squid’s claim queue and prerequisites for a parser baseline

Squid reads the grammar manual and turns each grammatical point into a claim. Claims that can be formalized, including rules, closed lists, and statistics, wait in a queue for a place in Mova’s code. A queued claim describes a point the grammar makes. Its presence records no implementation in the tokenizer, tagger, or parser.

The first points to take up are those needed by a tokenizer, a tagger, and a UD treebank baseline. The tokenizer needs conventions for deciding where tokens begin and end in the written text. The tagger needs analyses that relate word forms to categories and features. The treebank needs reference decisions about heads and relations, with training and development material for the baseline. The earlier grammar chapters provide descriptions that can inform those decisions. The operational baseline requires the decisions to be represented in data that the training and evaluation commands can use.

Language identification and parsing also require distinct resources. Within the route described for an additional Latin-script language, an open UD training split supplies data for the identification lexicon and for parser training. The development split gives the parser a separate set of reference trees for evaluation. The lexicon supports assignment of the language code to a span. The trained model supports syntactic annotation of a span with that code. Atayal has no annotated corpus in Mova to supply the treebank baseline.

How Mova handles Atayal today

tools/mova-parse assigns languages to sentences and spans at level 1 through tools/langseg. Its Latin-script coverage is English and French. Its remaining coverage includes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration, and other scripts receive other. A further Latin-script language enters the detector through a lexicon from an open UD training split using langseg latin-lexicon and a Lang code. Atayal is outside the current identification coverage.

At level 2, tools/mova-parse parses each span with its own language’s model when that model exists. No such model exists for tay. For a span assigned tay, the # parse comment reports the missing model, and the token rows receive _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL and Parse=None in MISC. Mova currently provides no Atayal-specific tokenization, tagging, lemmatization, or parsing.

Mova holds no Atayal treebank and has no measured baseline for tay. The common baseline in What every language gets uses en xpos-fill and en train with a UD training split and en parse-eval to measure UAS and LAS on the development split. The available models are en.bin and fr.bin. Frame, pragmatic, and world processing, including prag and world, reads English trees and has no Atayal tree to read.

Squid reads the manual as claims and queues the formalizable ones. The Atayal grammar rules have yet to be implemented in Mova. The first points for implementation are those required by a tokenizer, a tagger, and a UD treebank baseline.

Sources for this chapter

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