Mova0.6 pre-release

the flag of Indonesia 25. Banjar in Mova

The Banjar edition uses the language code bjn. Mova has Banjar source text for examples, and Squid reads the grammar as a set of claims. The current package has neither a Banjar parser model nor an annotated treebank. This chapter describes what the multilingual tools can report about a passage and what linguistic analysis is available for it.

The Banjar edition and the current package state

The edition code identifies the language covered by this manual. A language label attached to a source example identifies that example in the corpus. Automatic recognition of a span, parsing of that span and evaluation of the resulting trees are separate operations, each with its own data requirements.

Part of the packageState for Banjar
EditionThe Banjar manual serves bjn.
Source textThe examples supplied for the manual include Banjar Wikipedia text with corpus identifiers.
Annotated corpusMova holds no Banjar Universal Dependencies treebank.
Parser modelMova has no Banjar level-2 model file.
Parser evaluationMova has measured no Banjar treebank baseline.
Grammar claimsSquid reads the manual as claims. Formalizable claims can enter the implementation queue.

A corpus identifier gives the provenance of an example. For instance, the following phrase illustrates the text available to the manual.

FormGlossTranslationCorpus ID
“sabuting binting”one.CLF fort‘one fort’wiki:bjn:Fort Rotterdam

CLF means classifier. The gloss explains the phrase for the reader. It supplies no corpus token boundaries or Universal Dependencies labels against which to score a parser.

Language segmentation and recognition limits

tools/mova-parse uses two levels. At level 1, tools/langseg assigns a language to each sentence and span. At level 2, the parser uses the model for the language assigned to each span. A sentence can therefore contain spans that call for different models. The language assignment determines which model the second level would use.

For Latin script, tools/langseg 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. It assigns scripts outside its supported script range to other. Latin spelling by itself is insufficient to establish a Banjar language assignment.

Adding another Latin-script language requires a lexicon and a Lang code. langseg latin-lexicon builds a lexicon from an open Universal Dependencies training split. The bjn label on the manual and its examples supplies an editorial identification. Recognition in running text depends on the coverage of tools/langseg. The absence of a Banjar parser model is a separate limit that applies even when a span has been identified as Banjar.

A source passage can contain material in more than one language. The following name occurs within an entry identified as Banjar.

FormGlossTranslationCorpus ID
“Baccaurea motleyana”botanical species name‘Baccaurea motleyana’wiki:bjn:Laman Tatambaian

The corpus ID locates this example in the entry. It supplies neither a span boundary nor a prediction about the language label that the segmenter would assign.

Missing parser model and Parse=None output

At level 2, tools/mova-parse looks for a model file named with the language code of the span. For a span assigned to Banjar it would need bjn.bin. Mova has no such model. The multilingual parser reports the missing model in the # parse comment and marks the token rows for the affected span as shown below.

Output locationValue or report when the model is missingInformation the location carries
# parse commentReports the language whose model is missingWhich language could not be parsed
LEMMA_Lexical base form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Head of the token in the dependency tree
DEPREL_Dependency relation to the head
MISCParse=NoneMissing parse status

Read the comment and the token fields together. Parse=None records the missing analysis for the affected rows. An underscore in HEAD leaves the head unspecified, and an underscore in FEATS leaves the morphological analysis unspecified. The presence of token rows in this output provides no evidence of a Banjar tokenizer. Mova has no implemented Banjar tokenization, tagging, lemmatization or parsing. Where several languages occur in a passage, model availability is determined for each span according to its assigned language.

The missing treebank baseline and UAS and LAS measurements

The Mova language package calls for a common Universal Dependencies baseline across languages. The en crate supplies the training and evaluation tools. After en xpos-fill, en train trains the tree parser and tagger on the language’s Universal Dependencies training split. en parse-eval measures attachment scores using the development split after training on the training split. The available models are en.bin for English and fr.bin for French. The package specifies the same baseline procedure for each language. (What every language gets)

MeasureFull nameWhat counts as a correct attachment
UASUnlabeled attachment scoreThe predicted head matches the reference head.
LASLabeled attachment scoreThe predicted head and dependency relation both match the reference annotation.

The training split provides annotated examples from which to learn. The development split provides reference trees for comparison with the parser’s predictions. UAS measures the head assignments, while LAS also checks the relations on those assignments.

Mova holds no Banjar treebank, so it has no Banjar training and development splits for this baseline. Neither UAS nor LAS has been measured for bjn. The sample text supplies forms in context, and the manual supplies descriptions and glosses. A baseline requires reference heads and relation labels in an annotated development split. Likewise, Parse=None is a status in parser output. It supplies no score for either attachment measure.

Dependencies for frames and pragmatics

Mova’s frames, pragmatics and world components read English trees. The components named for pragmatics and world are prag and world. For Banjar, the missing dependency tree leaves these components without the input they use for analysis. A language assignment can identify a span for model selection, but it supplies none of the head assignments or dependency relations that a tree would carry.

For example, a reader can use the following gloss to understand the phrase in the context of its entry.

FormGlossTranslationCorpus ID
“kawa manyusun”can compose‘can compose’wiki:bjn:Skripsi

The gloss is part of the manual. Even when a gloss identifies a modal meaning, it supplies no machine-readable dependency tree for the passage. Parsing is a prerequisite for passing Banjar material to the tree-based components. The existing components’ tree input is English.

Grammar claims in Squid and implementation status

Squid reads each grammatical point in the manual as a claim. Formalizable claims wait in Squid’s queue for a place in Mova’s code. These include rules with conditions on their application, closed lists of forms or values, and statistics that can be stated as claims. A queued claim records something that can be formalized. Implementation requires the corresponding behavior in Mova’s code.

A word-formation rule, for example, can describe a relation between forms under stated conditions. That description can serve as a claim without causing an input form to acquire a lemma. A claim about the placement of a modifier can describe an ordering pattern without assigning any dependency heads when a sentence is given to the multilingual parser. These uses of the manual depend on different outputs. Squid produces claims from the description, and the parser would need a language model to produce trees from text.

No Banjar grammar rule in the manual has been implemented in Mova. The first points relevant to implementation are those needed for a tokenizer, a tagger and a Universal Dependencies treebank baseline. Those tasks need decisions about token boundaries, the categories assigned to tokens and the dependency annotations used as a reference. The queue records formalizable grammar claims while those tools and data are absent.

How Mova handles Banjar today

tools/mova-parse uses tools/langseg to assign languages to sentences and spans at level 1. Recognition is limited to coverage in the segmenter’s script and lexicon resources. For Latin script, its current distinctions are English and French. A further Latin-script language joins through a lexicon and a Lang code. Level 2 selects the model for the language assigned to the span.

Banjar has no level-2 model. For an affected Banjar span, tools/mova-parse reports the missing model in # parse, writes _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and writes Parse=None in MISC. Mova does not tokenize, tag, lemmatize or parse Banjar.

Mova has no annotated Banjar treebank and no measured Banjar baseline. The common baseline uses en xpos-fill and en train on the Universal Dependencies training split and en parse-eval to measure UAS and LAS on the development split. Mova’s frames, pragmatics and world components read English trees, and no Banjar tree is available for them to read.

Squid reads the manual as grammar claims and queues formalizable points for implementation. Queueing leaves the rules unimplemented. The first relevant claims are those needed by a tokenizer, a tagger and a Universal Dependencies treebank baseline.

Sources for this chapter

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