27. Asturian in Mova
Mova has Asturian text in its corpora. Its multilingual parser has no Asturian model, and Mova has no annotated Asturian treebank from which to measure parsing accuracy. This chapter describes how those conditions affect the output and which distinctions in the corpus matter for a first model.
Language identification and per-span model lookup
Mova's multilingual parser, tools/mova-parse, processes language identification and syntactic parsing in two levels. At level 1, tools/langseg assigns a language to each sentence and span. At level 2, the parser uses the language assigned to each span to select a model. It looks under the assigned language code for a model whose .bin filename has that same code. In a sentence with spans assigned to different languages, the lookup is made separately for each span.
For Latin-script text, the identification tools distinguish English and French using a Latin table, a lexicon for each language and a character four-gram model. They also distinguish Hebrew-script varieties and recognize Hebrew or Aramaic in scholarly transliteration. Scripts outside the supported cases are assigned other. A further Latin-script language is added by supplying a lexicon and a Lang code. The lexicon can be made from open Universal Dependencies (UD) training data with langseg latin-lexicon.
The Asturian corpus entries carry the code ast. On arbitrary input, a span can reach the Asturian model lookup only if level 1 assigns it ast. Latin script alone supplies no Asturian identification. In a mixed passage, an Asturian span assigned ast and a French span assigned fr therefore have different outcomes at level 2. The French lookup has a model available, and the Asturian lookup has none.
Asturian parser availability and Parse=None output
For a span assigned ast, tools/mova-parse reports the missing model in the # parse comment and marks the span's token rows as follows.
| Output field | Value | Annotation unavailable |
|---|---|---|
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 | Parse status recorded for the token |
The underscores indicate fields left unannotated because the model is unavailable. In particular, a row with an empty HEAD gives no evidence that the word is a root, and an empty FEATS field gives no evidence that the word lacks inflection. The presence of token rows likewise gives no evidence that Asturian-specific word boundaries have been analyzed. A corpus reader can see the text and the missing-parse status, but cannot recover an Asturian dependency tree from those fields.
Treebank availability and the unmeasured UAS and LAS baseline
Mova holds no annotated Asturian treebank. The Asturian corpus examples in this chapter supply attested forms, while a UD treebank would also supply reference word boundaries, lemmas, tags, features, heads and dependency relations. The grammar and the text excerpts provide evidence for annotation decisions. A parsing score requires those decisions to have been applied to reference trees.
The baseline specified in What every language gets uses a language's UD training split to train the parser and its development split to evaluate it. The sequence in the en crate is en xpos-fill, en train and en parse-eval. Training produces a tree parser and a tagger. Evaluation measures unlabeled attachment score (UAS) and labeled attachment score (LAS). For each word included in the evaluation, UAS credits a correct head. LAS credits a correct head paired with the correct dependency relation.
| Measure | Asturian status in Mova |
|---|---|
| UAS on the development split | Unmeasured |
| LAS on the development split | Unmeasured |
Both results are missing measurements. An accuracy of zero would be a measured result from comparing predictions with reference trees.
Manual claims and Squid's implementation queue
Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, wait in Squid's queue for implementation in Mova's code. A written claim can therefore describe Asturian accurately while the parser still returns Parse=None for the forms it covers.
A claim about word boundaries must specify which construction licenses a split. For instance, the apostrophe occurs both after a preposition in “d'una” and after a verb in “atopa'l”. In the first form, it marks the shortened preposition before an indefinite article. In the second, it marks the shortened definite article following the verb and belonging to the following noun phrase. A boundary claim can record the two analyses and the context that distinguishes them. The examples support those analyses in their respective contexts. A general rule also needs conditions for its application and any exceptions. (wiki:ast:Kaffaljidhma, wiki:ast:Llagu Natron)
| Form | Gloss | Translation | Corpus sentence ID |
|---|---|---|---|
| “d'una mano” | of=INDF.F.SG hand | ‘of a hand’ | wiki:ast:Kaffaljidhma |
| “atopa'l estratovolcán” | find.PRS.3SG=DEF.M.SG stratovolcano | ‘finds the stratovolcano’ | wiki:ast:Llagu Natron |
In the glosses, = marks a boundary between grammatical elements written together. DEF and INDF mark definite and indefinite articles, F and M mark feminine and masculine, and SG and PL mark singular and plural. PRS is present tense and 3SG is third-person singular.
Tokenization, tagging and treebank priorities
A first tokenizer needs an account of the relation between written forms and syntactic words. The corpus contains apostrophized function words, contractions without an apostrophe, and clitics written directly on a verb. These need consistent treatment in the input to the tagger and in the reference trees. The written form matters for preserving the text, and the syntactic word boundaries matter for assigning lemmas, tags and dependencies.
| Form | Gloss | Translation | Corpus sentence ID |
|---|---|---|---|
| “alcuéntrase” | find.PRS.3SG=SE | ‘is located’ | wiki:ast:K Velorum |
| “Nun s'atopa” | NEG SE=find.PRS.3SG | ‘is not found’ | wiki:ast:Idioma ndonga |
| “nel añu” | in=DEF.M.SG year | ‘in the year’ | wiki:ast:Phoenicopteridae |
| “na frontera” | in=DEF.F.SG border | ‘at the border’ | wiki:ast:Llagu Natron |
| “pol rexistru” | by=DEF.M.SG record | ‘from the record’ | wiki:ast:Phoenicopteridae |
SE glosses the pronominal clitic and NEG marks negation. In “alcuéntrase”, the clitic follows the finite verb and is joined to it in writing. In “Nun s'atopa”, it precedes the finite verb and appears in the shortened form “s'”. The three preposition–article contractions in the table also contain two grammatical elements within one written form. In “nel” and “na”, the article differs in gender. These examples give the tokenizer and the treebank concrete cases on which their word boundaries must agree.
The tagger needs enough context to identify the parts of speech and features of the resulting words. For example, “les” in “les idees” is a definite article, and “pocu” in “pocu convencionales” modifies an adjective and functions as a degree adverb. The treebank also needs to record which word each modifier depends on. Attachment distinguishes a modifier of a noun from a degree modifier of an adjective even when both appear in the same noun phrase.
| Form | Gloss | Translation | Corpus sentence ID |
|---|---|---|---|
| “les idees” | DEF.F.PL idea.PL | ‘the ideas’ | wiki:ast:Alfred Russel Wallace |
| “pocu convencionales” | little conventional.PL | ‘unconventional’ | wiki:ast:Alfred Russel Wallace |
| “llagu saláu” | lake.M.SG salty.M.SG | ‘salty lake’ | wiki:ast:Llagu Natron |
For a treebank baseline, the same annotation conventions must apply in the training and development splits. The treebank must settle how to represent the written forms in these examples, assign lemmas and features to their components, and choose heads and relations consistently. A parser can then be evaluated against the development trees with UAS and LAS.
How Mova handles Asturian today and where processing stops
tools/langseg assigns languages to sentences and spans within its script and lexicon coverage. tools/mova-parse looks up a separate model for each span according to that assignment. For a span assigned ast, the lookup stops at the missing Asturian model. The # parse comment reports the missing model, the token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and MISC has Parse=None. Mova supplies no Asturian-specific tokenization, tagging, lemmatization or dependency parse.
The en crate provides the training and evaluation route required by What every language gets. After en xpos-fill, en train trains a tree parser and tagger on a UD training split, and en parse-eval measures UAS and LAS on the development split. The available models are English en.bin and French fr.bin. With no annotated Asturian treebank in Mova, both Asturian scores are unmeasured.
prag and world read English trees for Mova's frame, pragmatic and world processing. Asturian currently supplies no parsed tree to those stages. Squid reads the manual and queues formalizable claims for implementation. The Asturian rules described here remain unimplemented, with the needs of a tokenizer, a tagger and a UD treebank baseline taking priority.
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/ast/27-mova-tools/