Mova0.6 pre-release

the flag of Burundi 26. Rundi in Mova

Mova has Rundi text samples. Its Rundi package currently has neither an annotated treebank nor a parser model. Language segmentation, grammatical annotation and interpretation are separate stages. The corpus excerpts below illustrate decisions a Rundi annotation scheme would need to make.

Language segmentation and Rundi model availability

tools/mova-parse handles multilingual input in two stages. At level 1, tools/langseg assigns language labels to sentences and spans. At level 2, the parser uses the model for each span's assigned language. A language label identifies the span for model selection. The label alone provides no analysis of its words or syntax.

Rundi uses Latin script, which it shares with other languages. Mova's Latin-script language identification distinguishes English and French with a language-specific lexicon and character sequence evidence. Adding another Latin-script language calls for a lexicon and a Lang code. Rundi text in the corpus gives examples of the language, while recognition of Rundi spans depends on the segmenter's available language evidence.

A corpus entry indexed under Rundi can contain passages in several languages. The republic names in wiki:rn:Uburundi illustrate why the language of a page and the language of each span are separate annotation decisions. The excerpts use Latin script and need no romanization.

FormLanguageGlossTranslation
“Repuburika y’Uburundi”Rundirepublic of-BurundiRepublic of Burundi
“République du Burundi”Frenchrepublic of.the BurundiRepublic of Burundi
“Jamhuri ya Burundi”Swahilirepublic of BurundiRepublic of Burundi

A span identified as Rundi has no level-2 model available. Its language label can appear without a corresponding dependency tree.

Parse output and annotation fields

For a Rundi span that reaches level 2, tools/mova-parse reports the missing model in the # parse comment. The output rows for that span carry the following values.

FieldRole in an annotated outputValue for a span with no model
LEMMACitation form of the syntactic word_
UPOSUniversal Dependencies part-of-speech category_
XPOSLanguage-specific part-of-speech tag_
FEATSMorphological feature assignments_
HEADIndex of the word's head, with 0 for the root_
DEPRELDependency relation to the head, or the root label_
MISCAdditional information associated with the rowParse=None

An underscore in HEAD leaves the head unspecified. Root status would require an explicit root annotation. The underscores in FEATS and XPOS also leave those fields unspecified. Parse=None records the lack of a parse for the span. The rows can display surface forms, but their presence supplies no evidence that Rundi-specific token boundaries or syntactic words have been resolved.

Treebank availability and baseline measurements

Mova holds no Rundi treebank. The text samples supply spellings and passages for inspection, but they have no reference tags, heads or dependency relations in Mova. A parsing baseline requires an annotated training split and an annotated development split.

The package baseline uses en xpos-fill before en train, which trains the tagger and tree parser on the Universal Dependencies training split. en parse-eval measures attachment on the development split. The en crate provides this training procedure, and What every language gets asks for the same baseline across languages.

MeasureCondition for counting an evaluated word as correct
Unlabeled attachment score (UAS)The predicted head matches the reference head.
Labeled attachment score (LAS)The predicted head and dependency relation both match the reference annotation.

Both scores are proportions over the words included in evaluation. For LAS, a correct head with an incorrect relation label counts as an error. Neither score has been measured for Rundi in Mova.

Requirements for tokenization, tagging and dependency parsing

Tokenization

A Rundi treebank needs explicit conventions for sentence boundaries, punctuation, orthographic tokens and syntactic words. The tokenization policy must say when one written form corresponds to more than one syntactic word. Apostrophes are a practical test because the corpus contains both straight and curved forms in grammatical constructions.

FormGlossTranslationCorpus ID
“n'abantu”by-peopleby peoplewiki:rn:Ikirundi
“c'Uburundi”of-Burundiof Burundiwiki:rn:Ikirundi
“rw’isi”of-worldof the worldwiki:rn:Kiseperanto

In its corpus sentence, “n'abantu” introduces the people who speak the language in a passive construction. In “c'Uburundi” and “rw’isi”, the material before the apostrophe introduces a dependent of a noun. An annotation convention must specify how to represent each construction and how the apostrophe spelling is retained in the surface text. The glosses show grammatical contributions and leave the syntactic word boundaries open.

Tagging and lemmatization

A tagset needs criteria for the universal category, any language-specific tag and the morphological features recorded for each syntactic word. The class of a noun and the agreement expressed on another word are separate observations. A lemmatization convention must also say how inflected forms are linked to citation forms. An analysis may identify several morphemes in a word that receives a single lemma.

FormGlossTranslationCorpus ID
“ururimi ruvugwa”language 11-speak-PASSa language that is spokenwiki:rn:Ikirundi
“igihugu kiri muri Afirika”country 7-be in Africaa country that is in Africawiki:rn:Uburundi

The gloss numbers identify noun classes. The class 11 noun “ururimi” controls agreement expressed by the beginning of “ruvugwa”. The class 7 noun “igihugu” controls agreement expressed by the beginning of “kiri”. These forms illustrate why the context for assigning agreement features can extend beyond the word bearing the marker. In the first example, passive morphology and noun-class agreement occur on the same verb.

Dependency annotation

The dependency scheme needs head and relation conventions for subjects, objects, oblique dependents, modifiers and embedded predicates. In the two phrases above, the verbal expressions modify nouns. Their internal subjects are understood through the nouns they modify, whose classes are reflected on the verbs. The treebank must represent the relation of each relative clause to its noun as well as the relations among the overt words inside the clause. It also needs a convention for an argument expressed by verbal marking when there is no separate noun phrase.

Agreement, semantic roles and dependency relations carry different information. Agreement associates a form with a controller. A semantic role describes a participant in an event. A dependency relation describes a syntactic attachment. The speakers introduced by “n'abantu” in the corpus passive are the people who perform the speaking, while their syntactic analysis must follow the convention for the agent phrase of a passive. Training and development annotation must apply the same conventions for an attachment score to measure them consistently.

Frames and pragmatics

A Universal Dependencies tree specifies syntactic relations. A frame describes a predicate and its participants, and pragmatic analysis concerns how an utterance functions in context. For example, “ururimi ruvugwa” (language 11-speak-PASS, “a language that is spoken”, wiki:rn:Ikirundi) describes speaking and identifies the language being spoken. The wider clause supplies the speakers. Identifying those participants calls for an analysis that connects the passive construction with its dependents.

Mova's frame, pragmatics and world components operate on English trees. Rundi currently supplies no parsed input to those components. A Rundi tree would supply syntactic input. Which frame and pragmatic analyses could use it would still depend on support for Rundi constructions.

Grammar claims in Squid

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, enter Squid's queue for possible implementation in Mova. A rule needs its conditions and exceptions, and a closed list needs its full membership. These details determine which inputs a claim covers.

A corpus example illustrates a claim in a particular context. The different spellings and agreement forms shown here give concrete cases for annotation, while their general treatment depends on the corresponding grammatical rules and annotation conventions. A queued claim records a specification awaiting implementation. The current Rundi package has no implemented grammar rules from the manual.

How Mova handles Rundi today

At level 1 of tools/mova-parse, tools/langseg labels sentences and spans. Its recognition covers English and French in Latin script, varieties written in Hebrew script, and Hebrew or Aramaic in scholarly transliteration. For an additional Latin-script language, the route is to add a lexicon and a Lang code. langseg latin-lexicon uses open Universal Dependencies training splits. Identification of Rundi spans depends on the script and lexicon coverage of tools/langseg.

Level 2 selects a parser model by the span's language. Mova has English and French models, en.bin and fr.bin. There is no model for rn. When a span is assigned to rn, tools/mova-parse reports the missing model in # parse, leaves LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL as _, and records Parse=None in MISC. Mova provides no Rundi tokenization, tagging, lemmatization or dependency parsing at this stage.

Mova holds no annotated Rundi treebank, so there is no Rundi baseline. The baseline requested by What every language gets uses en xpos-fill and en train on a Universal Dependencies training split, then en parse-eval to measure UAS and LAS on the development split.

Mova's frames, pragmatics and world components, including prag and world, read English trees and currently have no Rundi trees to read. Squid turns the manual's grammatical points into claims and queues the formalizable ones. Rundi grammar rules are still awaiting implementation. The first points needed are those that support a tokenizer, a tagger and a Universal Dependencies treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/rn/26-rundi-in-mova/