27. Aromanian in Mova
Mova uses rup as the language code for Aromanian. The Aromanian package has corpus text and a reference grammar, but it has neither an annotated treebank nor a parser model. These resources serve different purposes. Corpus text shows which forms occur, the manual states grammatical claims, and a treebank supplies the annotations used to train and evaluate a parser.
Language segmentation and model selection
The multilingual parser tools/mova-parse works 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 the corresponding model file. A sentence may therefore contain spans assigned to different languages, and model availability is checked for each span's language.
For Latin script, the segmenter distinguishes English and French using a Latin-script table, a lexicon for each language and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes scholarly transliteration of Hebrew or Aramaic. It assigns scripts outside that coverage to other. To add a Latin-script language, the segmenter needs a lexicon and a Lang code. The langseg latin-lexicon command builds the lexicon from open Universal Dependencies (UD) training splits. Identification of an Aromanian span depends on what the segmenter knows about its script or lexicon. The rup package code alone supplies no evidence for the language of a span.
An Aromanian corpus entry can contain text in more than one script. The entry wiki:roa_rup:Gãrtsii includes the following two phrases. The source ID identifies the corpus entry, and the language column describes the phrases themselves.
| Language | Form | Romanization | Gloss | Translation |
|---|---|---|---|---|
| Aromanian | “Republica Gãrția” | — | republic.DEF Greece | ‘Republic of Greece’ |
| Greek | “Ελληνική Δημοκρατία” | Ellinikí Dimokratía | Greek republic | ‘Greek Republic’ |
The script changes at the Greek phrase. The Aromanian phrase shares Latin script with other languages, so recognizing that script leaves the phrase's language to be resolved by the segmenter's language coverage.
The current Aromanian package and parse output
Mova has corpus text for rup, including the Aromanian Wikipedia excerpts used in this chapter. The package has no annotated Aromanian corpus and no level-2 model. For a span designated rup, the multilingual parser reports the missing model in the # parse comment. Where token rows are present in the output, the parser leaves the following fields unannotated:
| Field | Output for rup without a model | Information the field normally represents |
|---|---|---|
| LEMMA | _ | Dictionary form |
| UPOS | _ | Universal part of speech |
| XPOS | _ | Language-specific part of speech |
| FEATS | _ | Morphological features |
| HEAD | _ | Index of the syntactic head |
| DEPREL | _ | Dependency relation to the head |
| MISC | includes Parse=None | Status of the parse |
The underscores and the MISC value record a missing analysis. For example, _ in HEAD leaves the token's syntactic head undetermined. The presence of token rows in this output supplies no Aromanian-specific tokenization, and the rows carry no automatic Aromanian tags, lemmas or dependencies.
The phrase “Limba armãneascã” in wiki:roa_rup:Limba armãneascã illustrates the distinction between an attested form and parser annotation. The gloss describes the phrase for the reader.
| Form | Gloss | Translation |
|---|---|---|
| “Limba armãneascã” | language.DEF Aromanian.F.SG | ‘the Aromanian language’ |
With a missing model, the output supplies neither the adjective's features nor its dependency relation to the noun. The gloss in this manual is separate from the parser output.
Treebank requirements and baseline measurements
What every language gets calls for the same parser baseline for each language. An annotated UD training split supplies examples for the tree parser and tagger, and an annotated development split supplies reference trees for evaluation. Raw corpus text can supply sentences for annotation. Computing an attachment score also requires reference head assignments and dependency labels for the evaluation sentences.
Mova's own parser is in the en crate. In the baseline workflow, en xpos-fill precedes en train, which trains the tree parser and tagger on the language's UD training split. en parse-eval measures attachment on the development split. Mova has models for English (en.bin) and French (fr.bin).
| Measure | What counts as a correct attachment | Aromanian baseline |
|---|---|---|
| UAS, unlabeled attachment score | The predicted head matches the reference head | Unmeasured |
| LAS, labeled attachment score | Both the predicted head and the predicted dependency label match the reference annotation | Unmeasured |
Mova holds no Aromanian treebank, so there is no train-to-development result for rup. The missing-model output contains no predictions to score. Its underscores and Parse=None marker are status indicators and carry no numerical baseline.
A treebank would also give concrete instances of annotation decisions that affect those measurements. In “s-u videts” from wiki:roa_rup:Tatã-a nostru, the written group s-u illustrates a boundary decision that comes before assigning heads and dependency labels. A training or development example would need to specify which units receive annotations and how those units connect in the tree.
| Form | Gloss | Translation |
|---|---|---|
| “s-u videts” | SBJV-it.ACC see.2PL | ‘for you to see it’ |
Frames, pragmatics and their parser inputs
Mova's frame, pragmatics and world processing, including prag and world, reads English trees. A language assignment identifies the span's language. Its tree supplies a different kind of input, including head assignments and the relations among the units of the sentence.
For rup, the dependency fields are empty because the parser model is absent. Consequently there is no Aromanian tree for those components to read. A corpus gloss or translation helps a reader interpret an utterance, while a parser tree supplies the structured input the components require. The current input described for those components is English trees. Parsing Aromanian would supply the missing tree input, and would leave open how those trees could be used by components that currently read English.
Squid’s grammar claims and implementation queue
Squid reads the reference grammar and turns each grammatical point into a claim. Formalizable claims go into its implementation queue, including rules with explicit conditions, closed lists and statistics. A queued claim is pending implementation. Appearance in the manual or queue does not change how tools/mova-parse handles an Aromanian span.
The first points for implementation are those needed by a tokenizer, a tagger and a UD treebank baseline. The written forms provide examples of what those decisions concern. The noun phrase “Limba armãneascã” illustrates forms for which lexical and inflectional annotation would be needed. The group “s-u videts” illustrates where the written boundary and the units receiving syntactic analysis need to be specified. Once a treebank defines those units and annotates their tags and dependencies, its splits provide the reference data for training and development evaluation. The examples here serve as corpus attestations, with no automatic Aromanian analysis attached to them.
How Mova handles Aromanian today
tools/langseg assigns languages to sentences and spans. For a language without a parser model, Mova can identify its spans only where the segmenter knows the language's script or lexicon. The Latin-script coverage described here distinguishes English and French, and adding a further Latin-script language requires a lexicon and a Lang code.
tools/mova-parse selects level-2 models by span language. There is no model for rup. The # parse comment reports the missing model, and the output for its tokens has _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. Aromanian has no automatic tokenization, tagging, lemmatization or parsing in this setup.
The package calls for the UD train-to-development baseline used by Mova's own parser. Aromanian has no annotated treebank, so its UAS and LAS are unmeasured. Mova's frames, pragmatics and world components read English trees and have no Aromanian parse to read.
Squid records grammatical points as claims and queues the formalizable ones for implementation. The Aromanian rules described in the manual remain unimplemented. The first points needed are those for tokenization, tagging and a UD treebank baseline.
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/rup/27-mova-tools/