Mova0.6 pre-release

the flag of China 27. Classical Tibetan in Mova

Classical Tibetan has the language code xct in Mova. Its current coverage stops before grammatical analysis. Tibetan script falls into the segmenter's other category, and Mova has neither a parser model nor a treebank baseline for xct. This chapter explains how those gaps affect the output, from identifying a span to interpreting a clause.

Tibetan script spans and language segmentation

Mova's multilingual parser separates language segmentation from dependency parsing. At level 1, tools/langseg assigns a language label to each sentence and span. At level 2, tools/mova-parse uses the span's language to look up a parser model. A span label identifies the category under which a stretch of text proceeds to model lookup.

Input covered by the segmenterBasis for the distinction
English and French in Latin scriptA Latin-script table, a lexicon for each language, and a character 4-gram model
Hebrew-script varietiesRecognition of the supported varieties in Hebrew script
Hebrew or Aramaic in scholarly transliterationRecognition of the supported transliterated forms
Tibetan script and all other scripts outside this coverageThe label other

Under this coverage, a Tibetan-script run in a mixed text can be handled as other. That label is shared across scripts outside the segmenter's coverage, so it supplies no identification of the run as Classical Tibetan. The same limitation applies when the whole sentence is in Tibetan script.

Writing a Classical Tibetan passage in Latin characters does not give the segmenter an xct category for the passage. The documented route for adding a Latin-script language requires both a lexicon and a Lang code. langseg latin-lexicon builds the lexicon from an open UD training split. Recognition of Tibetan script and recognition of Latin-script Tibetan are distinct cases for segmentation.

Parser model lookup and Parse=None output

At level 2, tools/mova-parse uses the language code of each span to select a model. The lookup pattern is <code>.bin, with the span's language code in both positions. Mova has models for English and French. There is no model for xct. A span that reaches lookup as xct therefore has no model available. A Tibetan-script span labeled other at level 1 has not been identified as xct in the first place.

When the span's language has no model, the # parse comment reports the missing model. The token rows for that span use the following values for the affected columns.

ColumnValueInformation unavailable from the parser
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneThe span has no parse

Read Parse=None as a status of the analysis. For example, _ in HEAD supplies no head assignment, including any assignment of a token as the root. Likewise, _ in FEATS leaves the token's grammatical features unspecified. The presence of rows with these values gives no evidence that the text has been segmented into Classical Tibetan words or that any of those words has received a grammatical analysis.

Treebank availability and the unmeasured UAS and LAS baseline

Mova holds no annotated Classical Tibetan corpus. The xct package therefore has no measured treebank baseline. The absence is specific to the data Mova holds, and the baseline has no score to report.

The package specification in What every language gets calls for the same baseline across languages. In Mova's en crate, en xpos-fill precedes en train, which trains the tagger and tree parser on the language's UD training split. en parse-eval measures attachment on the development split with the model trained on the training split.

MeasureWhat counts as a correct attachment
UAS, unlabeled attachment scoreThe predicted head matches the reference head
LAS, labeled attachment scoreThe predicted head and dependency relation both match the reference annotation

Both measures require reference dependencies and predicted dependencies on the evaluation material. The missing-model output provides no predicted heads or relations for Classical Tibetan, and Mova holds no xct treebank on which to run the baseline. An unmeasured baseline represents the absence of an evaluation.

Tokenization, tagging and prerequisites for dependency parsing

Language spans and grammatical tokens serve different purposes. A language span groups text for model selection. Tokenization decides which units receive grammatical annotations and can be linked by dependencies. The Tibetan syllable divider tsheg marks an orthographic boundary. A lexical word can include more than one syllable, so a sequence of tsheg-delimited units does not by itself specify the word tokens. The annotation also has to decide how to represent grammatical particles.

(constructed)

FormWylie transliterationGlossTranslation
བོད་ཀྱི་སྐད་bod kyi skadTibet GEN language‘the language of Tibet’

In this phrase, the written units include the place name bod, the genitive marker kyi, and the noun skad. The tsheg marks the written divisions. The genitive analysis comes from the function of kyi in relating the two nominals. The gloss describes the phrase independently of Mova's output.

A train-to-development baseline requires a consistent convention for the units the parser will see. The training and development annotations need to agree on token boundaries, including the treatment of particles, and on the tags and dependency relations assigned to those units. Lemma and feature annotation supply additional information about the units. For dependency training and evaluation, the reference trees must specify which token is the head and which relation links each dependent to it. For instance, correctly finding the head can count toward UAS even when the relation label is wrong. LAS requires both decisions to agree with the reference.

A chapter can describe a particle and the conditions on its use. To train and evaluate a parser on occurrences of that particle, the treebank also needs consistent decisions about its token representation, its tag, and its syntactic attachment. Those are the kinds of decisions a Classical Tibetan tokenizer, tagger and UD treebank baseline would need first. Mova currently supplies no Classical Tibetan tokenization, tagging, lemmatization or dependency analysis.

Current inputs to frames and pragmatics

Mova's frames, pragmatics and world components read English dependency trees. A tree gives downstream analysis access to grammatical structure, including the links between predicates and their dependents. The language label identifies a span for routing, while Parse=None records that a parse is absent. Neither supplies predicate and dependent links.

Classical Tibetan currently provides no dependency tree to those components. Consequently, there is no tree input from which Mova can build a Classical Tibetan frame or carry out its pragmatics analysis. Parsing is the first prerequisite for another language to supply such input. The stated coverage of the downstream components is English trees.

How Mova handles Classical Tibetan grammar claims in Squid

Squid reads the grammar manual and turns every grammatical point into a claim. Claims that can be formalized, including rules, closed lists and statistics, wait in Squid's queue for a place in Mova's code. Queueing records a claim for possible implementation. None of the chapter's rules is implemented yet.

At runtime, tools/langseg can identify a language span only where its script or lexicon coverage supports that identification. It assigns Tibetan script to other. tools/mova-parse has no level-2 model for xct. When it encounters a span whose language has no model, the # parse comment reports the gap, the LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL fields contain _, and MISC contains Parse=None.

The first grammar claims needed for Classical Tibetan are those that support a tokenizer, a tagger and a UD treebank baseline. Mova holds no xct treebank, so there is no UAS or LAS baseline measured with en parse-eval. Classical Tibetan supplies no tree input to Mova's frames, prag or world.

Sources for this chapter

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