32. Ganda in Mova
Mova’s Ganda edition uses the language code lg. It has a grammar manual and Ganda text samples. As of 18 November 2026, it has no Ganda parser model, no Ganda treebank in Mova, and no measured parsing baseline. These are separate parts of language coverage. A text sample illustrates the language, a treebank supplies annotated examples, and a trained model supplies analyses for new input.
Language identification and current Ganda coverage
Multilingual processing has two levels. At level one, tools/langseg assigns a language to each sentence and span. At level two, tools/mova-parse uses that assignment to select a parser model for the span. The code lg identifies the Ganda edition and is the code under which a Ganda parser model would be looked up.
The Latin-script component of tools/langseg distinguishes English and French using its Latin table, a lexicon for each language, and a character 4-gram model. Its other stated coverage is Hebrew-script varieties and scholarly transliterations of Hebrew or Aramaic. Scripts outside its coverage are other. Ganda uses the Latin script, and the stated Latin-script coverage lists English and French. Recognizing the script therefore gives no basis for reporting that the segmenter recognizes a span as Ganda. An lg label on a corpus entry records the language of that entry.
A Ganda entry can include material in several languages. The following noun phrase comes from a passage that also contains an English organization name. The entry’s Ganda label applies at a different scale from the span labels that the segmenter assigns.
- Form ow’ekibiina kya Uganda Bankers Association
- Gloss
of-CL1’organization.CL7 of-CL7 Uganda Bankers Association - Translation “of the Uganda Bankers Association”
- Corpus
wiki:lg:Wilbrod Humphreys Owor
The corpus label gives the context for reading this excerpt. It supplies neither automatic span boundaries nor the language decisions a particular run would make within them.
Level-two parser model status and Parse=None output
For a span with a language assignment, tools/mova-parse looks for that language’s model using the pattern <code>.bin. The language code determines the model lookup for each span in a multilingual input. No level-two model exists for lg.
When processing reaches an lg span, the parser reports the missing model in the # parse comment and marks its token rows as shown below. The condition is the absence of a model for the language assigned to the span. The table describes the missing-model output rather than predicting how an arbitrary Ganda passage will be segmented or labeled.
| Where | Output when the model is missing |
|---|---|
# parse comment | Reports the language whose model is missing |
| LEMMA | _ |
| UPOS | _ |
| XPOS | _ |
| FEATS | _ |
| HEAD | _ |
| DEPREL | _ |
| MISC | Parse=None |
The underscores leave the corresponding analyses unspecified. An underscore in HEAD leaves the token’s governor unspecified, including whether it is the root. An underscore in FEATS leaves the feature analysis unspecified, including whether any features would apply. Parse=None records why the analysis is unavailable. The presence of rows carrying this marker does not establish that Ganda-specific tokenization has taken place.
Treebank availability and baseline measurement status
Mova holds no annotated Ganda corpus. The Ganda samples available to this manual illustrate surface forms and contexts. A Universal Dependencies treebank supplies the tokenization, grammatical annotation, and dependency trees needed as references for training and evaluation. The existence of samples in the corpus therefore leaves the treebank requirement open.
The distinction matters even in a short expression that a reader can readily interpret. It can contain a noun with class morphology and a number written with grouping punctuation.
- Form abantu 1,208,544
- Gloss
AUG-CL2-person 1,208,544 - Translation “1,208,544 people”
- Corpus
wiki:lg:Kampala
The source records the written expression. Its gold annotation would have to specify the token boundaries, the grammatical analysis of the noun and numeral, and the dependency relation between them in the sentence. A gloss makes the interpretation accessible to a reader but supplies only part of that annotation.
Mova’s package specification in What every language gets calls for a common baseline. The parser and tagger are trained on the UD training split, and parsing is evaluated against the development split. UAS, the unlabeled attachment score, measures whether a token has the correct syntactic head. LAS, the labeled attachment score, also requires the correct dependency relation. There is no measured UAS or LAS for Ganda in Mova. The baseline has no result because the annotated splits and Ganda model are absent. The empty analysis fields shown above are a missing-model outcome, while attachment scores require predictions and a gold reference to compare them against.
Inputs needed for the standard training and evaluation workflow
The standard workflow requires a Ganda UD treebank with a training split and a development split. The training data provide the examples from which the parser and tagger learn. The development data provide annotated sentences against which the resulting parser is evaluated. Both splits need compatible annotation decisions so that the target learned during training is the target measured on development data.
| Input or stage | Role in the workflow |
|---|---|
| UD training split | Provides the annotated material for training the tagger and tree parser |
en xpos-fill | Prepares the training data before training |
en train | Trains the tree parser and tagger on the prepared training split |
| UD development split | Provides the reference trees for evaluation |
en parse-eval | Measures UAS and LAS on development data after training on the training split |
Annotation decisions begin with defining what receives a token row. Ganda source text includes forms written against an apostrophe as well as strings of digits with internal punctuation. Both affect the surface forms presented to the tagger and parser. The choice of token boundaries also determines which units can bear a syntactic head or dependency label.
- Form n'ekitundu
- Gloss
and’AUG-CL7-part - Translation “and a part”
- Corpus
wiki:lg:Kkanisa ya Yeso Eyannamaddala
This occurrence gives evidence for the spelling and the interpretation of the expression. Its treatment as UD tokens requires an annotation decision. The same principle applies to noun class and agreement. Class information may be expressed in the gloss, but the treebank must specify which feature annotations it assigns to nouns and agreeing words and use that analysis consistently.
Language identification has its own input. The documented route for adding a Latin-script language to tools/langseg uses a lexicon derived from an open UD training split with langseg latin-lexicon, together with a Lang code. The lexicon and code support language assignment. The trained parser model supports syntactic analysis of a span once the span has been assigned that language. An open Ganda training split would thus be relevant to both parts of the workflow, in different ways.
Grammar claims in Squid and their implementation status
Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable rules, closed lists, and statistics can enter its queue for subsequent implementation in Mova. A queued claim is a record of the point made in the manual. Implementation requires the point to be realized in code.
A claim about agreement, for example, can describe which form occurs with a noun of a given class. An occurrence in the corpus shows how the construction is written in context.
- Form kibuga kya Uganda
- Gloss
CL7.city CL7.of Uganda - Translation “city of Uganda”
- Corpus
wiki:lg:Kampala
Here kya agrees with the class 7 head kibuga. The example illustrates the agreement claim. Its prose description and gloss remain manual content. A treebank would supply the token features and dependency relations for the occurrence, and automated analysis would require a component that produces those annotations.
The status of a claim and the status of a baseline answer different questions. A queued claim identifies a possible rule, inventory, or statistic for implementation. A baseline measures the attachment predictions of a trained model against annotated development sentences. For Ganda, the manual supplies claims and illustrations, while the missing model and treebank leave automatic analysis and baseline measurement unavailable. The initial implementation priorities are points needed for tokenization, tagging, and a UD treebank baseline.
How Mova handles Ganda today and where analysis stops
tools/mova-parse uses tools/langseg at level one to assign languages to sentences and spans. For Latin script, tools/langseg distinguishes English and French 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. Every other script is other. A further Latin-script language can join through a lexicon from an open UD training split, using langseg latin-lexicon, and a Lang code. Span identification depends on the segmenter’s script or lexicon coverage.
At level two, tools/mova-parse looks up the model for the language of each span. There is no level-two model for lg. The missing model is reported in the # parse comment, and the affected rows carry Parse=None in MISC and _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL. For Ganda, analysis stops before language-specific tokenization, tagging, lemmatization, and dependency parsing.
Mova’s tree parser and tagger are in the en crate. After en xpos-fill, en train uses a UD training split, and en parse-eval measures UAS and LAS on the development split. Models exist for English (en.bin) and French (fr.bin). What every language gets calls for the same baseline for each language. Mova has no Ganda treebank and has measured no Ganda baseline.
Mova’s frames, pragmatics, and world components, prag and world, read English trees. For Ganda there is no parser-produced tree to pass to them. Squid reads the grammar manual and records its points as claims. Formalizable rules, closed lists, and statistics wait in the queue for a place in the code. The Ganda rules described in the manual are unimplemented. The first points relevant to 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).
This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/lg/32-mova-tools/