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/kg/30-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/) / [kg](https://md.mova.elamur.ai/free/en/docs/languages/kg/) / 30. Kongo in Mova

# 30. Kongo in Mova

`kg` is the language code for Kongo in this manual. Mova has Kongo text samples and a grammar that Squid reads for claims. It has no annotated Kongo treebank, trained `kg` parser model or measured Kongo parsing baseline.

## The Kongo package and its annotated corpus status

The Kongo material includes text samples from Kongo Wikipedia. The sentence identifiers point to their source articles. These samples show written forms and constructions in context. They carry no reference annotation for parts of speech, morphological features or dependency relations, so they cannot serve directly as the reference data for parser evaluation.

| Component | Status for `kg` |
| --- | --- |
| Source text | Mova has Kongo text samples with sentence identifiers. |
| Reference grammar | Squid reads the manual and extracts grammatical claims. |
| Annotated Universal Dependencies corpus | Mova has no Kongo treebank. |
| Level 2 parser model | Mova has no `kg` model. |
| Parsing baseline | No Kongo treebank baseline has been measured. |

The following excerpts show distinctions visible in the source text. The glosses explain the examples for readers of the manual.

| Form | Gloss | Translation | Sentence ID |
| --- | --- | --- | --- |
| “bântu mîngi” | people many | ‘many people’ | `wiki:kg:Matadi` |
| “ya zole” | of two | ‘second’ | `wiki:kg:Kinsâsa` |
| “na nima ya Paris” | at back of Paris | ‘after Paris’ | `wiki:kg:Kinsâsa` |

The ordinal reading of “ya zole” comes from its context, where the phrase gives a city's rank by size. A treebank would make the syntactic analysis explicit by recording how the phrase attaches and how its component words are annotated. The spelling and the English translation alone leave those choices open.

## Language segmentation and Latin-script coverage

Level 1 of `tools/mova-parse` uses `tools/langseg` to assign a language to each sentence and span. For Latin-script text, the documented coverage distinguishes English and French using a Latin table, a lexicon for each language and a character 4-gram model. Recognizing the script therefore provides less information than identifying the language. The Kongo corpus samples use Latin script, but their `kg` source identifiers do not establish that the segmenter can assign that label to incoming text.

The segmenter also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage receive `other`. For an additional Latin-script language, the documented route is to add a lexicon and a `Lang` code. The `langseg latin-lexicon` command builds lexicons from open UD training splits. This is a language-identification step. The lexicon used there supplies evidence for choosing a language label for a span.

| Form | Gloss | Translation | Sentence ID |
| --- | --- | --- | --- |
| “Repubilika ya Kôngo” | republic of Congo | ‘Republic of the Congo’ | `wiki:kg:Repubilika ya Kôngo` |
| “Kôngo-Balazavile” | Congo-Brazzaville | ‘Congo-Brazzaville’ | `wiki:kg:Repubilika ya Kôngo` |

The forms show Latin letters with a circumflex, capitalization and a hyphenated name. The spelling of a name can contribute evidence for language identification, but a name shared across languages need not identify the language of the surrounding words. Identification and tokenization also answer different questions about the hyphenated form. The first concerns the language of the span containing it. The second concerns the word boundaries used in an annotation of that span.

## Model lookup and unannotated output for kg

Level 2 of `tools/mova-parse` takes the language assigned to each span and looks for that language's model at <code>.bin. The language code determines both the model directory and the file name. For a span assigned `kg`, the model file would be `kg.bin`. Mova has no such model.

If the model for a span is missing, `tools/mova-parse` reports that condition in the `# parse` comment. The token rows for the span have the following values.

| Field | Value | Annotation absent or status recorded |
| --- | --- | --- |
| `LEMMA` | `_` | Lemma |
| `UPOS` | `_` | Universal part of speech |
| `XPOS` | `_` | Language-specific part of speech |
| `FEATS` | `_` | Morphological features |
| `HEAD` | `_` | Syntactic head |
| `DEPREL` | `_` | Dependency relation |
| `MISC` | `Parse=None` | No parse for the token |

Read these fields together. A row can carry a surface form while supplying none of the linguistic annotations in the table. In particular, an underscore in `FEATS` here leaves the token's features undetermined, and an underscore in `HEAD` leaves its attachment undetermined. The missing model affects every token in the span, including a form that happens to be recognizable to a reader.

Model lookup is per span. In mixed-language input, the missing `kg` model leaves the `kg` span unannotated. A span assigned a language for which Mova has a model can be parsed with that model. The `# parse` comment reports missing model coverage, while `Parse=None` marks the affected token rows. Neither supplies reference annotations that could be used to score a Kongo parser.

## Squid claims and the implementation queue

Squid reads each grammatical point in the manual as a claim. Claims that can be formalized, including rules, closed lists and statistics, wait in Squid's implementation queue. A queued claim still needs a place in Mova's code before it can affect processing. Consequently, the presence of a description in the manual gives no guarantee that incoming text will be analyzed according to that description.

A claim needs to preserve the scope of the statement it represents. An attested phrase can establish that a particular order occurs. A rule about that order must also specify the construction it applies to, the conditions under which the order holds and any exceptions. A closed list needs all its members and the context in which it is closed. A statistic needs a defined population or sample and a specified count. The few source excerpts in this chapter cannot establish the frequency of a construction across written Kongo.

For example, “bântu mîngi” attests a word meaning ‘many’ after a noun meaning ‘people’. Its analysis in a treebank would require decisions about the category and attachment of the modifier. Those decisions would govern comparable tokens under the same annotation conditions, while the example itself supplies evidence about this occurrence. `wiki:kg:Matadi`

The initial implementation priorities concern the tokenizer, tagger and treebank baseline. Tokenization rules determine the units to be annotated. Tagging rules determine the categories and features assigned to those units. Dependency annotation determines their heads and relations. A grammatical claim can inform one or more of these choices, and the annotation needs to record the resulting decisions for the constructions in the corpus.

## Treebank prerequisites, parser training and baseline measurements

A Kongo baseline requires a UD training split and a development split with reference annotations. The written text must have sentence and word boundaries suitable for those annotations, including a consistent treatment of punctuation and hyphenated forms. Word-level annotation supplies lemmas, tags and features as appropriate to the annotation scheme. The dependency layer identifies each word's syntactic head and relation. Applying the same annotation decisions in both splits makes the development scores interpretable.

A source sample can supply text for annotation. For instance, the occurrence of “Kôngo-Balazavile” supplies a written form whose internal hyphen needs a documented treatment wherever comparable names occur. The annotation decision determines which units receive tags and where dependency relations can attach. The source excerpt establishes the spelling in that occurrence. `wiki:kg:Repubilika ya Kôngo`

Mova's parser and tagger are in the `en` crate. The package specification in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for the same baseline procedure for every language.

| Step | Input and result |
| --- | --- |
| `en xpos-fill` | Prepares the language's UD training split for training. |
| `en train` | Trains the tree parser and tagger on the prepared training split. |
| `en parse-eval` | Evaluates the model trained on the training split against the development split and measures UAS and LAS. |

Unlabeled attachment score, or UAS, measures how often a scored word receives its reference head. Labeled attachment score, or LAS, requires both the reference head and the reference dependency relation for that word. Both scores depend on a reference analysis in the development split. Counting unannotated output rows or rows with `Parse=None` provides no attachment score.

English and French have trained models, `en.bin` and `fr.bin`. They are examples of the model format used in the multilingual pipeline. For `kg`, the absence of a treebank leaves the training and development inputs unavailable, and neither UAS nor LAS has been measured.

## How Mova handles kg today

`tools/mova-parse` first uses `tools/langseg` to assign languages to sentences and spans. The segmenter distinguishes English and French in Latin script with its Latin table, language lexicons and a character 4-gram model. It also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts receive `other`. Detecting a Kongo span depends on segmentation coverage for its script or lexicon. Adding another Latin-script language requires a lexicon and a `Lang` code, with `langseg latin-lexicon` using open UD training splits for lexicon creation.

At level 2, `tools/mova-parse` looks up the model for each span by its assigned language code. There is no level 2 model for `kg`, so a missing model is reported in the `# parse` comment and the affected rows have `Parse=None` in MISC. LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL are all `_` on those rows. Mova has no Kongo tokenization, tagging, lemmatization or parsing at this stage. `prag` and `world` read English trees and have no parsed Kongo trees as input.

Mova has no annotated Kongo treebank and no measured Kongo baseline. [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) specifies the common baseline using `en xpos-fill` and `en train` on the UD training split, with `en parse-eval` measuring UAS and LAS on the development split. The existing models are `en.bin` and `fr.bin`.

Squid reads the grammar and turns grammatical points into claims. Formalizable rules, closed lists and statistics wait in its queue for implementation. None of the chapter's rules is implemented for `kg`. The first points for implementation are those needed by a tokenizer, a tagger and a UD treebank baseline.

## 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/kg/sources/)).
- [← previous 29. Reference, discourse and reported speech](https://md.mova.elamur.ai/free/en/docs/languages/kg/29-reference-and-discourse/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/kg/sources/)
- [↑ back to Kongo (kg) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/kg/)

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