Mova0.6 pre-release

the flag of Nigeria 22. Bole in Mova

Bole has the language code bol in Mova’s manual. Mova’s corpus material includes Bole text, and the manual supplies grammatical claims for Squid. Mova has no Bole parser model or annotated Bole treebank. The distinction between a language label, a parsed span and an annotated corpus determines what can be done with the text at each stage.

The bol package and language identification

The code bol identifies the language in the manual and in corpus identifiers. A corpus identifier records the provenance of an example. Language identification during parsing is a separate operation. At level 1, tools/mova-parse uses tools/langseg to assign a language to each sentence and span. At level 2, it looks for the model corresponding to the language assigned to each span. A sentence may contain spans with different language labels, so the model choice is made for each span.

For Latin script, tools/langseg distinguishes English and French using its 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 are classified as other. Bole is written in Latin script in the material here. Since that script is shared across languages, recognizing it does not identify a span as Bole. Adding a further Latin-script language requires a lexicon and a Lang code. The supported lexicon route uses open UD training splits through langseg latin-lexicon.

The following corpus fragments show the kind of input whose provenance is already known when it is taken from a Bole page. The glosses are supplied here. The forms are in Latin script and need no romanization.

FormGlossTranslationCorpus sentence ID
“Wikipidiya”Wikipedia‘Wikipedia’wiki:bol:Peji In Siri
“ga jiha Adamawa”in state Adamawa‘in Adamawa State’wiki:bol:Abba Kyari
“ga yanki Abia”in region Abia‘in the Abia region’wiki:bol:Abia

A Bole corpus identifier is evidence of where a fragment came from. For multilingual parsing, the relevant input to model selection is the language assigned to the span at level 1.

Parser output for Bole spans without a model

At level 2, tools/mova-parse looks in the assigned language’s model directory for a model whose filename uses that language code. There is no bol.bin model. A span identified as bol therefore reaches the missing-model case. The # parse comment reports the absence of a model, and the affected token rows carry the following values.

FieldValueAnnotation unavailable for the span
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=NoneExplicit indication that the token has no parse

The comment records the model failure, while Parse=None makes the status visible on each affected row. An underscore in FEATS in this case supplies no evidence about the morphology of the form. Likewise, an underscore in HEAD supplies no evidence that the token is the root. The presence of token rows is a property of the output format. Bole-specific tokenization, tagging, lemmatization and dependency parsing are unavailable.

This behavior is conditional on the span’s assigned language. The missing-model report describes the lookup for that label. It cannot establish that the label is linguistically correct, or that Bole text elsewhere in the input was identified as Bole.

Treebank availability and baseline measurements

Mova holds no annotated Bole corpus. The Bole corpus excerpts give examples of written usage and carry source identifiers. A Universal Dependencies treebank must also record annotation decisions, including token boundaries, parts of speech, morphological features, heads and dependency relations. The examples alone provide no reference trees against which parser predictions can be scored.

What every language gets calls for the same baseline for every language. In Mova’s en crate, en xpos-fill precedes en train, which trains a tagger and tree parser on the language’s UD training split. en parse-eval measures the resulting parser on the development split. The two reported measures concern dependency attachment.

MeasureWhat a correct attachment requiresBole baseline
UAS, unlabeled attachment scoreThe predicted head matches the reference head.Unmeasured
LAS, labeled attachment scoreThe predicted head and dependency relation both match the reference annotation.Unmeasured

The training split supplies examples for fitting the model, and the development split supplies reference annotations for evaluation. Both are needed for the package’s train-to-development baseline. For Bole, the reported state is the absence of a measurement. The missing-model rows and the presence of corpus text yield no attachment score.

Frames, pragmatics and their input requirements

Mova’s frames, pragmatics and world components operate on English trees. A dependency tree gives downstream analysis access to syntactic relations that are missing from the Bole output. For example, an unannotated row supplies no head or dependency relation from which to retrieve a predicate’s dependent. A language label and the text of the span alone do not provide that input.

Parsing is therefore a prerequisite for downstream analysis of Bole. The supported input described for prag and world is English trees. A future Bole model would address the missing tree at the parser stage. The availability of frames or pragmatic analysis for Bole would still need to be established for that input. The grammatical descriptions in the manual give readers an account of the language, while Squid records their points as claims.

Squid claims and priorities for tokenizer, tagger and treebank work

Squid reads each grammatical point in the manual as a claim. Formalizable claims, including rules, closed lists and statistics, wait in Squid’s queue for a place in Mova’s code. A queued claim records a point that can be taken up in implementation. Its presence in the queue does not change parser output.

The first claims to take up are those needed for tokenization, tagging and a UD treebank baseline. The same examples can help settle decisions across those tasks. A token boundary affects the units a tagger labels and the units an annotator can attach in a dependency tree.

AreaDecisions to establish for Bole
TokenizationSpecify word and punctuation boundaries in the orthographic forms selected for annotation. Use attested spellings to settle how internal punctuation and vowel diacritics are handled.
TaggingSpecify how word classes and morphological contrasts map to UPOS, XPOS and FEATS. State the conditions for each analysis where a spelling can have more than one grammatical use.
UD treebankApply consistent tokenization and tagging decisions, then record heads and dependency relations. Provide annotated training and development splits for the baseline.

For tokenization, the important question about internal punctuation is whether it belongs inside a token in the construction at hand. For tagging, a useful claim gives the context that licenses a tag or feature value, especially where the surface form alone leaves the analysis open. For treebank annotation, construction descriptions need to support consistent choices of head and relation. Those decisions supply the reference annotations on which UAS and LAS depend.

Language identification is also needed to route Bole spans to a Bole model in mixed text. Its lexical input and the parser’s reference annotations serve different purposes. A lexicon helps the first stage choose a language, while the annotated splits let the second stage learn and evaluate syntactic analysis.

How Mova handles Bole today

tools/mova-parse first uses tools/langseg to label sentences and spans, then looks up a level-2 model for each span’s language. The Latin-script coverage distinguishes English and French. Identification of another Latin-script language requires a lexicon and a Lang code, with langseg latin-lexicon providing a route from open UD training data. Mova can identify spans of a language without a model only where tools/langseg knows the script or lexicon.

No level-2 model exists for bol. For a span labeled bol, the # parse comment reports the missing model, LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL contain _, and MISC carries Parse=None. Bole-specific tokenization, tagging, lemmatization and parsing are unavailable.

Mova has no annotated Bole treebank and no measured Bole baseline. The en crate has models for English (en.bin) and French (fr.bin). The baseline specified by What every language gets uses en xpos-fill before en train on a UD training split and 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. They have no Bole parse to read. Squid turns the manual’s grammatical points into claims and queues formalizable rules, closed lists and statistics. The Bole rules await implementation, with tokenizer, tagger and UD treebank requirements taking priority.

Sources for this chapter

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