27. Paiwan in Mova
Mova has Paiwan (pwn) text in its corpora. Paiwan currently has no annotated treebank in Mova, no level-2 parser model, and no measured parsing baseline. This chapter explains how those gaps affect language identification, dependency output, and downstream interpretation.
The Paiwan package and its current data
pwn is the code for Paiwan in this manual and the code used to identify the language in Mova’s data. The package specification in What every language gets calls for the same Universal Dependencies (UD) parsing baseline for each language. For Paiwan, the available corpus excerpts document text under pwn, while the annotated train and development data needed for that baseline are absent.
The supplied corpus records include short labels and phrases from Paiwan Wikipedia. The examples below keep the Latin spelling of the corpus. LNK glosses the linker a.
| Form | Gloss | Translation | Corpus ID |
|---|---|---|---|
| sinsi | teacher | ‘teacher’ | wiki:pwn:Akira Suzuki |
| gakku | school | ‘school’ | wiki:pwn:Akira Suzuki |
| sicuayanga a ngadan | former LNK name | ‘former name’ | wiki:pwn:Beinan |
| 60,305 a caucau | 60,305 LNK person | ‘60,305 people’ | wiki:pwn:Bunun |
A corpus ID gives the provenance of a form. For example, the occurrence of a in the population phrase supplies an attested spelling in context. A training example for a dependency parser would also require annotations specifying the words, their grammatical properties, and their dependency relations. The glosses in the table are for readers of this manual.
Language identification and Latin-script lexicon requirements
tools/langseg supplies language identification for sentences and for spans within sentences. Its Latin-script support distinguishes English and French using a Latin table, one lexicon per language, and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported set receive other.
Paiwan’s Latin spelling makes it a candidate for the Latin-script extension mechanism. tools/langseg needs a Lang code and a lexicon to add a Latin-script language. langseg latin-lexicon builds lexicons from open UD training splits. The pwn corpus labels show that the excerpts are recorded as Paiwan. Automatic identification of a passage depends on the segmenter’s script or lexicon support.
A language lexicon serves the identification stage. The parser model serves the dependency stage. For example, a mixed passage can contain Paiwan wording alongside a personal name or a number. The level-1 decision concerns the language assigned to the span. Any grammatical annotation of that span requires the corresponding model at level 2.
Multilingual parsing and output for spans without a model
tools/mova-parse operates in two levels. At level 1, it uses tools/langseg to assign a language to every sentence and span. At level 2, it looks up the model for each span’s assigned language at <code>.bin. In a multilingual sentence, the model lookup therefore follows the span’s language. The missing-model behavior applies to spans assigned to a language whose model file is absent.
Paiwan has no level-2 model. The output reports the missing model in the # parse comment. Rows for the affected tokens have the following values.
| Field | Value | Information left unassigned |
|---|---|---|
LEMMA | _ | Dictionary form |
UPOS | _ | Universal part of speech |
XPOS | _ | Language-specific part of speech |
FEATS | _ | Grammatical features |
HEAD | _ | Dependency head |
DEPREL | _ | Dependency relation |
MISC | Parse=None | Records the absence of a parse |
For a span assigned to pwn, Parse=None is the expected output under the current model inventory. An underscore in HEAD leaves the dependency head unspecified, including whether the token is the root. The token rows in this output carry no Paiwan tokenization, tagging, lemmatization, or dependency analysis supplied by a Paiwan model.
Paiwan treebank availability and baseline measurement
Mova’s parser and tagger are implemented in the en crate. The baseline uses the language’s annotated UD training split after en xpos-fill. en train trains the tree parser and tagger, and en parse-eval measures their dependency parsing performance on the development split. The available models named for this procedure are English en.bin and French fr.bin.
| Measure | What the evaluation checks |
|---|---|
| Unlabeled attachment score (UAS) | Whether the predicted head matches the reference head |
| Labeled attachment score (LAS) | Whether both the predicted head and the predicted dependency relation match the reference annotation |
The training split supplies annotated examples for the model. The development split supplies reference heads and relations against which to score its predictions. This train-to-development evaluation is the baseline requested in What every language gets.
Mova holds no annotated Paiwan corpus. Its Paiwan excerpts consequently provide neither the training annotations for this procedure nor the development reference needed to score the result. Paiwan UAS and LAS are unmeasured. The missing baseline expresses the availability of evaluation data, while Parse=None expresses model availability for a particular span in parser output.
Dependencies of frame and pragmatic processing
Mova’s frames, pragmatic processing in prag, and world processing in world read English dependency trees. A span identified as Paiwan has no tree for these components to read when the Paiwan model is absent. Its surface words and language label supply no dependency heads or relation labels.
Parsing is therefore a prerequisite for downstream work on Paiwan. The dependency ends there for the current package. The existing downstream components read English trees, and the Paiwan package supplies no Paiwan tree input for them. The current pipeline provides no Paiwan frame or pragmatic analysis from the unannotated spans.
Squid claims and the implementation queue
Squid reads this grammar manual and turns each 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. Queue membership records a claim awaiting implementation. The claims in this manual have yet to become executable Paiwan grammar rules.
The first candidates for implementation are the points needed by a tokenizer, a tagger, and a UD treebank baseline. These needs involve different decisions. Tokenization requires word boundaries. Tagging requires category and feature assignments. Dependency evaluation requires heads and relations annotated consistently in the reference data. In the population phrase attested in wiki:pwn:Bunun, for example, the written number and the linker are both visible in the surface text. Word boundaries, tags, and dependency relations for that phrase are separate annotation decisions before it can serve as a dependency example.
How Mova handles Paiwan today
tools/langseg assigns a language to each sentence and span at level 1. Its Latin-script identification distinguishes English and French using its Latin table, per-language lexicons, and a character 4-gram model. It also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts receive other. Adding a Latin-script language requires a lexicon and a Lang code. langseg latin-lexicon uses open UD training splits to build the lexicon. Identification of Paiwan spans depends on the segmenter’s script or lexicon support.
At level 2, tools/mova-parse looks for the model for each span’s assigned language at <code>.bin. There is no model for pwn. For a span assigned to Paiwan, the missing model is reported in the # parse comment. Its tokens carry _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, with Parse=None in MISC. Paiwan tokenization, tagging, lemmatization, and dependency parsing are unavailable.
The en crate provides the baseline procedure requested in What every language gets. After en xpos-fill, en train trains on the UD training split and en parse-eval measures UAS and LAS on the development split. English en.bin and French fr.bin are available. Mova has no annotated Paiwan treebank, so there is no measured Paiwan baseline.
Mova’s frames, prag, and world read English trees and have no Paiwan tree to read. Squid records the manual’s grammatical points as claims and queues the formalizable ones for implementation. The Paiwan grammar rules are still unimplemented. The first implementation needs are those of tokenization, tagging, and a UD 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/pwn/27-mova-tools/