Mova0.6 pre-release

the flag of Burkina Faso 25. Mossi in Mova

Mova has a Mossi text collection, and Squid reads the Mossi grammar. The mos edition currently has no annotated treebank, trained parser model or measured parsing baseline. This chapter explains the requirements for recognizing Mossi spans, producing Universal Dependencies (UD) trees and passing those trees to downstream components.

Language segmentation and requirements for Mossi recognition

Mova assigns a language at two scales in its first processing level. It labels the sentence and identifies spans within the sentence. The span label determines which language model the second level will look for. This distinction matters in a Mossi article that contains a competition name, a personal name or a date. A name can retain its original spelling inside a Mossi phrase, and a year range can occur in text of many languages.

For Latin-script text, tools/langseg uses a Latin table, language lexicons and a character four-gram model to distinguish English and French. The route for adding another Latin-script language requires a lexicon and a Lang code. The lexicon-building command, langseg latin-lexicon, uses an open UD training split. The mos code identifies the manual edition. Span recognition depends on what the segmenter knows about the script and lexicon.

The corpus phrase below places a year range between a Mossi noun and a determiner. The range itself provides little evidence for deciding the language of the phrase. The surrounding words supply the Mossi evidence.

FormGlossTranslation
Yʋʋmd 2019-20 wãyear 2019–20 DEF‘the 2019–20 year’

Corpus sentence wiki:mos:2019–20 Armenian Premier League. Mossi uses Latin script, so the example gives the written form directly. DEF marks a definite determiner in the gloss.

Parser model availability and unannotated output

At level 2, tools/mova-parse looks for the model corresponding to the language assigned to each span. Model lookup is per span, so a sentence containing spans assigned to different languages can require different models. English and French have models, en.bin and fr.bin. There is no level-2 model for mos.

When the model is missing, a # parse comment reports that condition. Fields that would contain linguistic annotations carry the missing-value marker _. The token records also carry Parse=None in MISC.

Output fieldValue for a span with a missing modelInformation normally carried
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Index of the syntactic head
DEPREL_Dependency relation to the head
MISCParse=NoneStatus of the parse

The presence of token records in this output documents which forms were emitted. It leaves the Mossi word boundaries, parts of speech and syntactic relations unverified. In particular, _ in FEATS gives no basis for deciding whether the written form has number, definiteness or some other feature. Similarly, an empty HEAD field carries no attachment decision. These distinctions matter when the output is used to assemble examples or to inspect errors.

Treebank requirements and the unmeasured baseline

The standard language package described in What every language gets calls for a training-to-development baseline. This requires a UD training split and a separate annotated development split. The training split supplies the examples from which the parser and tagger learn. The development split supplies the reference annotations against which their predictions are scored. A collection of Mossi sentences can provide material for annotation, but the sentences alone supply neither split with reference analyses.

The en crate provides the training and evaluation workflow. The en xpos-fill step precedes en train, which trains the tree parser and tagger on the language’s UD training split. The en parse-eval step measures unlabeled attachment score (UAS) and labeled attachment score (LAS) on the development split. UAS credits a scored word when the predicted head matches the reference head. LAS requires both the head and the dependency relation to match. Both measures require gold head assignments, and LAS also requires gold relation labels.

Mova currently holds no annotated Mossi corpus. The package therefore has no measured Mossi UAS or LAS. The missing-model output is a processing status and supplies no attachment score. The gap applies even where a written phrase is straightforward for a reader to understand.

Inputs required by frames, pragmatics and world knowledge

Mova’s frames, pragmatics and world components operate on English trees. A span label identifies a language, and the token records preserve surface forms, but the input these components read includes a syntactic analysis. A Mossi span with missing heads and dependency relations supplies no such tree.

The dependency structure matters whenever an interpretation turns on the job a word or phrase does in a clause. For example, a personal name can identify a participant, while its relation to the predicate depends on the surrounding clause. A word sequence and a language label leave that relation open. A time expression can be recognizable as a date while its attachment also remains open.

Mossi parsing is thus a prerequisite for supplying tree input for Mossi. The documented components read English trees. Their present input coverage establishes English as the supported case, with no Mossi frame, pragmatic or world analysis established by the current package.

Grammar claims in Squid and priorities for tokenization, tagging and parsing

Squid reads each grammatical point in the manual as a claim. Rules, closed lists and statistics are the kinds of claims that can be formalized and queued for a place in Mova’s code. The queue records claims awaiting implementation. The highest-priority claims for Mossi are those that settle observable decisions in tokenization, tagging and UD annotation.

Tokenization

A tokenizer first needs guidance on what counts as a word in the chosen annotation. The corpus contains letters with diacritics, hyphenated strings and names with Mossi material attached at the right edge. Each raises a boundary question that recurs in ordinary input. The written form needs to be preserved while the annotation specifies the units on which tagging and parsing operate.

FormGlossTranslation
Premier LeagueãPremier League.DEF‘the Premier League’

Corpus sentence wiki:mos:2021–22 FC Ararat-Armenia season. The gloss identifies the definite material at the end of the name. The form shows why whitespace alone leaves a decision for the annotation. The written ending has no preceding space, and the gloss does not by itself determine how many UD words the form should receive.

Tagging and lemmatization

Once word boundaries are set, a tagger needs examples that pair each word with its category and any features assigned in context. The first priorities are frequent categories and distinctions that affect later annotation, including nouns and their number forms, pronouns and determiners, inflected verbs and particles. A lemma policy also needs to account for the relationship between inflected forms and their dictionary forms. Lists of forms are useful when they record the conditions for the analysis, especially where a spelling can occur in more than one construction.

A corpus spelling by itself proves that a form occurs in that example. The surrounding phrase or clause provides the evidence for its grammatical analysis. In the year expression above, the spelling of wã is visible directly, while its determiner analysis is expressed in the gloss. Reference annotations need to record such decisions consistently across comparable contexts.

Dependency annotation

The first treebank needs consistent head and relation choices for ordinary clauses and phrases. Subject and object attachment, noun modification and the treatment of function words establish the patterns the parser will encounter frequently. Coordination, relative clauses and verb sequences then require explicit decisions wherever the choice changes the head or its relation. Recording those decisions in the training and development annotations gives the evaluation a common reference.

The useful unit of a parsing claim is a construction with its conditions stated. A word-order tendency can guide the choice of examples for annotation. A rule for attachment also needs to specify where the analysis applies and how to handle documented exceptions. This distinction lets Squid preserve the scope of a grammar claim when it is formalized.

How Mova handles Mossi today

At level 1, tools/langseg assigns a language to every sentence and span. Its Latin-script recognition distinguishes English and French through a Latin table, language lexicons and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage are other. A further Latin-script language requires a lexicon and a Lang code. The langseg latin-lexicon command builds lexicons from open UD training splits. Identification of Mossi spans is limited to the segmenter’s script and lexical coverage.

At level 2, tools/mova-parse looks up a model for each span’s language. No mos model exists. For spans assigned to Mossi, the # parse comment reports the missing model, MISC contains Parse=None, and LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL contain _. Mossi-specific tokenization, tagging, lemmatization and parsing are unavailable.

Mova holds no annotated Mossi treebank, so the baseline specified in What every language gets remains unmeasured. The en crate provides en xpos-fill followed by en train for a UD training split and en parse-eval for UAS and LAS on the development split. The available models are English en.bin and French fr.bin. Frames, pragmatics and world processing read English trees, and Mossi currently supplies no parsed trees to prag or world.

Squid records the manual’s grammatical points as claims and queues formalizable rules, closed lists and statistics. The queued Mossi claims await implementation. The first priorities are the claims needed for a tokenizer, a tagger and a UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/mos/25-mova-tools/