Mova0.6 pre-release

the flag of South Africa 36. Zulu in Mova

Mova uses zu as the language code for Zulu. Its multilingual parser first assigns a language to each span and then looks for a model for the assigned language. Zulu has no dedicated language identification coverage, parser model or annotated corpus in Mova. The assigned label determines which model lookup governs the output. A Zulu attachment baseline requires a trained model and a separate annotated development split. Evaluating routing requires checking the assigned labels and span boundaries against a reference.

Language identification and the Zulu span coverage gap

Language identification is level 1 of multilingual parsing. tools/langseg assigns languages to sentences and spans. A sentence may contain spans in different languages. Level 2 uses the label of each span for model lookup, so the sentence label alone is insufficient to determine which model is sought for a particular stretch of text.

For Latin-script text, tools/langseg distinguishes English and French using a Latin table, a lexicon for each language and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage receive the label other. Zulu uses the Latin script and has no dedicated identification coverage. The uncovered-script rule therefore gives no basis for predicting other as the label of a Zulu span. The output supplies the assigned label and the boundaries to which it applies.

Adding a Latin-script language requires a lexicon and a Lang code in the identifier. langseg latin-lexicon provides a way to build the lexicon from an open Universal Dependencies (UD) training split. The package code zu names Zulu in Mova. For Zulu spans to reach a Zulu model through multilingual parsing, the identifier must assign zu to those spans. A Zulu model can be available while a mislabeled span is sent to another language's model.

For example, in the constructed mixed-language sentence Abantwana bayafunda, and the room is quiet, the intended language changes before and. A routing check inspects where the output places the boundary and which label it assigns to the words on each side.

Level-two model availability and Parse=None output

At level 2, tools/mova-parse looks for the model associated with each span's assigned language code. Mova has models for English and French and no model for zu. If a span is assigned zu, the # parse comment reports the missing model for that language. The token rows carry the following values.

Output fieldValue for a span whose model is missingInterpretation
LEMMA_Lemma unspecified
UPOS_Universal part of speech unspecified
XPOS_Language-specific part of speech unspecified
FEATS_Morphological features unspecified
HEAD_Syntactic head unspecified
DEPREL_Dependency relation unspecified
MISCParse=NoneModel lookup left the span without a parse

In this output, an underscore in FEATS leaves open whether the form marks noun class or verbal agreement. The unspecified HEAD and DEPREL values leave the rows without a dependency tree. The presence of token rows establishes only that the output contains those units. Mova provides no Zulu-specific tokenization, tagging, lemmatization or dependency parsing.

Parse=None records the missing-model outcome for the assigned language. For example, if Zulu text is labeled en, level 2 looks up the English model. If the text is labeled zu, the missing Zulu model governs the output. Check the assigned span language before interpreting the token rows.

Annotated corpus availability and the unmeasured Zulu baseline

Mova holds no annotated Zulu corpus. It has no measured Zulu treebank baseline and no Zulu UAS or LAS result to report. Parse=None is an output status. Attachment scores are calculated by comparing predicted attachments with gold dependencies, the reference annotations in the evaluation corpus.

MeasureWhat a correct prediction requires
Unlabeled attachment score (UAS)The predicted head matches the gold head.
Labeled attachment score (LAS)Both the predicted head and the predicted dependency relation match the gold annotation.

Each score is the proportion of evaluated attachments that meet its criterion. For example, suppose a subject's gold head is its verb and its gold relation is nsubj. A prediction that picks that verb and labels the relation obj counts as correct for UAS only. A matching relation with the wrong head counts as incorrect for both. The scores cover dependency attachment. Language identification, lemmatization, part-of-speech tagging, morphological features, frame extraction and pragmatic interpretation require their own evaluation.

The corpus statement concerns Mova's holdings. Running sample Zulu text through the multilingual parser can show its assigned labels and parse status. An attachment evaluation requires Zulu parser predictions and gold dependencies for the same evaluation material.

Training and evaluation requirements for a Zulu baseline

What every language gets calls for the same treebank baseline for every language. For Zulu this requires a UD training split and a separate annotated development split. Training uses the training split, and development scoring compares the model's predictions with the development annotations.

The annotation guidelines must establish how written tokens map to UD syntactic words, which are the units that receive heads and dependency relations. In Zulu, grammatical distinctions can be expressed inside a single written word. A morpheme-by-morpheme gloss exposes those distinctions while leaving the UD analysis to the annotation guidelines.

FormGlossTranslation
Abantwana bayafunda.a-ba-ntwana ba-ya-fund-a · AUG-CL2-child AGR.CL2-DISJ-read-FV‘The children are reading.’ (constructed)

In the gloss, AUG is the augment, CL2 is noun class 2, AGR.CL2 is class 2 subject agreement, DISJ marks the disjoint verb form and FV is the final vowel. The hyphens mark morpheme boundaries inside the two written words. The treebank guidelines must specify which units receive their own syntactic word rows, which distinctions are represented in FEATS and how the subject and predicate are linked. The gloss and translation leave HEAD and DEPREL to be annotated.

The Mova baseline follows this sequence.

  1. Prepare Zulu UD training and development splits using consistent conventions for syntactic words, tags, features, heads and relations. Keep development examples out of training.
  2. Apply en xpos-fill before training. Use en train on the training split to train the tagger and tree parser.
  3. Use en parse-eval to measure UAS and LAS on the development split. Report the corpus and splits, whether evaluation uses gold or predicted word boundaries, and which attachments enter the scores, including the treatment of punctuation.

A development score describes attachment accuracy against the annotated Zulu reference. End-to-end multilingual parsing also requires level 1 to identify Zulu spans and level 2 to find the corresponding model. To evaluate language identification on mixed-language text, compare the predicted boundaries and labels with reference spans.

Dependencies of frames and pragmatics on parsed input

Mova's frame, pragmatics and world components read English dependency trees. A tree makes available syntactic relations that downstream interpretation can use to connect a predicate with its arguments and modifiers. A Zulu span reported with Parse=None supplies no dependency tree to these components.

Processing Zulu through this route requires a Zulu parse and downstream support for interpreting Zulu dependency analyses. An attachment baseline measures the syntax stage. Evaluating frame extraction, referent resolution or interpretation of a speaker's intended meaning requires reference annotations or judgments for those outputs.

In mixed-language text, the dependency tree for an English span supplies English input for that span. A neighboring Zulu span assigned zu still lacks its own tree. The English span's tree therefore supplies no Zulu syntactic relations for joint interpretation of the two spans.

Grammar claims and Squid's implementation queue

Squid reads the reference grammar and turns grammatical points into claims. Claims that can be formalized, including rules, closed lists and statistics, wait in Squid's queue for a place in Mova's code. Queue membership records a claim awaiting implementation.

A rule specifies the inputs it applies to, the result for those inputs and any exceptions. A closed list specifies all members and the domain for which the list is complete, such as a particular paradigm. A statistical claim retains the population or data it describes and, for a rate, the event counted and the denominator. For example, a list of agreement forms supplies candidate forms. Choosing an analysis for a particular occurrence can still require the noun class and the syntactic context. A frequency in a corpus describes the occurrences counted and leaves the analysis of an individual occurrence to the relevant grammatical conditions.

The claims needed for a first Zulu baseline concern tokenization, tagging and dependency annotation. A written-boundary rule can inform tokenization. A paradigm can inform tag and feature choices. A clause-structure rule can inform head and relation choices. The treebank must provide annotated instances of the relevant analyses. A measured baseline requires training on the training split and scoring predictions against the separate development split.

How Mova handles Zulu today

tools/mova-parse has two levels. At level 1, tools/langseg assigns languages to sentences and spans. Its Latin-script coverage distinguishes English and French through a Latin table, language lexicons and a character 4-gram model. It also covers Hebrew-script varieties and scholarly transliteration of Hebrew or Aramaic. Scripts outside coverage are labeled other. Zulu has no dedicated identification coverage. langseg latin-lexicon builds lexicons from open UD training splits.

At level 2, tools/mova-parse looks up models by the assigned span language. It has en.bin for English and fr.bin for French. It has no model for zu. When a span is assigned zu, the # parse comment reports the missing model, MISC contains Parse=None, and LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL contain _. Mova has no Zulu-specific tokenizer, tagger, lemmatizer or dependency parser.

Mova holds no annotated Zulu corpus and has no measured Zulu treebank baseline. The en crate provides en xpos-fill for preprocessing, en train for training a tagger and tree parser, and en parse-eval for measuring UAS and LAS.

Mova's frame, pragmatics and world components read English dependency trees. prag and world receive no Zulu tree from a span marked Parse=None. Squid records the manual's grammatical points as claims and queues claims that can be formalized.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/zu/36-mova-tools-and-coverage/