Elamur: **Mova** · [Parse](https://mova.elamur.ai/free/en/parse/) · [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/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/)

[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/languages/ng/23-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/) / [ng](https://md.mova.elamur.ai/free/en/docs/languages/ng/) / 23. Ndonga in Mova

# 23. Ndonga in Mova

The `ng` edition describes Ndonga grammar. In Mova, Ndonga currently has neither a parser model nor an annotated treebank. This chapter explains how language identification, model lookup, treebank evaluation, and downstream interpretation determine what the system can report for Ndonga text.

## The ng edition and the scope of its grammar claims

The code `ng` identifies the Ndonga edition of the manual. The edition describes linguistic patterns, including the conditions on their use and any exceptions. For example, a rule about noun-class agreement states which form a construction requires under specified conditions. An annotated tree records the forms, features, and dependencies assigned to words in an individual sentence. These are different kinds of evidence.

A short corpus example illustrates the distinction. The phrase is available as text, and the gloss explains the noun’s structure. The gloss is part of the manual’s analysis.

| Form | Gloss | Translation |
| --- | --- | --- |
| “omunhu” | AUG-CL1-person | ‘person’ |

`AUG` denotes the augment, and `CL1` denotes noun class 1. The form comes from `wiki:ng:1 Timoteus`.

The edition code identifies the subject of the grammar. For text processing, Mova separately requires a language assignment for the span and a model for that language. A grammar claim, a corpus form, and a model prediction each support a different kind of statement about Ndonga.

## Latin script and the requirements for language identification

Ndonga uses Latin script. In a system that distinguishes languages within that script, recognizing Latin characters leaves the language of a span to be determined. At level 1, `tools/langseg` assigns a language to sentences and spans. Its Latin-script distinction covers English and French and uses a Latin table, a lexicon for each language, and a character four-gram model. Adding a further Latin-script language requires a lexicon and a `Lang` code. The `langseg latin-lexicon` command supports building the lexicon from open Universal Dependencies (UD) training splits.

Page or corpus labels operate at a different scale from span labels. A record from a Ndonga page can contain a title in another language. The following short phrase occurs in a record whose entry begins with the language label `ar`.

| Form | Romanization | Gloss | Translation |
| --- | --- | --- | --- |
| “الكتاب المقدس” | al-kitāb al-muqaddas | DEF-book DEF-holy | ‘the Holy Bible’ |

`DEF` denotes the definite article. The phrase comes from `wiki:ng:Ombimbeli`. It illustrates why the language of the containing record is insufficient evidence for the language of every span. The documented Ndonga output with `Parse=None` describes the model-lookup outcome for an `ng` span. It provides no measurement of how reliably level 1 identifies such spans.

## Parser model lookup and Parse=None output

At level 2, `tools/mova-parse` looks up a model for the language assigned to each span. The model location follows the pattern <code>.bin, with the same language code in the directory and filename. Model selection is per span, so a sentence containing multiple languages can require multiple models.

When the selected language has no model file, the `# parse` comment reports that language. The output rows for that span have the following values. The `ng` case follows this pattern because no level-2 Ndonga parser model exists.

| Output field | Value | Information absent or recorded |
| --- | --- | --- |
| `LEMMA` | `_` | Lemma |
| `UPOS` | `_` | Universal part-of-speech tag |
| `XPOS` | `_` | Language-specific part-of-speech tag |
| `FEATS` | `_` | Morphological features |
| `HEAD` | `_` | Index of the syntactic head |
| `DEPREL` | `_` | Dependency relation |
| `MISC` | `Parse=None` | Status of the missing parse |

The underscores carry no grammatical judgment about any individual form. In particular, an empty `HEAD` leaves the syntactic head unspecified, and an empty `FEATS` leaves the feature analysis unspecified. The `Parse=None` marker accounts for the missing analyses on the emitted rows. Those rows supply no evidence that a Ndonga tokenizer or tagger has analyzed the text.

## Treebank availability and the unmeasured parsing baseline

Mova holds no annotated Ndonga corpus. The corpus records cited in this chapter provide text examples. A UD treebank would also supply reference annotations for the words and their syntactic relations. A supervised evaluation needs those reference annotations to decide whether the parser’s proposed heads and relations are correct.

The Ndonga parsing baseline is therefore unmeasured. There is no Ndonga unlabeled attachment score (UAS) or labeled attachment score (LAS) to report. A `Parse=None` result records an unavailable parse for a span. It supplies neither an evaluated dependency prediction nor an evaluation score.

A grammar can explain a decision that treebank annotators need to make, such as which features belong on a word. The treebank must record the decision in context. A set of grammatical examples without reference dependency annotations cannot serve as the development split for attachment scoring.

## The Universal Dependencies training and evaluation workflow

Mova’s language package asks for the same train-to-development baseline for every language ([What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/)). The workflow uses the parser in the `en` crate. It prepares the UD training data with `en xpos-fill`, uses `en train` to train the tree parser and tagger on the training split, and uses `en parse-eval` to measure attachment on the development split.

| Measure | What counts as a correct attachment |
| --- | --- |
| UAS | The predicted syntactic head matches the reference head. |
| LAS | The predicted syntactic head and dependency relation both match the reference annotation. |

The distinction matters when the parser attaches a word to the right head but assigns the wrong relation. That attachment can count as correct for UAS while failing the LAS criterion. Both measures require predicted and reference trees. The training split supplies the examples from which the model learns, and the development split supplies the reference analyses against which its predictions are measured.

English and French have model files, `en.bin` and `fr.bin`. For Ndonga, the workflow describes the baseline the package calls for. Running it for `ng` requires annotated training and development data. Using a resulting model in multilingual parsing also requires the model file to be available for level-2 lookup.

## Frame and pragmatics input requirements

Mova’s frame, pragmatics, and world components, including `prag` and `world`, read English trees. Their input is a syntactic analysis. A span label identifies the language for routing, and the output fields for heads and dependency relations carry the tree that a downstream component would need.

For `ng`, those tree fields are empty. The components therefore have no Ndonga tree from which to derive a frame or a pragmatic interpretation. A manual gloss can make a form intelligible to a reader, but the gloss does not supply the dependency structure expected by those components. A Ndonga parse is a prerequisite for downstream processing, and the documented tree input of the current components is English.

## How Mova handles Ndonga claims in Squid

Squid reads each grammatical point in the manual as a claim. Formalizable rules, closed lists, and statistics enter its queue for a place in Mova’s code. A queued claim is pending implementation. None of the Ndonga rules described in the manual is implemented in Mova yet. The first points for implementation are those needed by a tokenizer, a tagger, and a UD treebank baseline.

For languages without a model, Mova can identify spans only where `tools/langseg` knows the script or lexicon. Ndonga uses Latin script, for which the documented language distinction covers English and French. The route for adding another Latin-script language requires a lexicon and a `Lang` code.

When `tools/mova-parse` receives a span assigned to `ng`, level 2 has no Ndonga model to load. It reports the missing model in the `# parse` comment and emits `Parse=None` in `MISC`, with `_` in `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD`, and `DEPREL`. Ndonga tokenization, tagging, lemmatization, and parsing are unavailable. Mova holds no annotated Ndonga treebank, so there is no measured baseline. The components that read English trees likewise have no Ndonga parse to use.

## 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](https://md.mova.elamur.ai/free/en/docs/languages/ng/sources/)).
- [← previous 22. Speech acts, address and figurative language](https://md.mova.elamur.ai/free/en/docs/languages/ng/22-speech-acts-and-figurative-language/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/ng/sources/)
- [↑ back to Ndonga (ng) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/ng/)

> 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)
