Mova0.6 pre-release

Munster Irish: the flag of Munster, three gold crowns on blue 34. Munster Irish in Mova

Munster Irish has a grammar edition in Mova under the code ga-x-munster. It has neither a parser model nor an annotated corpus in the package, and there is no measured parser baseline for the variety. Mova’s multilingual parser routes text by span, so the treatment of a Munster Irish passage depends first on its language label and then on whether a model exists for that label.

Language identification and span routing

The multilingual parser, tools/mova-parse, works at two levels. At level 1, tools/langseg assigns a language to each sentence and span. At level 2, the parser selects a model for each span using the span’s language code. In mixed-language text, the sentence label and the span label serve different purposes. The sentence receives a language label, while the span label determines which model is looked up for that portion of the sentence. A language label therefore indicates the route through the parser. The annotations depend on what is available at the end of that route.

LevelComponentResult
1tools/langsegA language label for each sentence and span
2tools/mova-parseA parse from the model for the span’s language, or unannotated output if the model is absent

For Latin-script language identification, tools/langseg distinguishes English and French using its Latin table, a lexicon for each language and a model of four-character sequences. It also distinguishes varieties written in Hebrew script and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage receive the label other. That script fallback gives no basis for predicting the label assigned to a particular passage of Latin-script Irish.

The route for adding a further Latin-script language requires both a lexicon and a Lang code. The langseg latin-lexicon command supports lexicon preparation from open Universal Dependencies (UD) training splits. The lexicon serves language identification. The model used at level 2 is a separate resource trained for tagging and dependency analysis. The existence of the edition code ga-x-munster by itself establishes neither that the segmenter can recognize that variety nor that the parser can analyze it.

Irish and English can occur together in the input. In the following example, the two parts make the same statement. They illustrate the difference between the languages in the text and the labels that a segmenter would have to assign. The span labels for this example are unspecified.

Form (constructed)GlossTranslation
Tá an doras dúnta.be.PRS DEF door closed‘The door is closed.’
The door is closed.DEF door be.PRS closed‘The door is closed.’

The missing Munster Irish model and unannotated output

There is no level-2 model for ga-x-munster. When a span reaches level 2 under that code, tools/mova-parse reports the missing model in the # parse comment. The rows for the span carry Parse=None in MISC. The six columns that would carry lexical, morphological and dependency annotations contain underscores.

ColumnValue for a span routed to ga-x-munsterAnnotation absent
LEMMA_Dictionary form
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Index of the syntactic head
DEPREL_Dependency relation to the head
MISCParse=NoneThe field records that parsing was unavailable

The missing HEAD and DEPREL values leave the span without a dependency tree. The empty tag and feature columns give no evidence about the word classes or inflection of the forms in the rows. Similarly, because the lemma column is empty, a reader cannot infer whether two written forms would be assigned the same lemma. The # parse comment and the MISC value record the parser’s status for the span. They do not record an analysis of the expressions inside it.

The output can include token rows even though Mova has no Munster Irish tokenizer. The rows therefore provide no basis for claiming that segmentation follows Munster Irish grammar. This matters whenever the units needed for analysis depend on language-specific conventions. The condition for the fallback is the code used in the model lookup. In mixed text, a span carrying a code with a model can be parsed even when a span in the same input carrying ga-x-munster has no model.

Treebank availability and the unmeasured parser baseline

Mova holds no annotated treebank for Munster Irish. There is consequently no Munster Irish parser baseline measured from a UD training split and a development split. This is the state of Mova’s package. The availability or coverage of corpora outside that package is unspecified here.

A treebank supplies examples of how the words in sentences are annotated and how they relate to each other. In a baseline run, the training split supplies the annotations from which the parser learns, and the development split supplies the reference annotations for measuring its output. Running multilingual input through the missing-model fallback provides neither set of annotations. The underscores in its output cannot serve as reference tags or as reference dependency relations.

Mova reports parser accuracy with unlabeled attachment score (UAS) and labeled attachment score (LAS). UAS checks whether a word attaches to the correct head. LAS checks whether both the head and the dependency relation are correct. A word assigned the right head but a different relation from the reference satisfies the UAS criterion and fails the LAS criterion. These measures assess dependency attachment against an annotated reference. Language identification is a different operation, so the scores do not give a measure of how well the segmenter recognizes Munster Irish.

Both scores are unmeasured for ga-x-munster. The absence of results is due to the absence of a baseline run with Munster Irish treebank data. It is not a numerical score. The English and French models are available resources for their own language codes and provide no measurement for this edition.

The shared training and evaluation workflow

The package specification in What every language gets calls for the same parser baseline for each language. Mova’s own parser is implemented in the en crate. Its commands apply to a language’s UD splits, as the presence of both an English model (en.bin) and a French model (fr.bin) illustrates.

StageCommandRole in the baseline
Prepare the training annotationsen xpos-fillPrepares the UD training data before fitting the tagger and parser
Trainen trainTrains a dependency parser and tagger on the language’s UD training split
Evaluateen parse-evalMeasures UAS and LAS on the development split after training on the training split

The order matters. Preparation precedes training, and the reported baseline measures performance on development data after fitting the model on training data. A model produced for use by the multilingual parser is selected at level 2 by language code. The evaluation scores describe the trained parser on its development data. Loading a model for a span is a separate operation from measuring it.

For Munster Irish, the required training and development data are absent from the package. There is therefore no run of the shared workflow to report for this edition and no resulting model to load. Building a lexicon from an open train split would address identification of Latin-script spans, while a parser baseline would require the dependency annotations used in training and development evaluation. These uses of training data support different stages of the system.

Frames, pragmatics and the current input requirements

Mova’s current frame, pragmatics and world components work from English trees. The components named for pragmatics and world knowledge are prag and world. Their required input includes the syntactic structure supplied by parsing. A routing label tells Mova which language a span was assigned to, but it supplies no head indices or dependency relations for these components to read.

A Munster Irish span reported with Parse=None has no tree for downstream analysis. An English tree from another span in the same input gives the components English material to read. It supplies no syntactic structure for the Munster Irish span. A dependency parse is the first missing input for Munster Irish. Current downstream support is specified for English trees, so the shared training and evaluation workflow establishes a parser baseline only.

How Mova handles Munster Irish grammar claims in Squid

Squid reads the grammar manual and makes a claim from each grammatical point. When a point can be formalized, as with a rule, a closed list or a statistic, its claim enters Squid’s queue for implementation in Mova. Queue membership records that a claim is waiting for a place in the code. Implementation is a separate step.

For ga-x-munster, the grammar claims are ahead of the available analysis tools. Language identification depends on the script or lexicon coverage of tools/langseg. If a span is routed to ga-x-munster, tools/mova-parse reports the missing model and returns the span’s rows with Parse=None. At this stage Mova does not tokenize, tag, lemmatize or parse Munster Irish as a language. The package has no annotated Munster Irish treebank, and the shared parser baseline remains unmeasured. The downstream components that read English trees have no Munster Irish tree to read.

The first grammar points needed for implementation are those that bear on tokenization, tagging and a UD treebank baseline. Tokenization concerns the units to be annotated. Tagging concerns the categories assigned to those units. The treebank supplies the reference analyses for training and evaluation. Squid can record formalizable claims relevant to each of these tasks while the claims await implementation.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/ga/ga-x-munster/34-mova-tools/