29. Quechua in Mova
Mova has Quechua text samples and a Quechua reference grammar. The qu package has no trained dependency parser or annotated treebank. Language identification, syntactic annotation, and interpretation are separate stages, and each has its own requirements.
Language identification in Latin-script input
Language identification is level 1 of tools/mova-parse. It uses tools/langseg to assign a language to each sentence and to spans within it. Span-level identification matters when a sentence contains material in more than one language. At level 2, the language assigned to a span determines which model the parser looks for.
For Latin-script input, tools/langseg distinguishes English and French using its Latin table, language lexicons, and a character 4-gram model. Four-character sequences supply evidence about spelling patterns, while the lexicons supply evidence about words. Quechua shares the Latin script with the languages covered by this component, so script recognition alone cannot identify a span as qu. A qu label in the corpus metadata supplies the identity of the example independently of the identifier.
The passage indexed as wiki:qu:Tiyupunti munisipyu contains a Quechua heading and its Spanish counterpart. The glosses preserve each phrase's word order.
| Form | Gloss | Translation |
|---|---|---|
| Tiyupunti munisipyu | Teoponte municipality | ‘Municipality of Teoponte’ |
| Municipio de Teoponte | municipality of Teoponte | ‘Municipality of Teoponte’ |
The two phrases share a place name, with a spelling difference, and use related words for ‘municipality’. An identifier must be able to use evidence from the surrounding words when the name itself provides little evidence. The corpus supplies both forms within one example. It supplies no measured identification result.
The extension procedure for another Latin-script language uses langseg latin-lexicon to derive a lexicon from an open Universal Dependencies train split. Adding the lexicon and a Lang code extends language identification. Level 2 separately requires a model for that code.
The missing qu parser model and unannotated output
At level 2, tools/mova-parse looks for the model of the language assigned to each span. For a span already identified as qu, the lookup has no Quechua model to load. The output records the missing model in the # parse comment. Where token rows are present for that span, the missing annotation is recorded on each row.
| Field | Value for a token in a span identified as qu |
|---|---|
| LEMMA | _ |
| UPOS | _ |
| XPOS | _ |
| FEATS | _ |
| HEAD | _ |
| DEPREL | _ |
| MISC | Parse=None |
The blank fields cover the lemma, both part-of-speech columns, morphological features, and the two fields used to express a dependency attachment. An underscore in FEATS gives no evidence about whether a word carries a case or person marker. Underscores in HEAD and DEPREL leave both the governing token and the relation unspecified, including for the word that would be the root of a completed tree. Parse=None records the processing status of the row. The presence of a surface form in the output does not establish that Mova has a Quechua tokenizer or that it has identified the boundaries between the form's stem and suffixes.
The phrase Buliwya mama llaqtapi occurs in wiki:qu:Tiyupunti munisipyu. Its gloss identifies a locative ending that a reader can see in the text even when a parser provides no annotation.
| Form | Segmentation | Gloss | Translation |
|---|---|---|---|
| Buliwya mama llaqtapi | Buliwya mama llaqta-pi | Bolivia mother country-LOC | ‘in the country of Bolivia’ |
In this gloss, LOC marks the locative suffix. The gloss is a grammatical analysis of the sample. For a qu span with Parse=None, Mova supplies neither a feature analysis of llaqtapi nor a dependency attachment for the phrase.
Treebank availability and baseline measurements
Mova holds no annotated Quechua treebank. The supplied corpus material includes headings, article prose, and passages containing other languages. It provides attested forms and contexts for the manual. A dependency treebank would supply token boundaries and grammatical annotations, including a reference head and dependency relation for each token in a tree. Those annotations make it possible to train from one split and evaluate the resulting model against another.
The package specification in What every language gets calls for the same baseline for every language. The workflow uses en xpos-fill before en train, which trains a tree parser and tagger on a Universal Dependencies train split. The en parse-eval command measures attachment on the development split. Unlabeled attachment score (UAS) measures whether the predicted head is correct. Labeled attachment score (LAS) requires both the head and the dependency relation to be correct.
The English and French models, en.bin and fr.bin, exist. Quechua has no measured train-to-development baseline in Mova, so there is no UAS or LAS to report for qu. This is a statement about the data and evaluation held by Mova. The corpus excerpts alone cannot provide the reference dependencies needed to calculate either score.
The dependency of frames and pragmatics on parsed input
Mova's frames, pragmatics, and world components (prag, world) read English dependency trees. A language label supplies the identity of a span, and a token row supplies a surface form. A dependency tree supplies the relations among those forms. With the Quechua head and relation columns unfilled, the text supplies no tree for those downstream components to read. Parsing is a prerequisite for downstream work on Quechua. The current readers take English trees.
The predicate fragment Buenos Aires llaqtam in wiki:qu:Arjintina illustrates the distinction between a grammar gloss and a machine analysis.
| Form | Segmentation | Gloss | Translation |
|---|---|---|---|
| Buenos Aires llaqtam | Buenos Aires llaqta=m | Buenos Aires city=DIR | ‘It is the city of Buenos Aires.’ |
Here DIR glosses the direct evidential enclitic. The gloss makes the enclitic visible, and the translation renders the nominal predication in English. The fragment alone need not establish how the writer came to know the capital's identity. The Quechua corpus example can illustrate an evidential form and its host, while the current Mova output supplies no Quechua predicate frame or pragmatic interpretation of the assertion.
Grammar claims in Squid and the implementation queue
Squid reads the reference grammar and records each grammatical point as a claim. Claims that can be formalized, including rules, closed lists, and statistics, enter a queue for implementation in Mova. A rule needs its conditions and exceptions, a closed list needs all its members, and a statistic needs a defined set of observations. These details specify the claim that an implementation would have to account for. Queue membership records that work is pending.
For Quechua, the first priorities are the grammatical points that a tokenizer, a tagger, and a Universal Dependencies treebank baseline need. Tokenization concerns the boundaries of the units that will receive annotation. Tagging concerns the categories and features of those units. For example, a statement about the function of -pi can help specify what to annotate in a locative form. A separate decision about token boundaries determines which unit receives the annotation. The interlinear hyphen shows a morpheme boundary in a gloss and does not by itself settle the tokenization convention.
An annotated train split supplies the analyses the parser and tagger learn from. An annotated development split supplies the reference analyses against which attachment is measured. A grammar claim can inform those analyses, but the claim itself supplies neither split. The Quechua rules described in the manual are still unimplemented in Mova.
How Mova handles Quechua today
tools/mova-parse assigns languages to sentences and spans through tools/langseg at level 1. The Latin-script identifier distinguishes English and French through its Latin table, lexicons, and character 4-gram model. Extending it to a further Latin-script language requires a lexicon and a Lang code. langseg latin-lexicon supplies the lexicon from an open Universal Dependencies train split.
Level 2 looks for the model corresponding to each span's language code. There is no level-2 model for qu. For a span labeled qu, tools/mova-parse reports the missing model in # parse. Its token rows carry _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, with Parse=None in MISC. Mova provides no Quechua tokenization, tagging, lemmatization, or dependency parsing.
Mova has no annotated Quechua treebank and no measured baseline for qu. The baseline specified in What every language gets uses en xpos-fill followed by en train on the train split, with en parse-eval measuring UAS and LAS on the development split. The downstream components prag and world read English trees. With no Quechua tree, they have no parsed Quechua input for frames, pragmatics, or world analysis.
Squid records the manual's grammatical claims and queues those that can be formalized. The Quechua rules remain unimplemented. The first implementation priorities are the points needed for tokenization, tagging, and a 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/qu/29-quechua-in-mova/