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

# 29. Tsonga in Mova

The Tsonga edition uses the language code `ts`. Mova has Tsonga text in its corpora, but it has no annotated Tsonga treebank, no Tsonga parser model, and no measured Tsonga parsing baseline. This chapter explains how those resources relate to language recognition, dependency analysis, and the processing of meaning.

## The Tsonga edition and the language package

The edition code identifies the language described by the grammar manual. Corpus identifiers such as `wiki:ts:Zimbabwe` identify text in the Tsonga collection. Both can exist independently of the recognition resources and trained model that the multilingual parser uses at runtime.

The distinction between corpus text and annotated data is visible in the phrase below. The corpus supplies the written form and its provenance. A treebank would also supply token boundaries and grammatical analyses in a form that a parser can learn from or be evaluated against.

| Form | Gloss | Translation | Corpus ID |
| --- | --- | --- | --- |
| “tiko ra Afrika” | country(5) 5.POSS Africa | ‘a country of Africa’ | `wiki:ts:Zimbabwe` |

The numeral in the gloss gives the noun class. `POSS` marks the possessive linker, whose class 5 concord is controlled by *tiko* ‘country’. Such a gloss explains the construction to a reader. In a treebank, the corresponding word-level decisions would be expressed as tags, features where applicable, and dependency relations.

The package specification in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for the same parser baseline across languages. For Tsonga, the available corpus text can illustrate constructions, while the training and evaluation required for the baseline depend on an annotated treebank.

## Language segmentation and requirements for Tsonga recognition

The multilingual parser `tools/mova-parse` has two levels. At level 1, `tools/langseg` assigns a language to sentences and spans. At level 2, the parser uses the model for each span’s assigned language. The distinction matters in mixed-language text because the language assigned to a span controls which model the parser looks for.

For Latin-script text, the documented segmentation resources distinguish English and French using a Latin table, a lexicon for each language, and a character 4-gram model. A character 4-gram is a sequence of four characters, so this evidence concerns spelling patterns as well as the words listed in the lexicons. The segmenter also distinguishes varieties written in Hebrew script and recognizes scholarly transliteration of Hebrew or Aramaic. It assigns `other` to scripts outside its supported inventory.

The Tsonga corpus examples use Latin script. Recognizing their script puts them in a script category shared with many languages. The route for adding a Latin-script language to the documented inventory requires a lexicon and a `Lang` code. `langseg latin-lexicon` supports building the lexicon from an open UD training split. The edition code `ts` and the `ts` in a corpus identifier identify the language or collection in those contexts. They supply neither the lexicon nor a level-1 assignment for a particular input span.

## Missing parser model and Parse=None output

When level 2 receives a span with a language assignment, it looks for that language’s model file. There is no model for `ts`. For a span assigned to Tsonga, `tools/mova-parse` reports the missing model in the `# parse` comment and uses the following values in the token rows.

| Field | Value | Analysis unavailable |
| --- | --- | --- |
| `LEMMA` | `_` | Dictionary form |
| `UPOS` | `_` | Universal part-of-speech tag |
| `XPOS` | `_` | Language-specific part-of-speech tag |
| `FEATS` | `_` | Morphological features |
| `HEAD` | `_` | Syntactic head |
| `DEPREL` | `_` | Relation to the syntactic head |
| `MISC` | `Parse=None` | Parser status for the token |

The comment reports the missing model at the output level, and the miscellaneous field marks its effect on individual rows. An underscore in `HEAD` leaves the syntactic head unspecified. In UD output, the root would have head `0`, so the underscores cannot be interpreted as a set of roots. Likewise, an underscore in `FEATS` in this output supplies no evidence about the presence of grammatical features in the input.

These field values describe the result when a span reaches level 2 under `ts`. Reading them requires keeping the language assignment and the parsing status apart. `Parse=None` records the lack of a parse for the affected token. It supplies no account of how the span received its language assignment. The presence of token rows also establishes no Tsonga-specific tokenization.

## Treebank requirements and the unmeasured UAS and LAS baseline

A UD treebank provides reference analyses for sentences. To train and evaluate a Tsonga parser, the data need a training split and a development split with tokenization, grammatical annotation, and dependency heads and relations. The splits have different roles. The training sentences supply examples for the tagger and parser to learn from. The development sentences supply reference trees against which the predictions can be compared.

For Tsonga, annotation decisions include how to represent written verb forms containing several grammatical elements and how to analyze concord in noun phrases. These decisions affect the units to which tags and dependencies are assigned. In the first corpus phrase above, for example, the annotator needs to identify the role of *ra* and represent its relation to the other words consistently. A phrase gloss explains the concord for the reader, but it does not specify those dependency heads and relations.

Mova’s parser and tagger are in the `en` crate. After `en xpos-fill`, `en train` trains the parser and tagger on the language’s UD training split. `en parse-eval` measures the result on the development split. The two attachment scores answer different questions about each evaluated word.

| Measure | A prediction counts as correct when |
| --- | --- |
| UAS, unlabeled attachment score | The predicted syntactic head agrees with the reference head. |
| LAS, labeled attachment score | Both the predicted head and the predicted dependency relation agree with the reference analysis. |

Mova holds no annotated Tsonga corpus, so there is no train-to-development attachment score for Tsonga. A missing-model output is a processing status. A measured UAS or LAS requires parser predictions and reference heads and relations to compare them with.

## Frames, pragmatics and their English tree input

A dependency tree specifies the syntactic relations between words. Frames concern the participants and circumstances associated with a predicate. Pragmatic analysis concerns what an utterance does or conveys in context. For example, an analysis of the phrase below can identify the nominal expression and its possessor. Determining whether someone used the phrase to refer to a person or to address that person would also require its use in context.

| Form | Gloss | Translation | Corpus ID |
| --- | --- | --- | --- |
| “Tata wa hina” | father(1a) 1.POSS 1PL | ‘our father’ | `wiki:ts:Tata wa hina` |

Here `1a` identifies the noun class of *Tata*, `1.POSS` marks the class 1 possessive concord, and `1PL` identifies the first-person plural possessor. The gloss and translation explain the phrase for readers of the grammar.

Mova’s frames, pragmatics, and world components, including `prag` and `world`, read English trees. A corpus phrase, a manual gloss, and a language assignment provide different kinds of information from that tree input. Tsonga currently supplies no parsed input to these components. A Tsonga parser would provide Tsonga trees, while the documented input to the downstream components is English trees.

## Squid claim extraction and the implementation queue

Squid reads the grammar manual and turns each grammatical point into a claim. Claims that can be formalized, including rules, closed lists, and statistics, wait in Squid’s queue for a place in Mova’s code. The queue records material for implementation. Runtime support requires the relevant code or data to be in place.

A concord description illustrates the difference. The manual can state that the class of a possessed noun controls the form of its possessive concord, as in *tiko ra Afrika*. A formal claim can represent that dependency between the noun class and concord. To apply it to text, a grammatical analysis must identify the noun, its class, and the concord form in the construction. The manual example and the claim do not perform those steps.

For a language without a model, the first priorities are the grammatical points needed by a tokenizer, a tagger, and a UD treebank baseline. Tokenization establishes units for annotation. Tagging assigns categories to those units. The treebank supplies reference analyses for learning and measuring dependency structure. Each part uses different information from the manual and corpus.

## How Mova handles Tsonga input today

`tools/mova-parse` assigns sentence and span languages through `tools/langseg` at level 1. Its documented Latin-script resources distinguish English and French, using a Latin table, lexicons, and a character 4-gram model. It also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts are assigned `other`. Adding a Latin-script language requires a lexicon and a `Lang` code, with `langseg latin-lexicon` supporting lexicon creation from open UD training splits. Span recognition depends on the segmenter knowing the script or lexicon.

At level 2, `tools/mova-parse` looks for the model for the assigned language. Models exist for English (`en.bin`) and French (`fr.bin`). When a span is assigned `ts`, the missing Tsonga model is reported in the `# parse` comment. Its token rows have `_` in `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD`, and `DEPREL`, with `Parse=None` in `MISC`. Mova currently provides no Tsonga tokenization, tagging, lemmatization, or parsing.

[What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for a common parsing baseline. In the `en` crate, `en train` trains a tree parser and tagger on the UD training split after `en xpos-fill`. `en parse-eval` measures UAS and LAS on the development split. Mova has no Tsonga treebank, so neither score has been measured for Tsonga. The frames, pragmatics, and world components read English trees, and `prag` and `world` receive no parsed Tsonga input.

Squid extracts claims from the manual and queues formalizable rules, closed lists, and statistics for implementation. The Tsonga grammar points described here have no runtime implementation yet. The initial priorities are the points required for 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/ts/sources/)).
- [← previous 28. Reference, dialogue and inferred meaning](https://md.mova.elamur.ai/free/en/docs/languages/ts/28-reference-and-discourse/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/ts/sources/)
- [↑ back to Tsonga (ts) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/ts/)

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