Mova0.6 pre-release

Occitan: the Occitan cross, gold on red 25. Limousin in Mova

Mova has an edition code for Limousin, oc-x-lemosin. The multilingual parser has no model for that code, and Mova holds no annotated Limousin treebank. This chapter explains what the parser returns, what a treebank would let Mova measure, and which grammar claims would support the first annotation baseline.

The Limousin package and language identification

The code oc-x-lemosin names Limousin in this manual and identifies the language whose parser model is missing. Model selection follows the language assigned to a span. The edition code by itself gives no evidence about the language of a particular sentence.

The multilingual parser, tools/mova-parse, has two levels. At level 1, tools/langseg assigns languages to sentences and to spans within them. At level 2, the parser looks up a model for the language of each span. Span-level assignment matters for mixed-language text because the sentence label alone cannot tell level 2 which model to use for every span.

The Latin-script component currently distinguishes English and French using a Latin-script table, a lexicon per language and a character 4-gram model. Recognizing Latin script narrows the identification problem. Distinguishing Limousin from other Latin-script languages requires language-specific information. The route for adding another Latin-script language uses a lexicon and a Lang code. The langseg latin-lexicon command can build the lexicon from open Universal Dependencies (UD) training splits. Language identification and tree parsing therefore have separate data requirements.

Missing parser model and unannotated output

There is no level-2 model for oc-x-lemosin. When a span reaches the parser under a language code with no model, tools/mova-parse reports that language in the # parse comment. The output rows for its tokens carry the following values.

ColumnValueAnnotation unavailable from the parser
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneParse status recorded for the token

The comment reports the missing model for the language. The Parse=None entry records the effect at token level. Read the underscores together with that status. For instance, _ in HEAD provides no head assignment, and _ in FEATS provides no evidence about whether the form expresses number, person or tense.

An output row can preserve a surface item without supplying a Limousin analysis of its boundaries. The presence of such rows is therefore insufficient to establish that Mova has applied Limousin tokenization rules. The missing-model case also leaves no dependency arcs for a consumer of parsed trees.

Treebank availability and the unmeasured baseline

Mova holds no annotated Limousin treebank. There is consequently no measured Limousin treebank baseline in Mova. The missing measurement has no numerical value. A score of zero would describe an actual comparison in which the system received no credit, whereas the Limousin comparison has yet to be made.

A UD treebank supplies human-annotated sentences. For parser development it provides reference token boundaries, word-level annotations and dependency structures. Training and evaluation need distinct splits with compatible annotation conventions. The training split supplies analyses for the parser and tagger to learn from. The development split supplies the reference analysis for the first evaluation on held-out sentences.

Coverage matters when interpreting that evaluation. If a development split contains only one spelling practice or only a narrow range of text types, its scores describe performance on that material. Claims about other spelling practices, local usages or registers would call for annotated examples of them. The current baseline gap gives no evidence about which Limousin constructions a trained parser would handle reliably.

Training and evaluation with UAS and LAS

The package specification, What every language gets, asks for a common baseline across languages. In Mova’s en crate, en xpos-fill precedes en train, which trains a tree parser and tagger on the language’s UD training split. en parse-eval measures attachment on the development split. Mova has models for English (en.bin) and French (fr.bin). For Limousin, this sequence describes the evaluation to be run once the necessary annotated splits are available.

Both attachment scores compare predicted dependencies against the reference dependencies for the tokens under evaluation. Unlabeled attachment score (UAS) gives credit for a correct head. Labeled attachment score (LAS) requires both the correct head and the correct dependency relation.

Predicted headPredicted relationUAS creditLAS credit
CorrectCorrectYesYes
CorrectIncorrectYesNo
IncorrectCorrectNoNo
IncorrectIncorrectNoNo

Lo lop dorm. (constructed)
DEF.M.SG wolf sleep.PRS.3SG
‘The wolf sleeps.’

In a reference analysis, lop is the nominal subject of dorm, with the relation nsubj. A parser that attaches lop to dorm with the label obj gets the head right and the relation wrong. That attachment earns UAS credit only. If the parser assigns the wrong head, even the label nsubj earns neither kind of credit.

The two scores answer questions about the dependency tree. Token boundaries, lemma accuracy and part-of-speech accuracy are separate evaluation questions. Recording the evaluation split alongside the scores makes clear which sentences the attachment measurements describe.

Frames and pragmatics and their dependence on parsed trees

Mova’s frame, pragmatics and world components read English trees. Their input includes syntactic relations that link a predicate to its dependents. In the constructed example above, the subject relation identifies lop as the syntactic subject of the sleeping predicate. A span’s language label supplies no such relation.

An unannotated Limousin span therefore supplies no tree to these components. Surface words and a language label still leave open which expression functions as the predicate and how its dependents attach. A Limousin dependency tree is a prerequisite for work at this level. The attachment scores described above evaluate the tree and do not measure frame assignment or pragmatic interpretation. Current frame, pragmatics and world processing is defined here only for the English trees those components read.

Squid claims and priorities for tokenization, tagging and dependency annotation

Squid reads grammatical points in the manual as claims. Formalizable claims, including rules, closed lists and statistics, enter its queue for a place in Mova’s code. Queue status records a candidate for implementation. Runtime behavior must be established from the tools themselves.

The first priorities for Limousin are claims that can guide token boundaries, morphological annotation and reference dependency trees. Each priority answers a different question about the same text.

PriorityWhat an annotation decision must establish
TokenizationWhere surface tokens begin and end, and how to represent written forms that contain more than one syntactic word. Apostrophes and contractions are places to specify the conditions for a split.
Tagging and lemmatizationWhich lemma, word class and morphological features belong to a word in context. A rule must account for ambiguous forms and state the evidence that resolves them.
Dependency annotationWhich word serves as head and which relation connects the dependent to it. Annotation conventions must cover the constructions represented in the reference sentences.

These decisions interact. A boundary decision determines which syntactic words can receive tags and heads. A tagging distinction can give the annotator evidence for a dependency analysis. In the constructed clause above, the determiner lo belongs with the noun lop, and the noun heads the subject dependent of dorm. Those decisions illustrate the kind of reference annotation a baseline would use. They are grammatical analyses, with no Limousin parser prediction to compare against them today.

How Mova handles Limousin today

At level 1, tools/langseg assigns a language to each sentence and span. It distinguishes English and French in Latin script with a Latin table, a lexicon per language and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported inventory receive other. A further Latin-script language joins through a lexicon and a Lang code, using open UD training splits with langseg latin-lexicon. Recognition of a language without a parser model extends only as far as the script or lexicon support in tools/langseg.

At level 2, tools/mova-parse parses each span with its language’s model. There is no model for oc-x-lemosin. The missing model is reported in the # parse comment, and tokens assigned that code have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Mova does not apply Limousin tokenization, tagging, lemmatization or dependency parsing.

Mova holds no annotated Limousin treebank and has no measured baseline for the language. The baseline in What every language gets uses en xpos-fill before en train on a UD training split, then en parse-eval to measure UAS and LAS on the development split. The existing models are en.bin for English and fr.bin for French. The frame, pragmatics and world components read English trees, so they have no parsed Limousin input.

Squid turns the manual’s grammatical points into claims and queues the formalizable ones. The chapter’s rules remain unimplemented. The first candidates 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/oc/oc-x-lemosin/25-mova-tools/