22. Tai Nüa in Mova
Mova serves Tai Nüa under the language code tdd. The package has a grammar manual and text examples. Mova has yet to add Tai Nüa to its language recognizer, train a parser for it, or build an annotated treebank. These gaps affect different parts of the output, from language labels to syntactic trees and the analyses that depend on them.
Script recognition and language segmentation
Tai Nüa corpus text uses the Tai Le script. A sentence can also include characters from other scripts, as when a Tai Nüa Wikipedia entry discusses a letter of another alphabet. The following excerpts use a superscript to show a written Tai Le tone mark by its tone number.
| Form | Transliteration | Gloss | Translation | Corpus ID |
|---|---|---|---|---|
| ᥖᥨᥝ ᥘᥤᥐ ᥘᥨᥒᥴ A | tow lik long⁶ A | character writing large A | ‘uppercase A’ (Latin) | wiki:tdd:A |
| ᥖᥨᥝ ᥘᥤᥐ ᥘᥨᥒᥴ А | tow lik long⁶ А | character writing large А | ‘uppercase А’ (Cyrillic) | wiki:tdd:А |
The last characters in the two excerpts look alike and belong to different alphabets. In each case the surrounding Tai Le words form a Tai Nüa expression that mentions the letter. The corpus identifies the language of the source text. Mova's language segmenter makes its own decisions about language spans within that text.
Language segmentation is level 1 of tools/mova-parse. At this level tools/langseg assigns a language label to each sentence and span. For Latin script it distinguishes English and French using a Latin table, a lexicon for each language, and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage fall under other. Tai Le therefore has no tdd recognition at this stage. The label other groups scripts outside coverage and does not specify which language a span contains.
A language span is a stretch of text grouped by language. The word boundaries a syntactic parser needs are a separate matter. Even a span whose language is known needs tokenization into the units that receive grammatical annotations. Mova's process for adding a Latin-script language calls for a Lang code and a lexicon built from an open Universal Dependencies training split with langseg latin-lexicon. Tai Le falls outside that Latin-script process.
Parser model availability and unannotated output
Level 2 of tools/mova-parse parses each span with the model for its language. A language label enables model selection. Syntactic and morphosyntactic annotation then requires the corresponding model file. English and French have model files, en.bin and fr.bin. Tai Nüa has no level-2 model.
For a language whose model file is absent, tools/mova-parse reports the missing model in the # parse comment. The token fields have the following values for such a span, including Tai Nüa when it is presented for parsing.
| Field | Value | Information left unassigned |
|---|---|---|
| LEMMA | _ | Dictionary form |
| UPOS | _ | Universal part-of-speech tag |
| XPOS | _ | Language-specific part-of-speech tag |
| FEATS | _ | Morphological feature values |
| HEAD | _ | Index of the token's syntactic head |
| DEPREL | _ | Dependency relation to the head |
| MISC | Parse=None | Records that parsing did not take place |
These values report the status of the analysis. An underscore in FEATS in this output leaves open which features an annotation would assign. An underscore in HEAD or DEPREL leaves the attachment or its relation unassigned, including the decision about which word is the root. The rows that carry these values are output units. Their presence does not establish that Mova found the syntactic word boundaries appropriate to Tai Nüa. Mova supplies no Tai Nüa tokenization, tagging, lemmatization, or dependency parsing.
The two levels have distinct failure conditions. With Tai Le, the segmenter lacks a supported script classification for tdd. When the parser is given a span as tdd, model selection also fails because the corresponding file is absent. The other label describes the first limitation. The missing-model report and Parse=None describe the second.
Treebank availability and baseline measurements
Mova has Tai Nüa corpus text and has no annotated Tai Nüa treebank. A corpus identifier locates a text example. It supplies no reference segmentation into syntactic words, part-of-speech or feature annotations, or dependency structure. To measure a dependency parser, the system needs reference trees on which to score its predictions. The baseline uses a training split to fit the model and a development split to evaluate it.
The language package described in What every language gets asks for the same training-to-development baseline for each language. Mova's en crate provides the tagger and tree parser used in this procedure. The data first go through en xpos-fill. The command en train then trains the tagger and tree parser on the language's Universal Dependencies training split. The command en parse-eval measures the model on the development split. The two attachment measures differ in what a prediction must get right.
| Measure | Full name | Condition for a correct attachment |
|---|---|---|
| UAS | Unlabeled attachment score | The predicted head matches the reference head. |
| LAS | Labeled attachment score | The predicted head and dependency relation both match the reference annotation. |
For a word attached to the correct head with an incorrect relation, the attachment counts as correct under UAS alone. Both measures require a reference annotation against which to check each prediction. Tai Nüa has no measured baseline in Mova, so both scores are unavailable. The unannotated output from a span with a missing model contains no predictions from which to compute those scores.
Dependencies of frames and pragmatics
The dependency tree is the input that connects syntactic parsing to Mova's analysis of frames and pragmatics. Mova's frame, pragmatic, and world analysis, including prag and world, reads English trees. For another language, these components have no tree to read until parsing takes place. Even when a corpus identifies a sentence as Tai Nüa, that identification provides no grammatical relations for the downstream analysis.
For example, the input to syntactic analysis can contain a Tai Le expression alongside the letter that it mentions. A language-span label provides no account of how the words in that expression are related. Similarly, a token row with an unassigned HEAD and DEPREL provides no attachment that a downstream component could use. The gap for Tai Nüa occurs before frame or pragmatic analysis can begin. A Tai Nüa tree would supply the missing structural input. The existing downstream components are described for English trees, so parser availability alone would establish only the availability of that input.
Squid claims and the implementation queue
Squid reads the grammar manual and records each grammatical point as a claim. Formalizable claims go into the implementation queue. These include rules, closed lists, and statistics. A claim in the queue is a description awaiting a place in Mova's code. It has no effect on language labels, token fields, dependency trees, or downstream analyses while it waits there. None of the Tai Nüa grammar rules in the manual has been implemented through this process.
The first claims relevant to implementation are the ones a tokenizer, a tagger, and a Universal Dependencies baseline need. For a tokenizer, the question is what counts as a syntactic word in the written text. For a tagger, the question is which distinctions the annotation assigns to those words and under what conditions. For a treebank, the corresponding questions include which words attach to which heads and how to label those dependencies. A consistently annotated training split and development split would then support the baseline procedure. The queue's role is to hold grammatical claims that can be formalized. The treebank's role is to record annotation decisions for particular sentences.
How Mova handles Tai Nüa text today
tools/mova-parse uses tools/langseg at level 1 to label sentences and language spans. The segmenter covers English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Tai Le falls under other, so the segmenter supplies no Tai Nüa span identification from Tai Le script.
At level 2, tools/mova-parse needs the model for the language of each span. There is no model for tdd. The missing model is reported in the # parse comment, and the token output has _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, with Parse=None in MISC. Mova provides no Tai Nüa tokenization, tagging, lemmatization, or dependency parsing.
Mova has no annotated Tai Nüa treebank and no measured Tai Nüa baseline. The baseline in What every language gets uses en xpos-fill before en train on a Universal Dependencies training split and en parse-eval to measure UAS and LAS on the development split. Mova has trained models for English and French.
Mova's frame, pragmatic, and world analysis reads English trees. With no Tai Nüa parse, prag and world have no Tai Nüa tree to read. Squid records the manual's grammatical points as claims and queues the formalizable ones. The rules remain unimplemented. The first implementation points are those needed for tokenization, tagging, and a Universal Dependencies 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/tdd/22-mova-tools/