28. Chamorro in Mova and Squid
Mova assigns languages to text spans before it looks for a model to parse each span. Chamorro (ch) has no level-2 model or annotated treebank in Mova. The manual describes Chamorro grammar, and Squid records its grammatical claims for possible implementation.
Language segmentation and model lookup
The multilingual parser tools/mova-parse works at two levels. At level 1, tools/langseg assigns a language to every sentence and span. The sentence label describes the sentence as a whole. At level 2, the language assigned to each span determines which model the parser looks up. The lookup uses the language code for both the language's data directory and the model filename. In a sentence with spans assigned different languages, each span uses the model for its own language.
In Latin script, tools/langseg distinguishes English and French using a Latin-script table, language lexicons and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Other scripts fall into the other category. Adding a Latin-script language requires a lexicon and a Lang code. The langseg latin-lexicon command can build the lexicon from an open Universal Dependencies (UD) training split. Recognition of Latin script alone does not identify a span as Chamorro.
Two titles appear together in a sentence in the Chamorro corpus. The forms and glosses below show the linguistic distinction a language segmenter would need to make. They show the source text without assigning any boundaries or language labels on behalf of the tool.
| Form | Gloss | Translation | Corpus ID |
|---|---|---|---|
| “Fanohge Chamoru” | stand.up.IMP Chamorro | ‘Stand up, Chamorros!’ | wiki:ch:Fanohge Chamoru |
| “Stand Ye Guamanians” | stand.IMP you.PL Guamanians | ‘Stand up, Guamanians!’ | wiki:ch:Fanohge Chamoru |
The English title occurs inside a Chamorro sentence. A sentence-level label alone would leave the language of that title unspecified. Span-level assignment makes it possible to look up an English model for a span identified as English even when the surrounding material calls for a different model. A language assignment and a successful model lookup are separate conditions.
Chamorro output and Parse=None
When a span is assigned to Chamorro, tools/mova-parse has no level-2 model for it. The # parse comment reports the missing model, and the token rows for the span carry Parse=None in MISC. The following six fields receive the literal underscore _.
| Field | Value | Analysis left unspecified |
|---|---|---|
| LEMMA | _ | Dictionary form |
| UPOS | _ | Universal part of speech |
| XPOS | _ | Language-specific part of speech |
| FEATS | _ | Morphological features |
| HEAD | _ | Syntactic head |
| DEPREL | _ | Dependency relation |
The underscore leaves the value open. In FEATS it leaves open which features apply. In HEAD and DEPREL it supplies neither an attachment nor a dependency label. Parse=None records the lack of a model analysis for the span. On its own, it does not identify the language of the span, since the same status applies to any language for which the model is missing.
The following phrase shows the distinction between what a reader can identify in the text and what the output fields supply.
| Form | Gloss | Translation | Corpus ID |
|---|---|---|---|
| “i islan Guåhan” | DEF island.LNK Guam | ‘the island of Guam’ | wiki:ch:Hågat |
The gloss identifies a definite marker and the linking form of ‘island’. For a span assigned to ch, the output supplies no tag for i, no lemma for islan and no dependency linking Guåhan to another word. The presence of token rows with empty analysis fields does not establish that Mova tokenized the text according to Chamorro spelling and clitic rules.
Treebank requirements and the unmeasured parsing baseline
A UD treebank supplies sentences annotated with word boundaries, lemmas, parts of speech, morphological features and dependency trees. A training split provides annotated material for fitting a model. A development split provides reference annotations for evaluating what the trained model predicts. The Chamorro corpus examples in this manual have source sentence IDs. Those IDs identify the text and supply no reference trees for evaluation.
Mova's en crate provides the in-house training and evaluation workflow. The package specification in What every language gets asks for the same baseline for each language. The workflow begins with en xpos-fill, followed by en train on the language's UD training split to train the tagger and tree parser. en parse-eval measures the resulting parser on the development split. The available models are English (en.bin) and French (fr.bin).
| Measure | What must match the development annotation |
|---|---|
| Unlabeled attachment score (UAS) | The token's syntactic head |
| Labeled attachment score (LAS) | Both the token's syntactic head and its dependency relation |
An attachment can count as correct for UAS when it has the right head and the wrong relation. LAS requires both to match. Both measures require predicted attachments and a development treebank against which to check them. Mova holds no annotated Chamorro corpus and has no Chamorro model, so it has no measured Chamorro UAS or LAS. The missing-model output is a status report and supplies no observation of attachment accuracy.
The grammar decisions relevant to this baseline begin with word boundaries, the tags and features assigned to the resulting words, and the heads and relations that connect them. A gloss can illustrate any of these decisions. A treebank must apply the decisions throughout the annotated sentences so that the training and development splits provide comparable analyses.
Dependencies of frame and pragmatics analysis
Mova's frame, pragmatics and world components read English dependency trees. The tree is the input that connects the words of a clause to the grammatical relations used in those analyses. A language label is available earlier in the pipeline. It selects a model and supplies no predicate structure, argument attachment or other dependency information. A Chamorro span with Parse=None therefore supplies no tree to the components that would read it.
| Form | Gloss | Translation | Corpus ID |
|---|---|---|---|
| “i sen gasgas na hånom” | DEF very clean LNK water | ‘the very clean water’ | wiki:ch:Hånom |
A reader can use the gloss to see that sen gives the degree of gasgas and that the modifier describes hånom. For a Chamorro span, the missing-model output leaves the relevant dependency heads and relations unspecified. The gloss accompanies the example in the manual and does not enter the parser's output. It consequently provides no input to Mova's downstream analyses.
A Chamorro dependency tree is a prerequisite for applying the tree-reading components to Chamorro. The present input those components read is English. A Chamorro parsing baseline would measure syntactic attachment on annotated Chamorro text. Frame and pragmatics analysis lie beyond what the attachment measures report.
How Mova handles Chamorro claims and the Squid queue
tools/langseg supplies a language assignment only where its script or lexicon support allows it. Its Latin-script distinction covers English and French. A further Latin-script language requires a lexicon and a Lang code. When tools/mova-parse receives a span assigned to ch, it has no level-2 model to use. It reports the missing model in the # parse comment, leaves LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL as _, and puts Parse=None in MISC. Mova supplies no Chamorro tokenization, tagging, lemmatization or dependency parsing.
Mova holds no annotated Chamorro treebank, so the training-to-development baseline in What every language gets is unmeasured for ch. That baseline uses en xpos-fill before en train on the UD training split and en parse-eval to measure UAS and LAS on the development split. Mova's frames, pragmatics and world components, including prag and world, read English trees. They have no Chamorro tree to read.
Squid reads each grammatical point in the manual as 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. A queued claim still awaits implementation. None of the chapter's rules is implemented for Chamorro. The first claims for implementation are those needed for 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/ch/28-mova-tools/