30. Hawaiian in Mova
Mova assigns language labels to sentences and spans before it looks up a parser model. The Hawaiian edition uses the language code haw. Mova has no Hawaiian parser model or annotated Hawaiian treebank, so the package has no measured parsing baseline. The grammar manual supplies claims that Squid can queue for implementation.
Language segmentation for Latin-script text
Language segmentation is level 1 of tools/mova-parse. It assigns a language to each sentence and span. The span labels let level 2 look up a model for each part of a multilingual sentence.
For Latin-script text, tools/langseg distinguishes English and French using a Latin-script table, a lexicon for each language, and a character 4-gram model. A character 4-gram is a sequence of four characters. The segmenter also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside the supported cases are reported as other.
The extension procedure for another Latin-script language calls for a Lang code and a lexicon. The langseg latin-lexicon command builds a lexicon from open Universal Dependencies (UD) training splits. The edition code haw identifies Hawaiian in this manual. Detection of Hawaiian spans depends on coverage in the segmenter. The supplied package information establishes neither Hawaiian coverage in the Latin-script segmenter nor a measured detection result.
A Hawaiian passage can itself include an English name. The parenthetical in the corpus entry for California contains the following two short excerpts. The glosses follow the surface order. Hawaiian uses Latin script, so the forms need no separate romanization.
| Form | Gloss | Translation |
|---|---|---|
| “ʻŌlelo Pelekania” | language English | ‘English’ |
| “California” | California | ‘California’ |
Both excerpts are from wiki:haw:Kaleponi. They illustrate material that can occur within a single sentence. The example has no reported tools/langseg output.
Model lookup and Parse=None output
At level 2, tools/mova-parse uses the language assigned to each span to look for that language’s model. The model filename uses the language code, so the Hawaiian lookup is for haw.bin. English and French have models, en.bin and fr.bin. Hawaiian has no corresponding model. A successful lookup for another span in the same sentence supplies a model for that span.
When the model for a span’s language is missing, the # parse comment reports the language. Token rows for the span carry the following values.
| Field | Value when the model is missing | Annotation represented by the field |
|---|---|---|
| LEMMA | _ | Lemma |
| UPOS | _ | Universal part-of-speech tag |
| XPOS | _ | Language-specific part-of-speech tag |
| FEATS | _ | Grammatical features |
| HEAD | _ | Index of the syntactic head |
| DEPREL | _ | Dependency relation to the head |
| MISC | Parse=None | Status of the parser analysis |
The # parse comment accounts for the missing model, and the Parse=None marker identifies the affected token rows. For example, an underscore in HEAD under this condition leaves head attachment unassigned. The row supplies no basis for deciding whether the token is the root of a clause or depends on another token. The presence of rows with this marker establishes that the output has places for tokens. Hawaiian-specific tokenization and grammatical annotation are unavailable.
Hawaiian treebank and parser status
A UD treebank is an annotated corpus whose sentence analyses supply token boundaries, part-of-speech tags, and syntactic heads and relations. Mova has Hawaiian corpus excerpts and holds no annotated Hawaiian treebank. The sentence identifiers locate the texts. They supply neither gold dependency analyses nor training and development splits for the baseline.
| Component | Hawaiian package status |
|---|---|
| Corpus text | Hawaiian excerpts have sentence identifiers. |
| Annotated UD treebank in Mova | Absent. |
| Level-2 parser model | Absent. |
| Train-to-development parsing baseline | Unmeasured. |
For example, the location expression “ma ka hikina hema” has the gloss at DEF east south and means ‘in the southeast’. It occurs in wiki:haw:Honolulu, Hawaiʻi. Here DEF stands for definite article. The excerpt attests the expression in context. A treebank would also specify the token boundaries and assign the syntactic head and relation of each token. Those annotations would supply a reference analysis for training or evaluation.
Training and evaluation of a UD baseline
What every language gets asks for the same parser baseline for each language. It uses a UD training split to fit a tree parser and tagger and a development split to assess dependency attachment. The parser and tagger are trained in Mova’s en crate.
| Stage | Command | Role in the baseline |
|---|---|---|
| Preparation | en xpos-fill | Prepare the training data for the training step. |
| Training | en train | Fit a tree parser and tagger on the language’s UD training split after en xpos-fill. |
| Evaluation | en parse-eval | Measure UAS and LAS on the development split with the parser trained on the training split. |
Unlabeled attachment score (UAS) measures how often the parser assigns the reference head to a scored token. Labeled attachment score (LAS) measures how often it assigns both the reference head and the reference dependency relation. A token with the correct head and a different relation counts as correct for UAS only.
The Hawaiian baseline requires annotated training and development data. Training needs reference analyses to fit the tagger and parser, and evaluation needs reference heads and relations to score the resulting trees. With no Hawaiian treebank in Mova, both Hawaiian attachment scores are unmeasured. Neither segmentation labels nor Parse=None rows supply the reference analyses needed for either score.
Dependencies for frames and pragmatics
Mova’s frames, pragmatics, and world components, including prag and world, read English trees. Their input therefore depends on the syntactic analysis of the span whose interpretation is at issue. A sentence or span language label supplies the identification used for model lookup. It supplies no syntactic heads, relation labels, or grammatical features.
For Hawaiian, the missing level-2 model leaves those components without a Hawaiian tree to read. A parser model would address that immediate input gap. Hawaiian support for interpreting the resulting trees would be a further question, since the existing components read English trees. In particular, a Hawaiian grammar claim about a speech act, a pragmatic inference, or a discourse referent can be recorded in the manual while the corresponding analysis remains unavailable for Hawaiian input.
Squid's grammar claims and implementation queue
Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims enter Squid’s implementation queue. These include rules, closed lists, and statistics. A rule records where a pattern applies, including its conditions and exceptions. A closed list gives the full membership of a grammatical set. A statistical claim records a quantity and the range of data to which it applies.
Queue membership records a claim awaiting implementation in Mova’s code. It gives no evidence of runtime behavior. For Hawaiian, the points that come first are those needed by a tokenizer, a tagger, and a UD treebank baseline. Tokenization requires decisions about units and boundaries in the written form. Tagging requires criteria for assigning word classes and features. Treebank annotation requires decisions about heads and relations that can be applied consistently across sentences. These decisions provide the analyses the baseline measures against.
How Mova handles Hawaiian today
tools/mova-parse uses tools/langseg at level 1 to label sentences and spans. For Latin-script text, the segmenter distinguishes English and French using its Latin table, language lexicons, and a character 4-gram model. Adding another Latin-script language uses a Lang code and a lexicon from open UD training splits through langseg latin-lexicon. For a language without a parser model, span identification extends only as far as the segmenter’s script or lexicon coverage.
At level 2, tools/mova-parse looks up the model for each span’s language. No model exists for haw. For spans labeled Hawaiian, the # parse comment reports the missing model. The token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL and Parse=None in MISC. Hawaiian tokenization, tagging, lemmatization, and dependency parsing are unavailable.
The package calls for a UD baseline using en xpos-fill followed by en train, with UAS and LAS measured on the development split by en parse-eval. Mova holds no annotated Hawaiian treebank and has no measured Hawaiian baseline. Mova’s frames, pragmatics, and world components read English trees, and the absence of Hawaiian trees leaves them without Hawaiian input.
Squid records the manual’s grammatical points as claims and queues those that can be formalized. The chapter’s rules remain unimplemented. The initial implementation priorities are the points needed for a tokenizer, a tagger, 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/haw/30-mova-tools/