26. Bislama in Mova
Mova has Bislama (bi) text from Wikipedia. The Bislama package has no annotated treebank, trained parser model, or measured baseline. This chapter explains how to read the output for Bislama and what data and annotation decisions a baseline requires.
Language segmentation and requirements for a Latin-script language
Language segmentation assigns a language to sentences and to spans within them. A span is a stretch of text assigned a single language for the next processing stage. This matters when a sentence includes a quotation or an alternative title in another language. The tag bi identifies Bislama in the manual and corpus. Automatic recognition of Bislama spans requires support in the segmenter.
The Latin-script component of tools/langseg distinguishes English and French using a Latin-script table, language lexicons and a character 4-gram model. Script alone offers little help in distinguishing Bislama from English and French because all three use Latin letters. Common grammatical words, spelling patterns and their surrounding text can supply evidence about the language of a span. A place name or an internationally shared word can occur in several languages and is weak evidence on its own.
| Form | Gloss | Translation | Corpus ID |
|---|---|---|---|
| long Bislama | in Bislama | ‘in Bislama’ | wiki:bi:Nambawan Pej |
| Franis: République de Vanuatu | French: republic of Vanuatu | ‘French: Republic of Vanuatu’ | wiki:bi:Vanuatu |
| Inglis: Republic of Vanuatu | English: republic of Vanuatu | ‘English: Republic of Vanuatu’ | wiki:bi:Vanuatu |
The last two phrases appear in the same Bislama sentence. Franis and Inglis are Bislama labels for the languages of the titles that follow. Vanuatu occurs in both titles. The labels, the title words and the punctuation each offer different evidence about where a language span might begin or end. The excerpts illustrate the segmentation problem and carry no automatic span assignments.
To add a Latin-script language, the segmenter needs a Lang code and a lexicon from an open Universal Dependencies (UD) training split. langseg latin-lexicon provides the lexicon step. The language code and lexicon support language identification. The subsequent analysis of a span requires a model for the language assigned to it.
Missing Bislama model and Parse=None output
The multilingual parser first uses language segmentation and then selects a parser model for each span by language code. When the assigned language has no model, the # parse comment reports that language. Bislama has no level-2 model. Rows for tokens in a span assigned to bi therefore carry the following values.
| Field | Value | Analysis unavailable |
|---|---|---|
| LEMMA | _ | Dictionary form |
| UPOS | _ | Universal part of speech |
| XPOS | _ | Language-specific part of speech |
| FEATS | _ | Morphological features |
| HEAD | _ | Syntactic head |
| DEPREL | _ | Dependency relation to the head |
| MISC | Parse=None | Status of the parse for the token |
The condition applies by span. In a sentence with several language assignments, each span depends on the availability of its own model. A row can preserve a surface form while carrying Parse=None. Its presence supplies no evidence that the row boundary is the correct Bislama word boundary or that Mova has analyzed the word's role. An underscore in HEAD leaves the head unknown. A syntactic root in an annotated UD tree has HEAD 0 and DEPREL root.
Parse=None describes model availability for the span. It conveys no judgment about the spelling, grammaticality or meaning of the text. A familiar form can carry this status in Bislama even where its spelling also occurs in a language with a model.
Treebank requirements and current evaluation status
A UD treebank records how the words of each sentence are segmented and analyzed. The Bislama Wikipedia texts supply surface examples. A treebank would add reviewed word boundaries and syntactic analyses, with consistent decisions for recurring forms. The annotation needs to specify where a surface token corresponds to more than one syntactic word, which lemmas, parts of speech and features are assigned, and which words serve as heads and dependents.
Bislama predicate marking gives annotators a concrete set of decisions to document. The corpus contains separate hem i and em i, as well as the written form hemi. These spellings raise a question about how the surface forms should map to syntactic words and how equivalent analyses should be represented. Other decisions concern where an aspect marker attaches and how to analyze predicates whose complement is a noun phrase.
| Form | Gloss | Translation | Corpus ID |
|---|---|---|---|
| hem i kapital blong Vanuatu | 3SG PM capital of Vanuatu | ‘it is the capital of Vanuatu’ | wiki:bi:Port Vila |
| em i big man | 3SG PM big person | ‘he is an important person’ | wiki:bi:Praem Minista blong Vanuatu |
| hemi Inglis mo Franis | 3SG.PM English and French | ‘they are English and French’ | wiki:bi:Vanuatu |
3SG identifies a third-person singular form and PM a predicate marker. The third excerpt follows a plural noun phrase naming the country's two other official languages. Its English translation follows that context. The combined gloss identifies the elements relevant to the annotation question. The glosses supply no UD tags or dependency labels.
Training requires a UD training split. Measuring the package baseline also requires a development split with reference trees. Development sentences are held out of the training data so their annotations can be used to compare predicted trees with the reference analyses. Mova holds no annotated Bislama treebank and has no measured treebank baseline for bi. The available corpus examples therefore give no estimate of parser accuracy.
Parser training and UAS and LAS evaluation
Mova's parser uses the en crate for training and evaluation. The package baseline uses a language's UD training split, prepared with en xpos-fill, as input to en train. Training produces a tagger and dependency parser. en parse-eval measures the result on the development split. The same training-to-development procedure is requested for each language by What every language gets.
| Measure | Requirement for counting a scored word as correct |
|---|---|
| UAS, unlabeled attachment score | The predicted head matches the reference head. |
| LAS, labeled attachment score | The predicted head and dependency relation both match the reference analysis. |
Each score expresses the share of evaluated words that meet its requirement. For example, an analysis that attaches an object to the correct verb but gives it the wrong relation earns credit for that word in UAS alone. An incorrect head loses credit under both measures, even when the predicted relation label happens to match the reference label.
Interpreting the scores requires a known evaluation scope. Word segmentation affects how predictions can be compared with the reference tree, and punctuation can affect results if it is included in scoring. A reported baseline needs to identify the training and development data and the evaluation conditions. UAS and LAS assess dependencies under those conditions. They do not measure span-language identification, frame interpretation or pragmatic inference. There is currently no Bislama UAS or LAS result to report.
Frames and pragmatics coverage
A dependency tree connects words through grammatical relations. A frame describes a situation and organizes its participants. A pragmatic analysis can use the utterance and its context to interpret what speakers are doing, what they refer to or what they imply. The surface form supplies some of the evidence for these analyses. For example, i stap toktok long hem (PM PROG speak about 3SG, ‘are speaking about it’) occurs in a relative clause about Bislama. The fuller context identifies what hem refers to. (wiki:bi:Bislama)
Mova's frame, pragmatics and world components read English trees. A span with Parse=None supplies no dependency tree for those components to read. A Bislama tree is a prerequisite for coverage, and the existing English input establishes no Bislama frame or pragmatics coverage. The corpus excerpt and its gloss illustrate a reference relation a reader can recover. They are documentation of the text rather than output from those components.
Manual claims and Squid's implementation queue
Squid reads each grammatical point in the manual as a claim. Claims that can be formalized, including rules, closed lists and statistics, wait in Squid's queue for a place in Mova's code. The manual describes the language. The queue records formalizable points for implementation. A queued claim has yet to become executable behavior.
A rule suitable for formalization identifies the form or construction, its grammatical environment and any exceptions. When spellings vary, a claim about the writing should distinguish the spelling on the page from the syntactic analysis. A closed list specifies the class for which it is complete. A statistic needs a defined body of text and a defined unit of counting. The presence of hem i, em i and hemi in the excerpts shows that these forms occur. Those examples alone do not establish how frequent the forms are or where each is possible.
The implementation status of a claim also differs from the evaluation status of a model. A claim can describe a distinction that a tagger would need to make. Evaluation requires reference annotations that express the distinction and output that can be compared with them. A grammar example, a queued claim and a score each supply a different kind of evidence.
Priorities for tokenization, tagging and a treebank baseline
The first requirements are reliable word boundaries, consistent tag and feature assignments, and dependency annotation on material that can be divided into training and development splits. Boundary decisions determine what units receive tags and serve as nodes in the dependency tree. Difficult cases can be recorded with their original spelling alongside the proposed analysis so that annotators can review both.
| Priority | Decisions needed for the baseline |
|---|---|
| Tokenization | Segment words and punctuation consistently. Specify the treatment of joined and separated grammatical forms, spaces in repeated forms, and names or quoted titles containing several words. |
| Tagging and lemmatization | Specify analyses for frequent grammatical forms in context, including personal pronouns, predicate markers, aspect markers and prepositions. Record when spelling variants share a lemma and when a form can receive different tags. |
| Dependency annotation | Specify head selection and relations for verbal and nonverbal predicates, clause markers, possession, coordination and relative clauses. Apply consistent analyses to comparable constructions across the splits. |
| Evaluation data | Review sentence and word boundaries and the reference analyses, then keep development sentences out of the training split used for the baseline. |
The corpus gives two spellings for forms associated with speaking. The contrast is especially relevant to boundary decisions because a space is visible in one form and absent from the other.
| Form | Gloss | Translation | Corpus ID |
|---|---|---|---|
| i tok tok long Bislama | PM speak~RED in Bislama | ‘speak in Bislama’ | wiki:bi:Vanuatu |
| i stap toktok | PM PROG speak~RED | ‘are speaking’ | wiki:bi:Bislama |
RED marks reduplication in the gloss and PROG marks progressive aspect. The source spellings are preserved. A treebank policy needs to specify how each spelling maps to annotated words and whether the two spellings share a lemma. The excerpts themselves supply no gold segmentation or tagging. Once an open UD training split is available, it can also supply the lexicon for language segmentation. Dependency evaluation depends on the reviewed development split.
How Mova handles Bislama today
At level 1, tools/mova-parse uses tools/langseg to assign a language to each sentence and span. The segmenter distinguishes English and French in Latin script with a Latin table, separate lexicons and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Other scripts are other. Extending the Latin-script component to a further language requires a Lang code and a lexicon from an open UD training split, using langseg latin-lexicon. Identification of a language's spans depends on the segmenter's script or lexicon support.
At level 2, tools/mova-parse selects the model for each span's assigned language. There is no model for bi. For spans assigned to Bislama, the # parse comment reports the missing model, LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL contain _, and MISC contains Parse=None. Mova supplies no Bislama tokenization, tagging, lemmatization or parsing.
Mova has no annotated Bislama treebank and no measured treebank baseline for the language. The baseline requested in What every language gets uses en xpos-fill before en train, then measures UAS and LAS on the development split with en parse-eval. The en crate has trained models for English (en.bin) and French (fr.bin).
Mova's frames, pragmatics and world components, including prag and world, read English trees. Bislama supplies no parsed trees for them to read. Squid reads the manual's grammatical points as claims and queues the formalizable ones for implementation. The Bislama rules are unimplemented. The first priorities are the points needed by a tokenizer, a tagger and a UD treebank baseline.
Sources for this chapter
- No source was planned for this chapter; its points are to be checked against public-domain and open grammars (see Sources).
This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/bi/26-mova-tools/