28. Xhosa in Mova
Mova has no Xhosa (xh) parser model or annotated Xhosa corpus. This chapter describes what the multilingual parser returns for Xhosa, what a Universal Dependencies (UD) baseline would measure, and where Xhosa support ends in the package state checked on 18 November 2026.
Language identification and multilingual spans
The multilingual pipeline has two levels. The first assigns a language to each sentence and span. The second selects a parser model by the language assigned to each span. A multilingual sentence can therefore contain spans intended for different models. The language decision determines which model the parser looks for, and the presence of that model determines whether the span can receive a tree.
Xhosa is written in Latin script. The Latin-script language distinctions documented for tools/langseg are English and French. Its Latin-script identification uses a Latin table, a lexicon for each supported language and a character four-gram model. The documented way to add a Latin-script language is to add a lexicon and a Lang code. A lexicon can be built from an open UD training split with langseg latin-lexicon. The package has no documented Xhosa identification support. The other designation for scripts outside the supported set gives no basis for predicting the label of an unsupported Latin-script span.
A stretch of Xhosa can occur next to English even within a single sentence. The following example illustrates the kind of boundary that language identification would need to find. It makes no prediction about the boundaries or labels the current tool returns.
| Form | Gloss | Translation |
|---|---|---|
| Ndiyafunda, but I can talk later. | ndi-ya-fund-a, but I can talk later. | “I’m studying, but I can talk later.” |
ndi- marks a first-person singular subject, -ya- marks the disjoint present, -fund- means ‘read’ or ‘study’, and -a is the final vowel. (constructed)
Parse output without a Xhosa model
When a span is assigned xh, tools/mova-parse has no Xhosa model with which to parse it. The # parse comment reports that a model is missing. The rows for the span carry the following values.
| CoNLL-U field | Output | Annotation unavailable |
|---|---|---|
| LEMMA | _ | Dictionary form |
| 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 to the head |
| MISC | Parse=None | Parse status recorded for the token |
These values describe the output for a span assigned a language with no model. A row preserves a place for an annotation in the output, but provides no evidence of Xhosa-aware tokenization. An underscore in FEATS here leaves features unassigned, and an underscore in HEAD leaves the head unknown. A UD root would have HEAD 0 and the relation root. In a multilingual text, a span assigned a language with an available model can receive that model’s analysis while a span assigned xh has the missing-model output above.
Annotated corpus availability and baseline status
Mova holds no annotated Xhosa corpus. It therefore has no Xhosa treebank baseline and no measured Xhosa scores for unlabeled attachment or labeled attachment. An unavailable score is recorded here as unmeasured. A value of zero would describe the outcome of an evaluation that ran and found no correct attachments.
A treebank baseline requires reference token boundaries, tags and dependency analyses, with training and development data serving different purposes. The training split supplies the analyses the system learns from. The development split supplies reference analyses against which its predictions are scored. A corpus of raw sentences can supply text for annotation, but attachment scores require reference heads and relations. The corpus availability stated here describes Mova’s holdings.
Training and evaluation with Universal Dependencies
The package specifies the same baseline procedure for each language. In Mova’s en crate, en xpos-fill precedes training, en train trains a tree parser and tagger on a language’s UD training split, and en parse-eval measures attachment on the development split. The crate name is en, and its training procedure takes the UD split of the language being modeled. English and French have model files. Xhosa has no run of this baseline.
| Measure | A token counts as correct when |
|---|---|
| UAS, unlabeled attachment score | Its predicted head matches the reference head. |
| LAS, labeled attachment score | Its predicted head and dependency relation both match the reference annotation. |
Each score is the share of evaluated tokens that meet its condition. For the same evaluated tokens, LAS can equal UAS or fall below it. A correct head with an incorrect relation contributes to UAS alone. These measures concern dependencies and provide no direct score for lemmatization, noun-class features, language identification or the accuracy of multilingual span boundaries.
For a Xhosa baseline, the annotated units matter because written words can contain several grammatical markers. Agreement expressed inside a verb word does not by itself make those markers separate syntactic tokens. The reference tokenization establishes the units to which the heads and relations apply. The training and development data need to use consistent tokenization and feature conventions for the scores to reflect how the parser handles the same annotation scheme across both splits.
| Form | Gloss | Translation |
|---|---|---|
| Abantwana bafunda incwadi. | aba-ntwana ba-fund-a i-ncwadi | “The children are reading a book.” |
aba- marks the class 2 noun, ba- marks class 2 subject agreement, and i-ncwadi is a class 9 noun. The hyphens show morphology in the gloss. On a word-level analysis of this example, bafunda heads the subject abantwana and the object incwadi. The dependency decisions concern those words, while subject agreement is visible within the verb. (constructed)
Frames, pragmatics and world knowledge
A dependency tree records grammatical relations. A frame can represent who participates in an event and what roles they have. Pragmatic analysis can address how an utterance functions in context. World knowledge can contribute information that the sentence leaves unstated. Each of these analyses needs evidence beyond a span’s language label.
Mova’s frames, pragmatics and world components read English trees. The absence of a Xhosa tree leaves them with no Xhosa input to read. In the example with bafunda, the subject and object give a grammatical basis for interpreting the children as readers and the book as the thing read. That interpretation illustrates the information at issue. Mova supplies no Xhosa dependency tree or downstream analysis for it. A Xhosa parser would supply the missing trees, while the documented readers currently take English trees.
Squid claims and implementation status
Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims include rules, closed lists and statistics. These enter a queue for implementation in Mova. A statement about Xhosa word structure or concord can therefore appear in the manual and have a corresponding queued claim while the parser output still leaves all of the relevant fields empty.
The first implementation priorities are points needed by a tokenizer, a tagger and a UD treebank baseline. For Xhosa these concern which written units receive tokens, which grammatical categories and features those tokens can carry, and which dependency analyses provide a reference for training and evaluation. The presence of a claim in the queue records material awaiting implementation. Xhosa has no implemented chapter rules, annotated corpus, parser model or measured baseline in the current package state.
How Mova handles Xhosa today
At level 1, tools/mova-parse uses tools/langseg to assign a language to each sentence and span. The segmenter distinguishes English and French in Latin script with a Latin table, language lexicons and a character four-gram model. It also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported set are other. Identification depends on the segmenter knowing the script or lexicon. A further Latin-script language joins through a lexicon and a Lang code, with langseg latin-lexicon available to build lexicons from open UD training splits.
At level 2, tools/mova-parse looks for the assigned language’s model for each span. No model exists for xh. The # parse comment reports the missing model, and the rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Mova provides no Xhosa tokenization, tagging, lemmatization or dependency parsing.
The en crate has English and French models, en.bin and fr.bin. The procedure specified in What every language gets runs en xpos-fill before en train, which trains a parser and tagger on the UD training split. en parse-eval measures UAS and LAS on the development split. Mova holds no annotated Xhosa corpus, so it has no measured treebank baseline for xh.
Mova’s frame, pragmatic and world components, including prag and world, read English trees. There is no Xhosa tree for them to read. Squid records the manual’s grammatical points as claims and queues the formalizable ones. The Xhosa claims remain unimplemented. The first priorities are the points needed for tokenization, tagging 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).
This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/xh/28-mova-tools/