Mova0.6 pre-release

the flag of Indonesia 35. Indonesian in Mova

Mova assigns language labels before it selects dependency parser models. Later stages use the resulting trees. The package holds no annotated Indonesian corpus and has no parser model for Indonesian (id). The missing-model output applies to a span labeled id. The Indonesian Universal Dependencies (UD) attachment baseline is unmeasured. Squid records grammatical claims from the manual for possible implementation.

Language segmentation and Latin-script coverage

Language segmentation assigns a language to each sentence and span. A sentence can contain spans with different language labels. At model lookup, each span uses its own label, even when the sentence or another span has a different label.

Standard written Indonesian uses the Latin script. In tools/langseg, the Latin table, a lexicon for each supported language, and a character 4-gram model distinguish English and French. A character 4-gram is a sequence of four characters. Identifying Indonesian requires an Indonesian language entry. Shared script alone does not establish an Indonesian label.

Input or coverageTreatment in tools/langseg
English and French in Latin scriptDistinguished with the Latin table, language lexicons, and a character 4-gram model
Hebrew-script varietiesDistinguished within the segmenter’s Hebrew-script coverage
Hebrew or Aramaic in scholarly transliterationRecognized within the segmenter’s transliteration coverage
Other scriptsClassified as other
A further Latin-script languageRequires a corresponding Lang code and a lexicon prepared with langseg latin-lexicon from an open UD training split

The language entry and lexicon support span identification. A parser model supplies linguistic annotations for the words in a span. The two resources serve separate stages.

Example Rina berkata, ‘The door is open.’ (constructed)

The reporting clause is Indonesian and the quotation is English. If the two spans reach model lookup with labels id and en, lookup uses the Indonesian entry for the reporting clause and the English entry for the quotation. The example illustrates the effect of those labels at lookup. It makes no prediction about the boundaries or labels that the installed segmenter assigns to the raw sentence.

Parser model lookup and Parse=None output

At level 2, tools/mova-parse uses the span’s language label to look up its parser model. A span labeled id reaches the missing-model outcome because the package has no model for that entry. The # parse comment reports the missing model, and MISC contains Parse=None on each affected token row.

Output locationValue for a span without a modelInformation normally represented there
# parse commentReports the language for which the model is missingParse availability
LEMMA_Lemma of the word
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Index of the syntactic head, or 0 for the root word
DEPREL_Dependency relation
MISCContains Parse=NoneMiscellaneous information, including the missing-parse marker

Use the comment to identify the language with a missing model and the MISC marker to identify the affected rows. In mixed-language output, the marker applies to the rows that carry it. On a marked row, _ in FEATS means that the parser supplied no feature analysis for the word. An underscore in HEAD leaves attachment unresolved. A root has the explicit HEAD value 0 in an annotated UD tree. The presence of token rows also leaves the correctness of Indonesian word boundaries unverified.

Form Mereka membaca. (constructed)
Gloss 3PL AV.read
Translation ‘They read.’

If level 2 receives the span with the label id and displays a row for membaca, that row has the values shown in the table. The hand gloss uses AV for actor voice and supplies a verb analysis independently of the parser output.

Held data, model status and unmeasured UAS and LAS

Mova holds no annotated Indonesian corpus and has no level-2 model for id. Its English and French models, en.bin and fr.bin, belong to the English and French entries. A span labeled id uses the Indonesian entry for model lookup.

Indonesian package itemCurrent status
Annotated corpus held by MovaNone
Level-2 parser modelAbsent
Treebank baselineUnmeasured
Unlabeled attachment score (UAS)Unmeasured
Labeled attachment score (LAS)Unmeasured

UAS is the proportion of evaluated words for which the predicted head matches the reference head. LAS is the proportion of evaluated words for which both the predicted head and the predicted relation match the reference. A correct head paired with a wrong relation earns credit for UAS alone. A wrong head earns credit for neither score, even if the relation matches. Both scores require parser predictions and reference annotations for an evaluation split. Counting rows marked Parse=None counts missing predictions. The unmeasured status therefore gives no estimate of Indonesian attachment accuracy.

The corpus entry reports what Mova holds. For the UD baseline, the training split of an annotated treebank supplies training examples and the development split supplies the reference for evaluation. A language-identification lexicon serves a separate purpose. Its word forms help identify spans by language.

The UD training and evaluation workflow

What every language gets calls for a common baseline across languages. Mova’s parser workflow is in the en crate. For a language with UD training and development splits, training uses the training split and evaluation uses the development split as the reference for scoring. The crate name identifies where the workflow lives. The training data determine the language of the model being trained.

StageInputRole in the baseline
en xpos-fillThe UD training splitPrepares XPOS for training
en trainThe prepared UD training splitTrains the tree parser and tagger
en parse-evalThe trained model and the UD development splitMeasures UAS and LAS against the development annotations

The reference split defines the annotated words and their dependencies. HEAD records the attachment, and DEPREL records the relation. Labeled credit requires both fields to match for the same evaluated word. Tag predictions alone supply neither attachment field.

Form Rina membaca buku. (constructed)
Gloss Rina AV.read book
Translation ‘Rina reads a book.’

In a reference analysis that attaches buku to membaca as obj, predicting that head and relation earns credit for both UAS and LAS. Predicting the same head with a different relation earns credit for UAS alone. Attaching buku to Rina earns credit for neither score, even with the relation obj. These are outcomes for one evaluated word. The baseline scores aggregate over the evaluated split.

The baseline measures attachment against development annotations. Processing running multilingual text also requires language identification and model lookup for each span. The Indonesian baseline remains unmeasured.

Dependencies of frames, pragmatics and world processing

Frames, pragmatics, and world processing read English trees. The modules named for pragmatics and world processing are prag and world. A span marked Parse=None supplies no dependency tree. An Indonesian parser could supply a tree for an Indonesian span, but support for consuming that tree is a separate condition.

Form Tolong tutup pintu. (constructed)
Gloss please close door
Translation ‘Please close the door.’

Identifying the span as Indonesian supplies its language label. A syntactic analysis can identify tutup ‘close’ as the verb and attach pintu ‘door’ as its object. Recognizing the utterance as a request, with tolong ‘please’ marking politeness here, is an interpretation of the utterance. The example gives a hand analysis. The missing-model output for the Indonesian span supplies no tree for the later stages.

Squid claims and implementation status

Squid reads the grammar manual and turns its grammatical points into claims. Formalizable claims include rules, closed lists, and statistics. Squid queues these claims for possible implementation in Mova. A claim describes a property of the language. Its presence in the queue records that it is a candidate for implementation.

A list in the manual can specify which forms belong to a class. A tokenizer needs rules for locating word boundaries in running text, and a tagger needs evidence for assigning a class to a word in context. A UD baseline needs annotated examples with reference heads and relations. The list, the processing behavior, and the reference annotations supply different information.

The missing id model establishes that level 2 cannot supply an Indonesian parse. The status of a particular grammatical claim depends on the relevant implementation. Evidence for a tokenization claim concerns the word boundaries produced. Evidence for a tagging claim concerns the tags assigned in context. Evidence for a dependency claim concerns the heads and relations produced. A queued claim and an unmeasured baseline leave those behaviors unverified.

How Mova handles Indonesian across the pipeline

At level 1, tools/mova-parse uses tools/langseg to label sentences and spans. Its Latin table, language lexicons, and character 4-gram model distinguish English and French in Latin script. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. It classifies other scripts as other.

At level 2, tools/mova-parse looks up a model using the span’s label. The English and French entries have en.bin and fr.bin, respectively. There is no model for id. When a span reaches lookup with that label, the # parse comment reports the missing model. The affected rows contain Parse=None in MISC and _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL.

In the en crate, en xpos-fill prepares XPOS for training, en train trains a tree parser and tagger on the prepared training split, and en parse-eval measures UAS and LAS against the development split. Frames, pragmatics, and world processing, including prag and world, read English trees. A span with Parse=None supplies no tree to these stages. Squid turns grammatical points from the manual into claims and queues formalizable claims for possible implementation.

Sources for this chapter

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