28. Gallo-Italic in Mova
Mova uses roa-x-gallo as the package and edition code for Gallo-Italic. The package has no dedicated parser model or annotated treebank, so it has no measured parsing baseline. Language identification, dependency parsing and interpretation are separate stages. Each requires its own evidence.
Language and span identification
Mova’s multilingual parser works in two levels. Level 1 assigns a language to each sentence and span. Level 2 uses the assigned language to select a parser model for each span. A language label therefore records a decision about the text that the parser receives. It supplies neither a word analysis nor a dependency tree.
For Latin-script text, the current identification support distinguishes English and French using a Latin table, a lexicon for each language and a character four-gram model. The identifier also distinguishes varieties written in Hebrew script and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside the supported sets receive other. A further Latin-script language can be added through a lexicon and a Lang code. The langseg latin-lexicon command uses open Universal Dependencies training splits as a source for such lexicons.
Gallo-Italic span identification depends on what the identifier knows about the script or lexicon. The package code alone supplies no recognition rule. The variety labels attached to the Wikipedia excerpts record their provenance. A place name in an article, a film title or a string of coordinates may provide little evidence for assigning a span to the variety of the surrounding prose. An identification evaluation would need reference labels at the same granularity as the reported result. A sentence label alone gives no reference boundary for a change of language within that sentence.
Model selection and unannotated output
At level 2, the assigned span code selects a model file named after that code in the corresponding language’s model directory. A document with spans assigned to different languages can therefore require several models. The Gallo-Italic package has no model for roa-x-gallo. A span assigned that code takes the missing-model path, which reports the unavailable model in the # parse comment.
| Output field | Value for a token on the missing-model path | Analysis ordinarily carried by the field |
|---|---|---|
LEMMA | _ | Dictionary form |
UPOS | _ | Universal part of speech |
XPOS | _ | Language-specific part of speech |
FEATS | _ | Morphological features |
HEAD | _ | Syntactic head |
DEPREL | _ | Dependency relation |
MISC | Parse=None | Explicit status of the parse |
The underscores and Parse=None together indicate that the analysis is unavailable. For example, an underscore in FEATS on this path gives no evidence about whether a form marks person, number or gender. An underscore in HEAD supplies no attachment and cannot be counted as a root decision. The presence of token rows in this output does not establish that Mova has applied Gallo-Italic tokenization rules.
Corpus availability and the unmeasured baseline
Mova has Gallo-Italic text excerpts with corpus IDs. The excerpts supplied here come from Piedmontese, Lombard, Ligurian and Emilian Wikipedia. They include prose, captions, labels, titles and other short strings. Mova holds no annotated Gallo-Italic corpus. A corpus ID locates a text example, while a treebank supplies reference decisions about its words, tags and dependencies.
The following short extracts illustrate the kinds of decisions a reference annotation would have to record. The extracts use Latin script. In the glosses, DEF marks a definite article, INDF an indefinite article, CL a clitic, M masculine and SG singular.
| Variety and corpus ID | Form | Gloss | Translation |
|---|---|---|---|
Piedmontese, wiki:pms:Fêche-l'Église | “a l'é na comun-a” | CL CL=be.PRS.3SG INDF municipality | ‘is a municipality’ |
Lombard, wiki:lmo:Madù | “l' se tróa” | CL REFL find.PRS.3SG | ‘is situated’ |
Ligurian, wiki:lij:Raimbaut de Vaqueiras | “trovadô proensâ” | troubadour Provençal | ‘Provençal troubadour’ |
Emilian, wiki:eml:Chèrp | “Al dóm ed Chèrp” | DEF.M.SG cathedral of Carpi | ‘the cathedral of Carpi’ |
PRS marks present tense and REFL marks the reflexive form in the Lombard expression. The equals sign in the Piedmontese gloss shows the clitic boundary in the gloss. The table supplies illustrative glosses, with no reference UD token boundaries or dependency labels. An attested form in one entry gives no estimate of its frequency or of its distribution across varieties.
No treebank baseline has been measured for the package. Both UAS and LAS are unmeasured. The missing-model output is an availability status, so it gives neither a zero score nor an estimate of the accuracy a trained model might reach.
Training requirements and UAS and LAS evaluation
Mova’s language package calls for a common train-to-development baseline. It requires an annotated UD training split and a separate annotated development split. Both need compatible treatment of word boundaries and the dependency inventory. For Gallo-Italic, the scope of the splits matters because the package code covers several varieties and local spelling practices. A result from a development split represents the material included in that split.
| Step | Command | Role in the baseline |
|---|---|---|
| Prepare language-specific tags | en xpos-fill | Fill XPOS before training |
| Fit the model | en train | Train the tagger and dependency parser on the UD training split |
| Measure parsing accuracy | en parse-eval | Compare the trained parser’s output with the reference development split and report UAS and LAS |
Both attachment measures compare each scored word’s predicted syntactic head with its reference head. LAS also compares the relation assigned to that attachment.
| Measure | A scored attachment counts as correct when |
|---|---|
| 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 |
With the same scored words and reference analysis, a correct head paired with an incorrect relation contributes to UAS only. A wrong head contributes to neither measure, even when the relation label matches. These measures do not by themselves give separate scores for span identification, word segmentation, tagging or lemmatization.
Any reported baseline needs enough information to identify the training and development material, the varieties represented and the treatment of word segmentation during scoring. When punctuation or unaligned words affect the scored set, that treatment also matters for comparisons. A model tested on reference spans and a pipeline tested on automatically identified spans answer different questions. The former measures parsing under the supplied language assignments. The latter also reflects which spans are assigned to the language and passed to its model.
Frames and pragmatics
Mova’s frame, pragmatics and world components read English trees. A dependency tree supplies the syntactic input for interpretation. For example, a predicate’s dependents can provide candidates for its participants. Frame analysis describes the situation expressed and the roles of those participants. Pragmatic analysis concerns how the utterance is used in context, including its communicative purpose and meanings the reader may infer.
An unannotated Gallo-Italic span supplies no tree to the components associated with prag and world. A gloss, a translation or a language label gives a reader information about the text, while the components require the tree as input. A Gallo-Italic dependency model would supply that prerequisite. UAS and LAS would evaluate its attachments, leaving frame assignments and pragmatic interpretations outside the scope of those scores.
Formalizable grammar claims in Squid
Squid reads the manual as grammatical claims. It queues formalizable rules, closed lists and statistics for possible implementation. The queue records claims awaiting a place in Mova’s code. Implementation requires the code that applies a claim at the relevant stage.
A rule suitable for implementation states the variety and constructions it covers, the conditions that trigger it, the resulting analysis and any exceptions. For a closed inventory, the claim must give every member for the stated scope and identify any spelling variants included. A statistical claim needs a defined population, a counting unit and a denominator. A prose observation supported by a single example can establish an attested form in that context, with wider distribution requiring further evidence.
The first claims to formalize are those needed for tokenization, tagging and a UD treebank baseline. Tokenization claims specify when a written sequence remains one word and when its components are analyzed separately. An apostrophe in a corpus excerpt gives a place to examine, while the applicable rule needs to distinguish the constructions and spellings in which it occurs. Tagging claims specify what evidence distinguishes forms with similar spellings, such as a determiner in a noun phrase and a clitic next to a verb. Dependency claims specify how a construction is represented once its words have been identified. In each case a claim scoped to one variety applies to that variety under its stated conditions.
The corpus examples can anchor these decisions. The Piedmontese extract contains a clitic sequence beside a finite copula. The Lombard extract contains a reflexive form in an expression of location. The Emilian caption contains a determiner before a noun. Each gives a context for a prospective annotation rule. To test a rule, the reference material must show the expected analysis where the rule applies and, if the written form also occurs elsewhere, the analysis in those other contexts.
How Mova handles Gallo-Italic today
tools/mova-parse assigns languages to sentences and spans at level 1 through tools/langseg. Level 2 uses the model file for each span’s assigned language. In Latin script, the supported distinction is between English and French, using a Latin table, language lexicons and a character four-gram model. tools/langseg also handles Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts receive other. A further Latin-script language can join through a lexicon and a Lang code, using langseg latin-lexicon with an open UD training split. Gallo-Italic identification extends only as far as the identifier’s knowledge of its script or lexicon.
There is no level-2 model for roa-x-gallo. tools/mova-parse reports the missing model in the # parse comment and leaves the affected output rows with _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Mova supplies no Gallo-Italic tokenization, tagging, lemmatization or dependency analysis.
Mova’s en crate provides en xpos-fill for XPOS preparation, en train for training a tree parser and tagger on a UD training split, and en parse-eval for measuring UAS and LAS on development data. The available models are English en.bin and French fr.bin. What every language gets calls for the same baseline for each language. Mova holds no annotated Gallo-Italic corpus, so that baseline remains unmeasured.
The frame, pragmatics and world components read English trees. For Gallo-Italic, prag and world have no parsed input. Squid reads the manual’s grammatical points as claims and queues formalizable rules, closed lists and statistics. The queued claims have no implementation yet. The first candidates are those 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/roa-x-gallo/28-mova-tools/