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/ber/tmh/33-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/) / [ber](https://md.mova.elamur.ai/free/en/docs/languages/ber/) / [tmh](https://md.mova.elamur.ai/free/en/docs/languages/ber/tmh/) / 33. Tuareg in Mova

# 33. Tuareg in Mova

Mova holds plain-text examples of Tahaggart Tamahaq (`thv`) and Tawallammat Tamajaq (`ttq`) under its Tuareg coverage (`tmh`). The multilingual pipeline can inspect the scripts in an input, but it has no Tuareg language identifier or parser model. The package has no annotated Tuareg treebank, so there are no measured attachment scores. The forms and glosses in this chapter are editorial readings of corpus excerpts.

## The package and its unannotated thv and ttq examples

The code `tmh` identifies the language covered by the package and this manual. The codes `thv` and `ttq` identify the varieties of the two example collections. These labels are supplied with the examples. In particular, the label on a corpus record gives the reader information that the multilingual pipeline would have to recover if given the text alone.

| Collection | Variety | Material held by Mova | License |
| --- | --- | --- | --- |
| `thv` | Tahaggart Tamahaq | Unannotated Tatoeba sentences in plain text | CC BY 2.0 FR / CC0 |
| `ttq` | Tawallammat Tamajaq | Unannotated Tatoeba sentences in plain text | CC BY 2.0 FR / CC0 |

The collections show the spellings and punctuation that occur in their own records. They supply no gold token boundaries, lemmas, grammatical tags or dependency relations. Mova has made no measurement on either collection. The sentence identifiers let a reader recover the context of a quoted form without treating the phrase gloss as part of the stored data.

| Variety and sentence ID | Form | Gloss | Translation |
| --- | --- | --- | --- |
| `thv`, `tatoeba:7345281` | “alkas n ax” | cup of milk | ‘a cup of milk’ |
| `thv`, `tatoeba:7345874` | “afus-nit” | hand–his | ‘his hand’ |
| `ttq`, `tatoeba:13953715` | “ən tidət” | of truth | ‘of truth’ |
| `ttq`, `tatoeba:13968281` | “kayy tǝssana Tamajeq” | you know.2SG Tamajeq | ‘you know Tamajeq’ |

For example, the spelling of “afus-nit” records a hyphen between the noun and the possessive form. A treebank would still have to specify the syntactic words and their analysis. Likewise, “ən tidət” records a spaced expression. Its plain-text record supplies no annotation for the relation between the two forms or for the attachment of the phrase to the preceding noun. (Tatoeba `tatoeba:7345874`, `tatoeba:13953715`.)

## Script and span identification in langseg

Level one of `tools/mova-parse` uses `tools/langseg` to assign language labels to sentences and spans. In Latin script, `tools/langseg` distinguishes English and French using a Latin table, a lexicon for each language and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported coverage receive `other`.

Latin writing therefore gives the segmenter a script it handles, but there is no Tuareg entry in its Latin language inventory. The `tmh`, `thv` and `ttq` labels supplied with the example material do not establish that the same text will receive a Tuareg label in an arbitrary input. Tifinagh falls under `other`. That label identifies the limit of script coverage and gives no basis for deciding which Tuareg variety a span represents.

A single corpus record can contain more than one script. The following excerpts occur in the same `thv` record. The romanization and gloss are given here to make each excerpt readable independently. (Tatoeba `tatoeba:12551607`.)

| Script | Form | Romanization | Gloss | Translation |
| --- | --- | --- | --- | --- |
| Tifinagh | “ⵏⴰⴾ ⵜⵓⵎⴰⴷⴰⵗ” | *nak tumadaɣ* | I pray.1SG | ‘I pray’ |
| Arabic | “انا اصلي” | *ʾanā ʾuṣallī* | I pray.1SG | ‘I pray’ |

The record’s variety label applies to the corpus example. It does not make the Arabic words Tuareg. This distinction matters when the parser routes spans separately. Evidence that two stretches of text use different scripts is insufficient to identify the language in each stretch, and even a correct language label would supply none of the stretch’s grammatical annotation.

The route for adding a further Latin-script language is to provide a lexicon and a `Lang` code. `langseg latin-lexicon` builds lexicons from open Universal Dependencies training splits. This route concerns recognition of Latin-script spans. The level-two parser needs a separate language model, and coverage of Tifinagh depends on script support.

## The missing level-two model and Parse=None output

Level two selects a model for each span according to its language code. The model file follows the pattern <code>.bin. The selection is per span, so a supported span elsewhere in the same sentence does not provide a model for a Tuareg span. Mova has models for English and French and no level-two model for `tmh`.

When a span’s language has no model file, `tools/mova-parse` reports that language in the `# parse` comment. The rows for the span’s tokens have the following values.

| CoNLL-U field | Value | Information absent |
| --- | --- | --- |
| LEMMA | `_` | Dictionary form |
| UPOS | `_` | Universal part-of-speech tag |
| XPOS | `_` | Language-specific part-of-speech tag |
| FEATS | `_` | Morphological features |
| HEAD | `_` | Syntactic head |
| DEPREL | `_` | Dependency relation to the head |
| MISC | `Parse=None` | A parse for the token |

`Parse=None` records the absence of a parse. The underscore in HEAD supplies no attachment decision, including a decision about which word is the root. The underscores in the tag and feature columns likewise supply no grammatical decisions. The presence of rows does not establish that their boundaries were determined by a Tuareg tokenizer. Mova has no such tokenization for Tuareg.

Read the output at the span level. Level one determines which language the pipeline assigns to the span. Level two determines whether a model can be loaded for that language. A `tmh` span reaches the missing-model case, while Tuareg input presented without a language label may already lack a Tuareg identification at level one. The missing-model output therefore cannot be used to count all Tuareg passages in a mixed document.

## Treebank requirements and the unmeasured UAS and LAS baseline

The baseline requested by [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) uses Universal Dependencies data. `en xpos-fill` precedes training. `en train` trains a tree parser and tagger on the language’s UD training split. `en parse-eval` evaluates the result on the development split. Both splits require reference annotations. The training split supplies analyses for the parser and tagger to learn from. The development split supplies analyses against which to score their predictions.

A Tuareg treebank needs consistent decisions about the relation between the source spelling and the words that receive annotation. Spaces, hyphens and apostrophes in plain text are evidence about the writing. For training and evaluation, the annotation must specify the word boundaries and resolve how written groups containing more than one syntactic word are represented. A gold tree assigns a syntactic head and a dependency relation to each annotated word, using the root convention for the root. Lemmas, tags and features supply the lexical and morphological analysis. These decisions have to be applied consistently in both splits for the scores to measure performance against the same analysis.

The examples show why word segmentation and dependency annotation are separate decisions. The hyphen in the following form is visible in the source. A reference analysis must decide how the directional element is represented, then apply that decision consistently in other occurrences. The gloss identifies its contribution without supplying a gold segmentation or dependency label. (Tatoeba `tatoeba:7450071`.)

| Form | Gloss | Translation |
| --- | --- | --- |
| “Usan-d” | come.3PL–toward.speaker | ‘they came this way’ |

Unlabeled attachment score (UAS) measures the proportion of evaluated words whose predicted head matches the reference head. Labeled attachment score (LAS) requires the predicted head and dependency relation to match the reference. If the head is correct and the relation is wrong, the word counts as correct for UAS alone. If the head is wrong, a matching relation label earns no LAS credit.

Mova holds no annotated Tuareg treebank. Neither Tatoeba collection has reference heads or relations, and neither serves as an annotated training or development split. There is consequently no measured Tuareg UAS or LAS baseline. `Parse=None` is a status value in output, so its occurrence supplies no attachment score.

## Dependencies needed by frames and pragmatics

Mova’s frames, pragmatics and world components read English dependency trees. Their input is a grammatical analysis with relations between words. The plain-text examples supply forms, and level one can supply a span label where it recognizes the language. The missing-model rows for `tmh` supply neither heads nor dependency relations.

The missing relations matter because the same word sequence can provide several kinds of information. In “alkas n ax”, the words support a reading in which the milk specifies the contents of the cup. To place the phrase in the larger event described by the sentence, a dependency analysis must also connect the phrase to the clause. A list of words or an identification of the language leaves that clause-level relation unresolved. The gloss here illustrates what a human reader can recover from the sentence. It supplies no input tree to Mova. (Tatoeba `tatoeba:7345281`.)

The question containing “kayy tǝssana Tamajeq” gives a similar distinction. The spelling includes a question mark, and a reader can interpret the utterance as asking whether the addressee knows Tamajeq. Determining the clause’s grammatical relations and interpreting it as a question are different tasks. The corpus record gives the text and punctuation. It supplies neither a dependency analysis nor a pragmatic classification. (Tatoeba `tatoeba:13968281`.)

A Tuareg parse is the prerequisite identified here for frames, pragmatics and world processing. The supplied implementation covers English trees. There is no Tuareg tree for those components to read in the current package.

## Claims in Squid and their implementation status

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, enter its queue for a place in Mova’s code. The queue records material available for implementation. A queued claim has no effect on the analysis returned for an input.

A rule about a written boundary illustrates the distinction. The manual can describe when a written form contains a host and a clitic. For automated analysis, the corresponding decision must be implemented in tokenization and reflected in the treebank where it applies. A claim about a grammatical distinction can likewise describe which forms a tagger would need to distinguish. The claim itself supplies neither tags for the example collection nor training data for the tagger. Describing a dependency also does not assign that dependency to any stored sentence.

The first points needed for Tuareg are those that support tokenization, tagging and a UD treebank baseline. Tokenization determines the units to be analyzed. Tags and morphological features record information about those units. Dependency heads and labels then give the reference structure for training and evaluation. These are prerequisites for the baseline workflow. The existence of a manual claim, even one that specifies a complete rule or list, does not establish that any stage of that workflow implements it.

Consequently, implementation status must come from the language tools and their output. A grammar example demonstrates a construction, and a corpus identifier locates an attestation. For Tuareg, the held examples are still plain text, there is no treebank or model, and the grammatical rules are unimplemented.

## How Mova handles Tuareg today

Mova holds plain-text Tatoeba examples for `thv` and `ttq` under CC BY 2.0 FR / CC0. Both collections are unparsed and unannotated. Mova has made no measurement on them and holds no annotated Tuareg treebank, so it has no Tuareg UAS or LAS baseline.

At level one, `tools/mova-parse` uses `tools/langseg` to label sentences and spans. Its Latin-script coverage distinguishes English and French, and it handles Hebrew-script varieties and scholarly transliteration of Hebrew or Aramaic. Other scripts, including Tifinagh, receive `other`. Tuareg span identification is limited by the segmenter’s script and lexicon coverage. A further Latin-script language requires a lexicon and a `Lang` code, with `langseg latin-lexicon` providing the lexicon route from open UD training splits.

At level two, `tools/mova-parse` uses the span’s language model. There is no `tmh` model. The missing language is reported in `# parse`, and the affected token rows carry `_` in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with `Parse=None` in MISC. Mova has no Tuareg tokenization, tagging, lemmatization or parsing.

The `en` crate supplies the parser and tagger training workflow. After `en xpos-fill`, `en train` uses the UD training split, and `en parse-eval` measures UAS and LAS on the development split. English (`en.bin`) and French (`fr.bin`) have models. [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) asks for the same baseline for each language.

Mova’s frames, pragmatics and world components, including `prag` and `world`, read English trees. They have no Tuareg trees to read. Squid turns the manual’s grammatical points into claims and queues those that can be formalized. Tuareg’s rules remain unimplemented, with tokenization, tagging and a UD treebank baseline the first needs.

## 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/ber/tmh/sources/)).
- [← previous 32. Tayart Tamajeq](https://md.mova.elamur.ai/free/en/docs/languages/ber/tmh/32-tayart-tamajeq/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/ber/tmh/sources/)
- [↑ back to Tuareg (Tamasheq) (tmh) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/ber/tmh/)

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