Mova0.6 pre-release

the flag of Taiwan 24. Taroko in Mova

Mova uses trv as the language code for Taroko. It has Taroko text samples, but it currently lacks both an annotated Taroko treebank and a level-two parser model. The text samples illustrate what language identification and treebank preparation would need to cover. Taroko dependency accuracy remains unmeasured.

Language identification and requirements for Latin-script coverage

Mova separates language identification from grammatical analysis. At level one, tools/langseg assigns a language to each sentence and span. Its Latin-script coverage distinguishes English and French using a Latin table, a lexicon for each language and a character four-gram model. It also handles Hebrew-script varieties and scholarly transliteration of Hebrew or Aramaic. Scripts outside the supported set receive other.

Adding a Latin-script language requires a lexicon and a Lang code in the segmenter. The langseg latin-lexicon command supports lexicon preparation from an open Universal Dependencies (UD) training split. The code trv identifies Taroko in the manual and package. Recognition of Taroko spans depends on the segmenter's coverage. A Latin-script match establishes the script and leaves the language decision to the supported identification data.

The supplied text includes personal names, dates, quoted names for languages and varieties, and a passage in Dhivehi script embedded in a Taroko sentence. The sentence context and the language of a particular span can therefore differ. A language identifier must be evaluated at the level of the span when the expected label changes within a sentence. These fragments show two contexts in which the surrounding Taroko words provide evidence alongside a number or a language name.

FormGlossTranslationCorpus sentence ID
niqan dha kariexist two language‘there are two languages’wiki:trv:3S3T
kari Dhivehilanguage Dhivehi‘the Dhivehi language’wiki:trv:Abdulla Yameen

Level-two model lookup and Parse=None output

At level two, tools/mova-parse looks up a model for the language assigned to each span. The lookup uses <code>.bin, with the span's language code in both places. Each span uses its own language model when that model is available. A missing model is reported in the # parse comment. Because the model for trv is absent, rows for tokens in spans assigned to Taroko have the following values.

Output fieldValue for the missing modelAnnotation the field would hold
LEMMA_Lemma
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Index of the syntactic head
DEPREL_Dependency relation
MISCParse=NoneMissing-parse status

Parse=None describes the state of grammatical analysis for those tokens. The underscores leave their grammatical fields unspecified. A language label and token rows in this output give no evidence that Taroko-specific word boundaries have been analyzed. The same rows also lack the head and relation values needed to reconstruct a dependency tree.

Taroko corpus status and the unmeasured treebank baseline

The supplied Taroko corpus material consists of text examples. Its sentence IDs identify the examples for citation. A training or evaluation treebank also needs reference token boundaries and grammatical annotations in a consistent UD representation. For dependency evaluation, the reference must specify each evaluated word's head and relation. Mova holds no such annotated Taroko corpus.

The examples can guide preparation of an annotation scheme. For instance, the date fragment below combines Taroko calendar vocabulary with digits. A reference annotation would have to specify which units receive their own word rows and how the units are related within the date. The gloss identifies the meaning of the sequence without assigning dependency relations.

FormGlossTranslationCorpus sentence ID
kngkawas 1959 idas 5 diyax 21year 1959 month 5 day 21‘21 May 1959’wiki:trv:Abdulla Yameen

The absence of a treebank leaves both baseline measures, unlabeled attachment score (UAS) and labeled attachment score (LAS), unmeasured for Taroko. A count of output rows marked Parse=None would describe missing annotation. Calculating either attachment score requires predictions and reference dependencies for the same evaluation material.

Treebank preparation, parser training and baseline evaluation

A Taroko baseline requires a UD training split and a separate development split. Both splits need compatible decisions about which units are syntactic words, how lemmas and tags are represented, and how heads and relations are assigned. Those decisions matter wherever written units and syntactic words may differ, including the treatment of clitics. The scheme also needs consistent treatment of recurring constructions, such as how verbal voice and nominal marking inform the analysis of arguments. Train and development annotations must apply the same conventions for the scores to reflect how well the model predicts those conventions on held-out text.

Mova's package specification in What every language gets calls for the same train-to-development baseline for every language. Mova's parser and tagger belong to the en crate. After en xpos-fill prepares the training data, en train trains the parser and tagger on the UD training split. en parse-eval measures dependency accuracy on the development split. Models exist for English as en.bin and for French as fr.bin. Applying the same workflow to Taroko requires the corresponding annotated splits.

MeasureCondition for a correct attachment
UASThe predicted head matches the reference head.
LASThe predicted head and dependency relation both match the reference annotation.

Both scores express the proportion of evaluated words that satisfy the corresponding condition. A baseline is interpretable with the identity of the train and development splits and the evaluation conditions. In particular, if a score uses reference word boundaries, its denominator and comparisons concern parsing at those boundaries. The score cannot establish how well a system identifies word boundaries in running Taroko text or assigns language labels in mixed-language material.

Tree requirements for frames, pragmatics and world knowledge

Mova's frames, pragmatics and world-knowledge processing read English trees. A Taroko dependency tree would provide the syntactic input needed before comparable processing could be applied to Taroko. For example, a tree can identify a predicate and the words attached to it as arguments. A frame analysis would still have to interpret those relations in the language's constructions, taking account of voice and nominal marking where relevant.

Pragmatics and world-knowledge processing face the same dependency. To use clause structure as evidence about an utterance or a reference, a component first needs that structure in a form it can read. The missing heads and relations in Parse=None output leave Taroko spans without that input. A trained parser would address the missing-tree requirement. Interpretation would also require downstream support for the analyses the Taroko parser produces.

How Mova handles Taroko claims and their implementation status

Squid reads each grammatical point in the manual as a claim. Where the point can be formalized, as with a rule, a closed list or a statistic, the claim waits in Squid's queue for a place in Mova's code. A queued claim is still awaiting implementation. The Taroko rules described in the manual currently have no implementation in Mova.

At level one, language identification for a language without a model is limited to what tools/langseg knows through script or lexicon coverage. For an additional Latin-script language, the segmenter requires a lexicon and a Lang code. langseg latin-lexicon supports lexicon preparation from open UD training splits. For Taroko, Mova currently provides no language-specific tokenization, tagging, lemmatization or dependency parsing. When tools/mova-parse encounters a span assigned to trv, the missing level-two model is reported in the # parse comment. The token rows carry _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC.

Mova holds no annotated Taroko treebank, so Taroko has no measured UAS or LAS baseline. The baseline required by What every language gets uses en xpos-fill, training on the UD training split with en train, and evaluation on the development split with en parse-eval. The first claims relevant to implementation are those needed for a tokenizer, a tagger and a UD treebank baseline. Mova's frames, pragmatics and world processing, including prag and world, read English trees. They currently have no Taroko trees to read.

Sources for this chapter

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