Mova0.6 pre-release

the flag of Malaysia 20. West Coast Bajau in Mova

West Coast Bajau has a grammar manual and text examples in Mova under the language code bdr. Mova has no annotated treebank or parser model for the language. This chapter explains how multilingual input reaches the parser, how missing annotations are recorded, and what the grammar manual contributes to Squid.

Language segmentation and model lookup

Mova splits multilingual processing into two levels. At level 1, tools/langseg assigns a language to each sentence and span. A sentence may contain spans with different language assignments. At level 2, tools/mova-parse looks up a parser model for the language assigned to each span. The lookup pattern is <code>.bin, with the same language code in the language directory and the model filename. Thus the language assignment determines which model the parser looks for.

The Latin-script identification resources in tools/langseg distinguish English and French. They use a Latin table, a lexicon for each language, and a character 4-gram model. The segmenter also distinguishes varieties written in Hebrew script and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside the supported script coverage are assigned other. To add a Latin-script language, the segmenter needs a lexicon and a Lang code. The langseg latin-lexicon command supports building the lexicon from an open Universal Dependencies (UD) training split.

For West Coast Bajau, the code bdr identifies the language in the manual and corpus examples. Recognition in running text depends on the segmenter's script and lexicon coverage. West Coast Bajau uses Latin script, which it shares with the languages already distinguished by the Latin-script resources. If a span has been assigned bdr, model lookup reaches a separate limit. There is no level-2 model for that code.

Unannotated output and Parse=None

When the assigned language has no model file, tools/mova-parse reports the missing model in the # parse comment. The output also records the missing analysis on each affected token row. The comment describes why parsing is unavailable, and the token fields show which annotations are absent.

Output fieldValue for an affected tokenAnalysis represented by the field
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=None entryStatus of the parse

The underscores record missing annotations. For example, an underscore in HEAD leaves the token's position in a dependency tree unspecified. Parse=None applies to the analysis of that token. In multilingual input, the lookup is per span, so a span whose assigned language has a model can be parsed independently. The unannotated rows for bdr do not establish West Coast Bajau token boundaries through a language-specific tokenizer.

A short corpus phrase illustrates the distinction between an attested text example and the fields supplied by a parser.

FormGlossTranslationCorpus sentence ID
“ta' Kuala Lumpur”LOC Kuala Lumpur‘in Kuala Lumpur’wiki:bdr:Adibah Noor

Here LOC glosses the locative expression in this context. The gloss accompanies the example in the manual. A row for ta' in an unparsed bdr span has _ in its annotation fields and Parse=None in MISC.

Treebank availability and baseline measurements

Mova has West Coast Bajau text examples, including the Wikipedia sample cited above. A UD treebank supplies the token annotations, heads, and dependency relations needed for supervised training and evaluation. Mova holds no annotated West Coast Bajau corpus at present.

The package specification in What every language gets calls for the same parser baseline for each language. Mova's parser and tagger are in the en crate. After en xpos-fill, en train trains them on the language's UD training split. en parse-eval measures the result on the development split. The existing models are en.bin for English and fr.bin for French.

MeasureWhat must match the development annotation
UAS, unlabeled attachment scoreThe syntactic head
LAS, labeled attachment scoreBoth the syntactic head and the dependency relation

With no West Coast Bajau treebank in Mova, there is no measured training-to-development baseline for bdr. Both attachment scores are unavailable. The package's measurement procedure defines what a reported baseline would measure.

Dependencies of frames and pragmatics on parsing

Mova's frame, pragmatics, and world components, which include prag and world, read English trees. A span identified as West Coast Bajau provides a language assignment where segmentation supports it. To supply a tree, parsing would also have to assign syntactic heads and dependency relations for that span.

At present the West Coast Bajau output has neither of those annotations. The frame, pragmatics, and world components therefore have no West Coast Bajau tree to read. A parsed English span in the same input can supply its own tree. The stated input for these downstream components is English trees, so a future bdr parser would address the missing tree at the parsing stage. Downstream support for West Coast Bajau would remain a separate question.

Grammar claims in Squid and their implementation status

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists, and statistics, wait in Squid's queue for a place in Mova's code. A queued claim records a statement from the manual. It has no implemented behavior while it waits in the queue.

The manual can therefore describe a form or construction and illustrate it with a gloss even when Mova produces no corresponding annotation. The gloss for the locative expression above is an example of a description the reader can use. It supplies no dependency label to tools/mova-parse. For West Coast Bajau, the points that come first in implementation are those needed for tokenization, tagging, and a UD treebank baseline.

How Mova handles West Coast Bajau today

At level 1, tools/langseg can identify a language in a sentence or span where its script or lexicon is supported. Its Latin-script resources distinguish English and French. A further Latin-script language needs a lexicon and a Lang code. At level 2, tools/mova-parse looks up the model for the assigned language. No model exists for bdr. For spans assigned that code, the missing model is reported in the # parse comment. Token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, with Parse=None in MISC.

Mova has no West Coast Bajau tokenization, tagging, lemmatization, or dependency parsing. It holds no annotated treebank for bdr, so it has no measured treebank baseline. The components for frames, pragmatics, and world information read English trees and have no parsed West Coast Bajau input.

Squid records grammatical points from the manual as claims and queues the formalizable ones. The West Coast Bajau grammar rules are unimplemented. The first implementation needs concern tokenization, tagging, and the UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/bdr/20-mova-tools/