Mova0.6 pre-release

the flag of South Africa 29. South Ndebele in Mova

Mova uses nr as the language code for South Ndebele. The package has South Ndebele text, but it has neither a trained parser model nor an annotated treebank. Language identification, dependency parsing, and the analysis of frames and pragmatics have different input requirements. The presence of South Ndebele text in the package establishes that the text is available for inspection and examples.

Language segmentation and the nr package

A multilingual document can contain more than one language, even within a sentence. Mova's first processing level assigns language labels to sentences and spans. The second level uses the language label of each span to select the corresponding parser model. Here a span is a stretch of text assigned a language by the segmenter. A span boundary serves language identification and model selection. A phrase or clause boundary belongs to grammatical analysis.

South Ndebele is written in Latin script. For Latin-script text, the current segmenter distinguishes English and French using a Latin-script table, language lexicons, and a character four-gram model. South Ndebele has no dedicated entry in this coverage. The nr code identifies the package, and the corpus identifier records the provenance of an example. Neither provides evidence that the segmenter can recover nr from an unlabelled passage. Mova's extension route for another Latin-script language calls for a lexicon and a Lang code, with lexicon generation supported for open Universal Dependencies (UD) training splits.

The package text includes ordinary South Ndebele spelling and names. Two excerpts illustrate the evidence available in the text. South Ndebele uses the Latin alphabet, so the form itself supplies the reading line.

FormGlossTranslationCorpus ID
abantu abatjhapeople young‘young people’wiki:nr:16 JUNE 1976
eSewula Afrikain.South Africa‘in South Africa’wiki:nr:16 JUNE 1976

The first excerpt supplies a noun and a modifier in running text. The second supplies the written form of a locative expression containing a proper name. The glosses give the readings in context. A parser model would need annotated evidence for how words like these are represented as tokens, which grammatical features they carry, and how they attach to their syntactic heads.

Current parser output and the missing nr model

At the second processing level, tools/mova-parse looks for the model for the language assigned to the span. There is no model for nr. When the parser encounters a span labelled nr, it reports the missing model in the # parse comment. Any token rows shown for that span have the following values.

Output fieldValueAnalysis unavailable
LEMMA_Dictionary form
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Syntactic head or root assignment
DEPREL_Dependency relation
MISCParse=NoneThe row carries the missing-parse marker

In this setting the underscores come from the missing-model branch. They express no judgement about the grammatical properties of the forms. An empty FEATS field leaves the features unanalyzed, and an empty HEAD field leaves the attachment undetermined. A root assignment in a UD analysis would be an explicit annotation. Parse=None marks a span that lacks a model-based analysis and therefore also supplies no parser decision about word segmentation.

The scope of the marker matters in multilingual input. Each span goes through model selection using its assigned language. A marker on an nr row reports the absence of the nr model. It gives no result for another span whose assigned language has its own model. Conversely, if the first level cannot identify a South Ndebele span, the missing-model marker cannot establish that the text was recognized as South Ndebele.

Treebank availability and baseline measurements

Mova holds no South Ndebele treebank and reports no treebank baseline for nr. The corpus excerpts in this manual attest written forms and constructions. A treebank would add a reference analysis for each sentence, including token boundaries, word annotations, and the head and relation for each syntactic word. The reference analyses are what let an evaluator check parser predictions.

Mova's package specification, What every language gets, calls for the same baseline procedure for every language. en xpos-fill precedes training. en train trains the tree parser and tagger on the language's UD training split, and en parse-eval measures attachment on its development split. The development annotations provide the reference for scoring the output of the trained model.

MeasureWhat must match the development annotation
Unlabelled attachment score (UAS)The predicted syntactic head
Labelled attachment score (LAS)Both the predicted syntactic head and the predicted dependency relation

Correctly attaching a modifier to its noun while giving that attachment the wrong relation satisfies the head criterion alone. This is the distinction between the two measures. Both require predicted dependencies and reference dependencies over the material being evaluated. The missing-model output supplies no predicted dependencies for nr, and the South Ndebele text in Mova supplies no annotated development split for comparison. Thus neither UAS nor LAS has been measured for the package. Attachment scores, when available, measure syntactic attachment against the reference analyses. Language identification and the interpretation of frames and discourse are separate tasks.

Dependency trees as input to frames and pragmatics

A UD tree identifies the syntactic head of each dependent and labels their relation. The tree gives later analysis a way to distinguish dependents of a predicate from modifiers inside a noun phrase or material attached elsewhere in the sentence. These distinctions provide evidence for interpreting a predicate and its participants, and for relating a clause to its context.

For example, Abafundi bazimisele has the gloss students they.are.determined and the translation ‘the students are determined’ (wiki:nr:Amarhwebo eYunivesithi yeMpumalanga). A syntactic analysis of the excerpt would need to identify the predicate and link the overt subject to it. The form of the predicate also carries subject agreement. A tree can record the subject relation and predicate morphology, giving later analysis evidence for which participant the clause describes. The gloss states a reading of the excerpt for the manual.

Mova's frame, pragmatics, and world components, prag and world, read English trees. They have no South Ndebele dependency tree to read from current parser output. The missing tree is the point at which the processing chain stops for nr. Producing South Ndebele trees would supply the syntactic input required for downstream work. The current English-tree input says nothing about the coverage those components would have for South Ndebele constructions once trees are available.

Grammar claims in Squid and the implementation queue

Squid reads the manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists, and statistics, enter the implementation queue. A rule records the conditions under which it applies and any exceptions. A closed list specifies all the members of the set it describes. A statistic needs a defined population and a measurement. These distinctions matter because an attested phrase can support an example of a construction, while a complete paradigm or a measured distribution makes a broader claim.

The queue records formalizable work awaiting a place in Mova's code. A queued claim has no effect on parser output. Corpus forms remain useful when examining what a claim would require. For instance, ngamarhwebo wabo has the gloss with.business.ventures their and the contextual translation ‘in their business ventures’ (wiki:nr:Amarhwebo eYunivesithi yeMpumalanga). The written spacing and the agreeing possessive are different facts about the same excerpt. A tokenization claim would specify the boundary conditions for written forms of this kind. An agreement claim would specify which forms of the possessive go with which noun classes. Annotation would then need to apply the relevant decisions consistently across sentences.

The first implementation needs are those shared by a tokenizer, a tagger, and a UD baseline. For a tokenizer, the question is what counts as a word in the parser input. For a tagger, it is what categories and features can be assigned to that word. For a treebank, it is how those word-level decisions and the syntactic attachments are recorded in reference analyses. Grammatical rules can inform these decisions. Training and evaluation still require annotated data, and the queue itself supplies neither training examples with reference trees nor a trained model.

How Mova handles South Ndebele today

tools/langseg supplies sentence and span language labels at the first processing level. Its Latin-script coverage distinguishes English and French. Adding another Latin-script language calls for a lexicon and a Lang code, with langseg latin-lexicon generating lexicons from open UD training splits. South Ndebele is outside the present Latin-script language coverage.

At the second level, tools/mova-parse selects a model for each span's assigned language. There is no nr model. For a span labelled nr, the # parse comment reports the missing model, LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL contain _, and MISC contains Parse=None. Mova performs no South Ndebele tokenization, tagging, lemmatization, or dependency parsing.

Mova has no annotated South Ndebele treebank and no measured baseline for nr. The package baseline uses en xpos-fill before en train on a UD training split, followed by en parse-eval on the development split to measure UAS and LAS. prag and world read English trees and currently have no parsed South Ndebele input.

Squid records the manual's grammatical points as claims and queues the formalizable ones for implementation. The chapter's grammatical rules have yet to be implemented. The first items for implementation are the ones needed for tokenization, tagging, and a UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/nr/29-mova-tools-and-data/