34. Old Irish in Mova
Old Irish has a grammar manual in Mova under the language code sga. Its grammatical descriptions supply claims for Squid. The multilingual parser has no Old Irish model, and Mova has no annotated Old Irish corpus on which to measure a parsing baseline. Language identification, syntactic annotation, and interpretation each have their own coverage.
Language identification and the limits of Latin-script coverage
Level 1 of the multilingual parser assigns a language to each sentence and span. A span is a portion of the input assigned a language for separate processing. This distinction matters when a text contains more than one language. For example, a Latin passage with an Old Irish gloss requires enough evidence to identify the gloss independently of the surrounding passage.
The Latin-script resources in tools/langseg distinguish English and French. They use a Latin character table, a lexicon for each language, and a character 4-gram model. The tool also distinguishes varieties written in Hebrew script and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported script coverage are classified as other.
Old Irish uses the Latin script. Recognizing that script gives the identifier no basis for assigning the Old Irish language code from its current English and French resources. The presence of sga in the grammar package does not add Old Irish entries to the language identifier. Likewise, the identifier’s ability to assign different languages to different spans does not establish that it can locate an Old Irish gloss within a mixed text. A language label on such a span is a result of the available identification resources.
Multilingual parser output for Old Irish
tools/mova-parse uses the level 1 labels to select a level 2 model for each span. The model belongs to the language assigned to that span. Model availability can therefore differ from span to span within a single input. The absence of an Old Irish model affects the spans passed to level 2 as sga.
The parser reports a missing model in the # parse comment. Rows for the affected tokens carry the following values. The field names are those of CoNLL-U, the tabular format used for Universal Dependencies annotation.
| Field | Value | Annotation unavailable |
|---|---|---|
| LEMMA | _ | Lemma |
| UPOS | _ | Universal part of speech |
| XPOS | _ | Language-specific part-of-speech tag |
| FEATS | _ | Morphological features |
| HEAD | _ | Syntactic head |
| DEPREL | _ | Dependency relation |
| MISC | Parse=None | Status of the parse |
The underscores mark missing annotations. An underscore in FEATS, for example, gives no evidence about whether the form bears case, tense, or another grammatical feature. HEAD and DEPREL together give no attachment for the row. The Parse=None value explicitly records the absence of a parse.
Token rows in this output are positions at which the missing analysis is reported. Their presence gives no evidence that Old Irish word boundaries or the internal divisions of a verbal complex have been analyzed. In particular, the missing-model output supplies no language-specific tokenization of clitics or particles. The distinction matters when counting annotated words or using the output as input to a tool that expects a dependency tree.
The treebank gap and the unmeasured parsing baseline
Mova has no Old Irish treebank. A treebank is a corpus with annotated syntactic structures. For the package’s parser baseline, its training split supplies the sentences and analyses from which the parser learns, and its development split supplies the reference analyses against which the resulting model is evaluated. An edited text or a collection of glosses can supply linguistic evidence, but baseline evaluation requires the corresponding annotations and splits.
The common baseline in What every language gets uses Universal Dependencies and measures attachment on the development split after training on the training split. Its two reported measures concern dependency structure.
| Measure | What it checks |
|---|---|
| Unlabeled attachment score (UAS) | Whether the predicted head agrees with the reference head |
| Labeled attachment score (LAS) | Whether both the predicted head and the dependency relation agree with the reference analysis |
An attachment can count toward UAS even when the parser assigns the wrong relation. LAS requires agreement on both parts. These scores concern attachment and do not provide a separate measure of language identification or lemma accuracy.
There are no measured UAS and LAS values for the Old Irish baseline. Missing annotation fields in multilingual output cannot be read as evaluation scores. The parser has produced no Old Irish attachments to compare with a development reference, and Mova holds no annotated Old Irish development split for that comparison.
Frames and pragmatics coverage
Mova’s frame, pragmatics, and world components read English trees. An Old Irish span passed through the missing-model branch supplies no tree to those components. A language label and a sequence of visible forms are insufficient inputs for the tree-based processing described here.
This leaves a gap at the point where a syntactic analysis would serve as input to interpretation. A frame analysis would need evidence for which expression heads a predication and which expressions depend on it. A pragmatic analysis can also depend on clause structure, for example when a form has several possible functions and its position in the clause helps distinguish them. The current output has no Old Irish head or relation annotations on which to base those decisions.
A parsed tree is a prerequisite for this route to processing another language. The ability to produce a tree for a language and the ability of components that read English trees to use it are separate capabilities. The Old Irish package currently supplies no parsed Old Irish input for those components.
Squid grammar claims and the implementation queue
Squid reads the grammar manual and turns every grammatical point into a claim. Formalizable claims, including rules, closed lists, and statistics, wait in Squid’s queue for a place in Mova’s code. A statement in the manual describes the language. A queued claim records work that can be formalized. Implementation requires the corresponding behavior in the code.
For Old Irish the first priorities are the points needed by a tokenizer, a tagger, and a Universal Dependencies treebank baseline. Tokenization needs a treatment of word boundaries and clitics, including the relation between editorial spelling and the units to be annotated. Tagging needs enough information to distinguish word classes and assign grammatical features where the forms support them. A treebank needs consistent analyses of heads and relations in addition to decisions about which units receive annotations.
The simple noun phrase below illustrates inputs to these decisions. Both forms use the Latin script.
| Form | Gloss | Translation |
|---|---|---|
| in fer (constructed) | DEF.NOM.SG.M man.NOM.SG.M | ‘the man’ |
Here DEF means definite article, NOM nominative, SG singular, and M masculine. A word-class analysis identifies the article and noun. A morphological analysis records the features of each. A dependency annotation additionally specifies the noun as the head and the article as its determiner dependent. Even for this short phrase, the gloss and grammatical description supply evidence for an annotation without constituting a parser result.
The verbal complex raises a further question about the relation between written form and grammatical structure. A rule describing a finite form conditioned by a preverbal particle must identify both the environment and the resulting form. Decisions about the corresponding annotation units and their relations are needed when representing such an example in a treebank. Queueing the rule does not settle those annotation decisions or make the parser apply it.
How Mova handles Old Irish today
tools/langseg is the language identification stage of tools/mova-parse. For Latin-script identification it currently has English and French resources. The route for adding a further Latin-script language is to add a lexicon and a Lang code. langseg latin-lexicon builds a lexicon from an open Universal Dependencies training split. Old Irish can be identified as a span by this route only when the identifier has resources that recognize it.
At level 2, tools/mova-parse selects the model for the language assigned to each span. There is no model for sga. For a span assigned that code, the parser reports the missing model in the # parse comment, leaves LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL as _, and sets Parse=None in MISC. Mova supplies no Old Irish tokenization, tagging, lemmatization, or dependency parsing.
Mova’s own parser is the en crate. After en xpos-fill, en train trains a tree parser and tagger on a language’s Universal Dependencies training split. en parse-eval measures UAS and LAS on the development split. English and French have models, en.bin and fr.bin. What every language gets asks for the same baseline for each language. Mova has no annotated Old Irish corpus, so the baseline remains unmeasured for sga.
The frame, pragmatics, and world components, including prag and world, read English trees. They have no parsed Old Irish input. Squid reads the manual and queues formalizable claims. The Old Irish grammar rules described here remain unimplemented, with the needs of tokenization, tagging, and a Universal Dependencies baseline coming first.
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/sga/34-mova-tools/