Mova0.6 pre-release

the flag of Luxembourg 24. Luxembourgish in Mova

Mova has no parser model or annotated corpus for Luxembourgish (lb). Language segmentation assigns labels to sentences and spans. Grammatical analysis uses each span’s label to look up a model for Universal Dependencies (UD) annotation. Recognizing a span as lb and producing a UD analysis for it require separate kinds of support.

Language segmentation and the prerequisites for lb recognition

Level 1 of tools/mova-parse uses tools/langseg to assign language labels to sentences and spans. For a sentence with more than one language, level 2 uses the label on each span for that span’s model lookup.

For Latin-script input, the segmenter distinguishes English and French using a Latin character 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. Input in a script outside the supported set receives the label other. That rule concerns the script of the input, so it does not determine how unsupported languages written in a supported script are labeled.

Luxembourgish is written in the Latin script. English and French are the Latin-script languages the segmenter distinguishes. Adding lb to that set requires a Luxembourgish lexicon and a Lang code for Luxembourgish. langseg latin-lexicon builds the lexicon from an open UD training split. If a span receives lb, level 2 looks up a separate parser model for that code.

Parser model lookup and unannotated output for lb

At level 2, tools/mova-parse looks up a model for each span at <code>.bin, where <code> is the language code assigned to that span. The lookup for an lb span is lb.bin. Mova has no Luxembourgish model at level 2.

If a span receives lb, tools/mova-parse reports the missing model in the # parse comment. Its token rows have the following values.

Output fieldValueMeaning in a token row
LEMMA_No lemma supplied
UPOS_No universal part-of-speech tag supplied
XPOS_No language-specific part-of-speech tag supplied
FEATS_No morphological features supplied
HEAD_No syntactic head supplied
DEPREL_No dependency relation supplied
MISCParse=NoneNo parse produced

In this output, _ marks an unavailable annotation. For example, _ in HEAD does not identify a root, and _ in FEATS does not establish that the token has no morphological features. The presence of token rows alone does not establish that Luxembourgish tokenization rules were applied. The missing-model status applies to the lb span. If another span in the same input has a label with an available model, level 2 uses that model for that span.

Annotated data and the missing UD baseline

Mova holds no annotated Luxembourgish corpus. What every language gets calls for a common UD parser baseline across languages. It uses an annotated training split to fit the model and a separate annotated development split to evaluate the model’s predictions. The development split provides the reference heads and dependency relations used in scoring.

A lexicon provides evidence for identifying a span’s language. A UD treebank provides sentence-level grammatical annotations, including reference heads and dependency relations. An open UD training split can supply material for the language identification lexicon as well as annotations for fitting the parser. The development split has a separate role as the reference for evaluation.

Mova reports no measured Luxembourgish UD baseline. Output marked Parse=None contains no predicted dependency arcs for evaluation, so it supplies no UAS or LAS result.

The training recipe and UAS and LAS measurements

The en crate provides Mova’s tree parser and tagger. The baseline workflow runs en xpos-fill on the language’s UD training split before en train fits the parser and tagger on that split. It then runs en parse-eval with the fitted model on the language’s UD development split. The evaluation compares predicted heads and dependency relations with the development annotations.

MeasureFull nameCondition for a scored token to count as correct
UASUnlabeled attachment scoreThe predicted syntactic head matches the reference head.
LASLabeled attachment scoreBoth the predicted syntactic head and the predicted dependency relation match the reference annotation.

Each score is the proportion of scored tokens that meet its condition. For example, suppose the reference gives a token head 2 and relation nsubj. A prediction of head 2 and relation obj counts toward UAS only. A prediction of head 3 and relation nsubj counts toward neither score. On the same set of scored tokens, every token counted as correct for LAS also counts as correct for UAS, so LAS cannot exceed UAS. These scores measure dependency attachment. Language identification, lemmatization, tagging and downstream interpretation require their own evaluation criteria.

Mova has models for English (en.bin) and French (fr.bin). Luxembourgish has no model and no measured UAS or LAS result. The baseline recipe requires both Luxembourgish training annotations for fitting a model and Luxembourgish development annotations for scoring it.

Parse requirements for frames, pragmatics and world knowledge

Mova’s frame analysis and its prag and world components read English trees. A span’s language label provides the code for parser model lookup. The parse provides the syntactic heads and dependency relations that downstream processing reads.

An lb span has no Luxembourgish tree because Mova has no model for that code. Its token rows therefore contain no syntactic heads or dependency relations for these components to read. A Luxembourgish tree would meet the requirement for parsed input. Downstream support would also require the components to process Luxembourgish trees, since their supported input is English trees.

Grammar claims and Squid's implementation queue

Squid reads the manual and turns grammatical points into claims. Formalizable rules, closed lists and statistics enter its implementation queue. A queued claim records work for implementation. Behavior in tools/mova-parse depends on the language recognition and parser support available for the span.

For a language without a model, the first priorities are claims needed for tokenization, tagging and a UD treebank baseline. A tokenization claim specifies a boundary or a condition for keeping material in one token. A tagging claim states which category or feature applies and under what conditions. A dependency annotation claim specifies the head and relation for a construction. A rule should state its conditions and exceptions. A closed list should give every member within its stated scope. A statistic should identify what was counted and the data it describes.

A manual entry supplies a grammatical claim. A queue entry records it for implementation. A measured UD result requires a model’s predictions and reference annotations on the development split.

How Mova handles Luxembourgish today

At level 1, tools/mova-parse uses tools/langseg to label sentences and spans. The segmenter distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Input in scripts outside the supported set receives other. The segmenter’s Latin-script language inventory does not include lb.

At level 2, tools/mova-parse looks up a parser model using each span’s language code. If a span has code lb, the model is missing. tools/mova-parse reports this in the # parse comment, puts _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and records Parse=None in MISC. These rows carry no Luxembourgish parse annotations. Mova has no Luxembourgish-specific tokenization, tagging, lemmatization or dependency parsing.

Mova has English and French parser models. It has no Luxembourgish model, annotated Luxembourgish corpus or measured Luxembourgish UD baseline.

Mova’s frame processing and its prag and world components read English trees. An lb span has no tree for those components to read. Squid extracts grammatical claims from the manual and queues formalizable rules, closed lists and statistics for implementation.

Sources for this chapter

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