29. Balearic in Mova
Mova uses ca-x-balear as the language code for Balearic Catalan. The manual describes the variety and supplies grammatical claims to Squid. In the running system, identifying a span, producing a Universal Dependencies (UD) tree, and interpreting that tree are separate operations. The current Balearic package has a manual and a language code. Its parser model, annotated corpus and evaluation baseline are absent.
Balearic package and model availability
The multilingual parser, tools/mova-parse, works in two levels. At level 1, tools/langseg assigns language labels to sentences and spans. At level 2, the parser selects a model by the language code of each span. The model supplies the trained analysis for that span. A code used by the manual or package therefore identifies the intended variety, while a model for that code is a separate requirement for level-2 analysis.
Mova has parser models for English and French, distributed as en.bin and fr.bin. The model inventory has no entry for ca-x-balear. The English and French models illustrate the package setup for languages with trained analysis. Model selection is per language code, so a span reported under the Balearic code requires a Balearic model.
The package specification, What every language gets, calls for the same UD training and development evaluation baseline for every language. The Balearic package lacks the annotated corpus needed for that baseline as well as the model needed at run time. Recording these two gaps separately distinguishes what the multilingual parser can load from what can be measured with a reference corpus.
Language segmentation and unannotated output
A language label at level 1 classifies text. The current Latin-script coverage in tools/langseg distinguishes English and French using a Latin-script table, lexicons for the two languages and a character 4-gram model. Balearic uses Latin script, but the stated Latin-script coverage does not include a Balearic lexicon. Accordingly, recognition of Balearic as a distinct variety cannot be inferred from recognition of its script. A further Latin-script language joins the segmenter through a Lang code and a lexicon. The langseg latin-lexicon command builds a lexicon from open UD training splits.
When a span is assigned a code for which the level-2 model is absent, tools/mova-parse reports the missing analysis in the # parse comment. Its token rows carry the following values.
| Field | Value | Annotation absent |
|---|---|---|
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 |
MISC | Parse=None | Parse status recorded for the row |
These values apply to Balearic output under ca-x-balear. The presence of token rows in this output does not establish that Mova performed Balearic tokenization. Mova supplies no Balearic tokenization, tagging, lemmatization or dependency analysis at this stage. In the HEAD column, for example, the underscore leaves the syntactic head unspecified, including for a word that a completed analysis might identify as the root. The missing-model behavior applies per span, so another span with a supported language label and a corresponding model can receive its own analysis.
Treebank requirements and the UAS and LAS baseline
The requested baseline uses a UD treebank with an annotated training split and an annotated development split. The training split provides examples for learning the tagger and parser. The development split provides the reference against which parser output is compared. The reference must supply syntactic head assignments and dependency relation labels for the attachment scores to be calculated. Consistent treatment of words, tags and relations across the two splits makes the resulting scores interpretable for the variety represented in the treebank.
Mova's own parser is the en crate. The baseline workflow runs en xpos-fill before en train, which trains the tree parser and tagger on the UD training split. The en parse-eval command measures attachment accuracy on the development split with the model trained on the training split.
| Measure | What counts as a correct attachment |
|---|---|
| Unlabeled attachment score (UAS) | The predicted syntactic head matches the reference head. |
| Labeled attachment score (LAS) | The predicted head and dependency relation both match the reference. |
Form · Sa nina canta.
Gloss · DEF.F.SG girl sing.PRS.3SG
Translation · ‘The girl sings.’ (constructed)
Suppose the reference attaches nina ‘girl’ to canta ‘sings’ with the subject relation nsubj. A hypothetical prediction that attaches nina to canta with the relation obj gets the head right for UAS and misses the label required for LAS. This is an illustration of the measures, with a manually stipulated reference analysis.
Mova holds no annotated Balearic treebank, so no train-to-development baseline has been measured for ca-x-balear. There are no Balearic UAS or LAS results to report. Unannotated output records the model's absence and supplies no attachment decisions to compare with a reference. A lexicon for segmentation would serve language identification, while the baseline requires the annotated splits and a trained parser.
Squid grammar claims and implementation status
Squid reads the manual and turns each grammatical point into a claim. A claim records what the manual says about the language, including the conditions and exceptions that delimit a rule. Formalizable claims, such as rules, closed lists and statistics, enter Squid's queue for a place in Mova's code. A queued claim is pending implementation. Its presence records a candidate for implementation and gives no evidence of behavior in the parser.
For example, a manual claim can record a determiner form and the grammatical conditions on its use. Tokenization concerns how written text is divided into units for analysis. Tagging concerns the category and features assigned to those units. A treebank supplies reference analyses of those units and their dependencies in sentences. These are different kinds of work, even when they draw on the same description of a form. A claim about a determiner does not itself supply tagged sentences or train a model to recognize that determiner in context.
For Balearic, the rules described in the manual have no current implementation in Mova. The initial implementation priorities are the grammatical points needed by a tokenizer, a tagger and a UD treebank baseline. The manual gives Squid grammatical descriptions, while implementation and evaluation determine which of those descriptions the running system can use and how well its trained analysis performs.
Dependencies for frames, pragmatics and world knowledge
Mova's frame, pragmatic and world-knowledge processing reads English trees. The corresponding processing for another language requires at least a parsed tree of that language as input. For Balearic, the dependency begins at the syntax stage. A language label does not establish the relations between words, and the unannotated fields provide no head or relation labels for a later stage to read.
The missing tree affects each kind of analysis. Frame processing has no Balearic tree from which to read the relations between a predicate and its dependents. Pragmatic processing in prag has no parsed Balearic input. World-knowledge processing in world likewise has no Balearic tree to read. A claim from the manual describes a grammatical point across possible utterances. The downstream stages require a tree for the particular utterance being processed.
A Balearic tree would supply the missing syntactic input. The documented readers currently use English trees, so the existence of a future Balearic tree or a measured attachment baseline would by itself establish only progress at the parsing stage. UAS and LAS concern syntactic attachments and do not measure frame assignment, pragmatic interpretation or the use of world knowledge.
How Mova handles Balearic today
At level 1, tools/langseg labels sentences and spans within its supported coverage. Its Latin-script distinction covers English and French. Adding a further Latin-script language requires a lexicon and a Lang code. The Balearic edition code ca-x-balear does not by itself extend that coverage.
At level 2, tools/mova-parse has no model for ca-x-balear. For a span reported under that code, the # parse comment reports the missing model, and token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. Balearic tokenization and linguistic annotation are absent.
The package calls for training on a UD training split and measuring UAS and LAS on the development split. Mova holds no annotated Balearic treebank and has measured neither score. Squid reads the grammatical points in the manual and queues the formalizable claims. The Balearic rules remain pending implementation, starting with the points needed for tokenization, tagging and the treebank baseline. The frame, pragmatic and world-knowledge stages read English trees and have no parsed Balearic input.
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/ca/ca-x-balear/29-balearic-in-mova/