Elamur: **Mova** · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/languages/id/35-mova-tools/)

[Mova](https://md.mova.elamur.ai/free/en/) / [docs](https://md.mova.elamur.ai/free/en/docs/) / [languages](https://md.mova.elamur.ai/free/en/docs/languages/) / [id](https://md.mova.elamur.ai/free/en/docs/languages/id/) / 35. Indonesian in Mova

# 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 coverage | Treatment in `tools/langseg` |
| --- | --- |
| English and French in Latin script | Distinguished with the Latin table, language lexicons, and a character 4-gram model |
| Hebrew-script varieties | Distinguished within the segmenter’s Hebrew-script coverage |
| Hebrew or Aramaic in scholarly transliteration | Recognized within the segmenter’s transliteration coverage |
| Other scripts | Classified as `other` |
| A further Latin-script language | Requires 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 location | Value for a span without a model | Information normally represented there |
| --- | --- | --- |
| `# parse` comment | Reports the language for which the model is missing | Parse 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 |
| MISC | Contains `Parse=None` | Miscellaneous 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 item | Current status |
| --- | --- |
| Annotated corpus held by Mova | None |
| Level-2 parser model | Absent |
| Treebank baseline | Unmeasured |
| 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](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) 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.

| Stage | Input | Role in the baseline |
| --- | --- | --- |
| `en xpos-fill` | The UD training split | Prepares XPOS for training |
| `en train` | The prepared UD training split | Trains the tree parser and tagger |
| `en parse-eval` | The trained model and the UD development split | Measures 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

- [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) specifies the common baseline for language packages.
- [Sources](https://md.mova.elamur.ai/free/en/docs/languages/id/sources/) lists sources for checking grammatical descriptions against public-domain and open grammars.
- The Indonesian examples are constructed. This chapter cites no external grammar, dictionary, or treebank.
- [← previous 34. Formal, Colloquial and Digital Indonesian](https://md.mova.elamur.ai/free/en/docs/languages/id/34-register-and-variation/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/id/sources/)
- [↑ back to Indonesian (id) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/id/)

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://mova.elamur.ai/sitemap.xml) · [llms.txt](https://mova.elamur.ai/llms.txt)
