26. Aragonese in Mova
Mova uses an as the code for Aragonese. The current package has grammar claims and Aragonese text samples. It has no annotated treebank, trained parser model or measured parsing baseline. The multilingual pipeline identifies language before it supplies a Universal Dependencies (UD) analysis, and later processing depends on that analysis.
Language identification and model lookup
The multilingual parser, tools/mova-parse, works in two levels. At level 1, tools/langseg assigns a language to each sentence and each span. At level 2, tools/mova-parse looks up the model for the language assigned to each span. Under the root set by $MOVA_DATA, it expects a directory for the language code, a models subdirectory and a .bin file named for that same code. For an an span the expected model name is an.bin. English and French have models named en.bin and fr.bin.
The Latin-script identification resources currently distinguish English and French. They use a Latin table, a lexicon for each language and a character 4-gram model. The identifier also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage receive other.
Adding a Latin-script language requires a lexicon and a Lang code. The langseg latin-lexicon command derives lexicons from open UD training splits. Aragonese is written in Latin script, but the current Latin-script language inventory has no Aragonese entry. The an code in the language package therefore does not establish that the identifier can recognize Aragonese in running text. Identification resources and parser models are required at different stages. The former allow level 1 to label a span as Aragonese. The latter allow level 2 to analyze a span with that label.
Aragonese output when the model is absent
When a span carries a language code whose model file is missing, tools/mova-parse reports the missing model in the # parse comment. Any token rows returned for that span have the following values in the analysis fields. This is the current missing-model behavior for an.
| Field | Value | Information left unset |
|---|---|---|
| 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 | The marker records the absence of a parse |
The marker applies under the missing-model condition for the assigned language. It cannot establish the language of the input on its own. In particular, a Latin-script string does not enter the an model lookup merely because a reader recognizes it as Aragonese. The empty analysis fields also carry no grammatical judgment about the text. An unset FEATS column gives no evidence about which morphological features a word has, and an unset HEAD column supplies no attachment. Token rows in this output supply no Aragonese-specific tokenization.
The following corpus phrase illustrates a distinction that the current output leaves unresolved. The gloss describes the expression for the reader.
| Form | Gloss | Translation | Corpus sentence ID |
|---|---|---|---|
| d'o río Colorado | of=DEF.M.SG river Colorado | “of the Colorado River” | wiki:an:Cataractas d'o Niagara |
The phrase contains the preposition and article in the written form d'o. A UD analysis would need to account for both elements through its tokenization and annotation. The missing-model output supplies neither an analysis of the written combination nor a dependency analysis of the phrase. The gloss uses DEF for definite article, M for masculine and SG for singular.
Treebank availability and measurement status
Mova holds Aragonese text samples from its corpora and no annotated Aragonese treebank. A corpus sentence ID identifies the source of an example. An annotated treebank would also supply reference tokenization and grammatical analysis for its sentences. Such annotation gives a parser’s predictions something to be scored against.
The supplied examples include both prose and material written as labels or credits. These short excerpts show why training and evaluation data need explicit annotation decisions about the material they contain.
| Form | Gloss | Translation | Corpus sentence ID |
|---|---|---|---|
| Os estreitos de Bosforo y Dardanelos | DEF.M.PL strait.PL of Bosphorus and Dardanelles | “the straits of the Bosphorus and the Dardanelles” | wiki:an:Peninsula Balcanica |
| Dirección artistica | direction artistic | “art direction” | wiki:an:Cabaret (cinta de 1972) |
PL marks plural. The first excerpt has coordination inside a noun phrase. The second is a credit label. The presence of both forms in corpus text establishes that both occur in the supplied material. Their sentence IDs provide provenance for the examples, while their reference heads, relations and tags would have to come from annotation.
No Aragonese treebank baseline has been measured in Mova. There is no Aragonese value for unlabeled attachment score (UAS), which evaluates head assignments, or labeled attachment score (LAS), which evaluates the head together with the dependency relation. An absent score represents an evaluation that has yet to take place. Unset fields in missing-model output give no measurement of parser accuracy.
The training and evaluation path for a future baseline
The language package in What every language gets calls for the same UD baseline for each language. For Aragonese, the prerequisite is annotated data with a training split and a development split. The training split supplies the reference analyses from which the parser and tagger learn. The development split supplies the reference analyses used to measure the result.
| Step | Mova command or component | Role in an Aragonese baseline |
|---|---|---|
| Prepare the training data | en xpos-fill | Run the XPOS preparation step on the annotated data before training. |
| Train the parser and tagger | en train | Train on the Aragonese UD training split. |
| Evaluate the model | en parse-eval | Measure UAS and LAS on the development split with the model trained on the training split. |
| Make the model available to the multilingual parser | tools/mova-parse | Look up an.bin for spans assigned an using the language-model layout. |
The en crate provides the training and evaluation commands for this baseline across languages. The en in the command names identifies the implementation. The data used for training determine which language the resulting model analyzes. For Aragonese the relevant training and development analyses would both be Aragonese.
The evaluation tests attachment decisions against the development annotations. It addresses a different question from whether the multilingual identifier labels a span an. A baseline can be evaluated on the Aragonese development split once the required annotations and trained model exist. Getting the same model used for running text also requires that a span reach the an lookup and that the model file be available there. The training and evaluation sequence is prospective for Aragonese.
Grammar claims in Squid and implementation status
Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, enter Squid’s queue for a place in Mova’s code. The queue records material available for implementation. A queued rule has no effect on the parser’s output.
A claim about a written combination such as d'o can inform a tokenization or annotation decision. A closed list of grammatical forms can inform tagging, and a statement about phrase structure can inform the choice of reference heads and dependency relations. To be useful at those stages, a rule needs its domain of application, the conditions under which it applies and any exceptions. A systematic tokenization decision also matters for evaluation, since the words carrying the predicted and reference attachments must correspond.
The Aragonese claims described in the manual are unimplemented. The first implementation priorities are the claims needed for a tokenizer, a tagger and a UD treebank baseline. A gloss in the manual describes a linguistic analysis a reader can use. An implemented rule would have to affect how Mova processes the input.
Dependencies of frames, pragmatics and world processing
Mova’s frames, pragmatics and world processing read English trees. A dependency tree gives later processing a syntactic input with heads and relations. The language label tells the system which language it is dealing with, while the parse supplies the structure of the utterance.
For Aragonese, the dependency is unmet at the parsing stage. Neither a corpus example nor its gloss supplies a tree to the pipeline. The Parse=None marker reports the absence of that input. The components for frames, pragmatics and world processing consequently have no Aragonese trees to read. A future Aragonese parse would supply the prerequisite syntactic input. The documented input for those later components is English, so the availability of a parser model alone would establish only the syntactic capability.
How Mova handles Aragonese today
tools/langseg assigns language labels at level 1 of tools/mova-parse. Its Latin-script resources distinguish English and French, and Aragonese has no entry in that inventory. A further Latin-script language requires a lexicon and a Lang code. langseg latin-lexicon derives lexicons from open UD training splits.
At level 2, tools/mova-parse looks up each span’s language model. There is no level-2 model for an. For a span assigned an, the missing model is reported in the # parse comment, and its token rows carry _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. Mova provides no Aragonese tokenization, tagging, lemmatization or parsing.
Mova holds no annotated Aragonese treebank and has measured no Aragonese baseline. What every language gets calls for the common baseline. The en crate trains a tree parser and tagger with en train on the UD training split after en xpos-fill, and en parse-eval measures UAS and LAS on the development split. The available models are en.bin and fr.bin.
Squid records the manual’s grammatical points as claims and queues the formalizable ones. The Aragonese rules remain unimplemented. Tokenization, tagging and the UD treebank baseline determine the first implementation priorities. Frames, pragmatics and world processing read English trees, and there are no Aragonese parses for them to consume.
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/an/26-mova-tools/