30. Middle Irish in Mova
Middle Irish has the language code mga in this manual. Mova has neither a Middle Irish parser model nor an annotated Middle Irish corpus. To interpret the output for a passage, distinguish the language label on the span, the grammatical annotation on its tokens, and any analysis that would use a dependency tree.
Language segmentation and the scope of Latin-script coverage
The first level of tools/mova-parse assigns a language to each sentence and span through tools/langseg. Span-level labels matter in mixed-language text because the second level chooses a parser separately for each span. A label on the surrounding sentence does not by itself determine which model will be used for every part of it.
For Latin script, the segmenter currently 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. Scripts outside its coverage receive other. This script fallback does not prescribe the label for an unsupported language written in a covered script.
Middle Irish in Latin script therefore falls within a script that the segmenter handles, but the supplied Latin-script coverage establishes no dedicated Middle Irish recognition. Recognizing the script alone does not identify a passage as mga. The documented route for adding another Latin-script language is to supply a lexicon and a Lang code. The langseg latin-lexicon command builds lexicons from open Universal Dependencies (UD) training splits. Segmentation and parsing require separate resources. A lexicon helps assign a language label, while the parser model is needed to annotate spans with that label.
Missing Middle Irish parser model and Parse=None output
At the second level, tools/mova-parse looks for the model corresponding to the language assigned to a span. There is no mga model. When the span is assigned mga, the missing model is reported in the # parse comment, and the output for the span’s tokens has the following values.
| Field | Value | Annotation unavailable from the parser |
|---|---|---|
| LEMMA | _ | Lemma |
| UPOS | _ | Universal part of speech |
| XPOS | _ | Language-specific part of speech |
| FEATS | _ | Morphological features |
| HEAD | _ | Syntactic head |
| DEPREL | _ | Dependency relation |
| MISC | Parse=None | A marker recording that no parse was produced |
These values reflect the absence of a model for the assigned language. A blank FEATS field gives no evidence about whether a word has an inflection, and a blank HEAD field cannot be read as a root attachment. The Parse=None marker applies to tokens in the affected span. Other spans can be parsed if their assigned languages have models.
The condition is the assigned label. A Middle Irish passage that segmentation assigns to a different language follows the model lookup for that other language. Consequently, counting Parse=None markers does not measure how many Middle Irish passages a document contains. The token rows in the output also provide no evidence that Middle Irish word boundaries have been analyzed by a language-specific tokenizer.
Treebank status and the unmeasured baseline
Mova holds no annotated Middle Irish corpus. A treebank for the baseline would supply sentences with reference tokenization and syntactic annotation, organized into the training and development splits used by the evaluation workflow. The training split supplies examples for fitting the model, and the development split supplies reference analyses for measuring the trained model’s output.
No Middle Irish treebank baseline has been measured. This status leaves both attachment scores unavailable. It cannot be represented as a score of zero, because there has been no comparison between predicted Middle Irish dependencies and reference dependencies. The missing-model output records a separate fact about what happens when the parser is asked to process a span assigned mga.
An edition can supply text for annotation, but the edited text alone does not supply reference heads and dependency relations. The grammar manual describes constructions and can guide annotation choices. A baseline additionally requires those choices to be applied to the tokens of actual sentences.
The training workflow and UAS and LAS
The package description in What every language gets calls for the same baseline workflow for every language. In Mova’s en crate, en xpos-fill precedes en train. The latter trains a dependency parser and tagger on the language’s UD training split. The en parse-eval command measures attachment on the development split. The workflow thus has two distinct data roles, training the model and evaluating its predictions on separate annotated sentences.
| Measure | Requirement for a correct attachment |
|---|---|
| UAS, unlabeled attachment score | The predicted head matches the reference head. |
| LAS, labeled attachment score | The predicted head and the predicted dependency relation both match the reference annotation. |
For a token included in both scores, a correct head with an incorrect relation counts as correct for UAS only. An incorrect head counts as incorrect for both, even if the relation label matches. The two measures describe dependency attachment. They do not give separate scores for language identification, lemmatization, or part-of-speech tagging.
The reference annotation determines what counts as a match. For instance, an evaluation needs a consistent convention for which written units constitute tokens and how those tokens attach. The scores concern the annotated material in the development split and the conventions represented there. No corresponding Middle Irish split or scores are available in Mova.
Current scope of frames, pragmatics and world data
Mova’s frame, pragmatic, and world components use English dependency trees as input. Segmentation supplies a language label, which is insufficient input for these components. The missing-model output for a span assigned mga also supplies no head or relation annotations from which they could read a tree.
The lack of a Middle Irish tree is the immediate limit on this part of the processing chain. Producing a Middle Irish dependency tree would supply the missing syntactic input, while the stated coverage of the downstream components remains English. The existence of a parser model for a language therefore does not establish that its frame, pragmatic, or world analysis is supported. In current Middle Irish output, there is no basis for attributing a frame or a pragmatic interpretation to these components.
Squid's claim queue and prerequisites for a Middle Irish baseline
Squid reads the grammar manual and represents each grammatical point as a claim. Formalizable claims, including rules, closed lists, and statistics, wait in Squid’s queue for implementation in Mova. The queue records work that can be expressed formally. It does not supply executable rules, corpus annotations, or model parameters. The grammatical points in this manual have yet to be implemented for Middle Irish.
The first claims needed for a baseline are those that inform tokenization, tagging, and UD annotation. Each has a different consequence for the annotated data.
| Area | What the baseline needs |
|---|---|
| Tokenization | Conventions for word boundaries in the chosen editorial transcription, especially where the spelling of adjacent material leaves a boundary in question. |
| Tagging | Consistent assignments of part of speech and morphological features to the resulting tokens, with conditions for choosing between analyses where the written form is ambiguous. |
| Dependency annotation | Consistent choices of syntactic head and dependency relation for the constructions represented in the treebank. |
| Training and evaluation data | An annotated training split and an annotated development split that apply the same conventions. |
A claim about how to classify a construction can guide the annotation of its occurrences. An annotator still has to determine which occurrences meet the conditions of the claim and record their analyses in the treebank. Likewise, a rule about word boundaries can guide tokenizer work, but a rule sitting in the queue makes no change to emitted tokens.
A measured baseline requires annotated data, a trained model, and development-set evaluation. Running the resulting model on Middle Irish within the multilingual pipeline also requires a way to assign mga to the relevant spans. The documented Latin-script lexicon route draws on an open UD training split, so treebank work can provide material for both the parser training workflow and the segmentation lexicon.
How Mova handles Middle Irish today
tools/mova-parse uses tools/langseg to label sentences and spans, then looks up a parser model for each span’s language. Middle Irish has no model. For a span assigned mga, the # parse comment reports the missing model, LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL contain _, and MISC contains Parse=None. Language identification is limited to the segmenter’s script and lexicon coverage. There is no Middle Irish tokenization, tagging, lemmatization, or parsing.
The parser models available in Mova are English (en.bin) and French (fr.bin). The package baseline uses en xpos-fill, en train, and en parse-eval to train on the UD training split and measure UAS and LAS on the development split. Mova has no Middle Irish treebank and no measured Middle Irish baseline. Its frame, pragmatic, and world components read English trees and have no Middle Irish parse to read.
Squid records the manual’s grammatical points as claims and queues those that can be formalized. These claims are pending implementation. The first points needed for a Middle Irish baseline concern tokenization, tagging, and UD treebank annotation.
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/ga/mga/30-mova-tools/