26. Veps in Mova
The vep edition documents Veps grammar. This chapter describes the data and tools available to process Veps text, the output when a parser model is missing, and the work needed to establish a measured parsing baseline.
The vep edition and the current package state
vep identifies the Veps edition of this manual and is the language code used for Veps in the multilingual parser’s model lookup. The manual describes the language’s forms and constructions. The package’s processing capabilities depend on the resources available to the worker.
| Resource | Current state for Veps |
|---|---|
| Grammar manual | Available in the vep edition. Squid reads the manual for grammatical claims. |
| Text examples | The corpus material includes excerpts from Veps Wikipedia. |
| Annotated corpus | Mova holds no Veps Universal Dependencies treebank. |
| Parser model | No level-2 model is available for vep. |
| Parsing baseline | Unmeasured for both UAS and LAS. |
The corpus excerpts give examples of written usage with sentence IDs. For example, “Nece lugu” has the gloss DEM.PROX number.NOM.SG and means “this number” (wiki:vep:2 (lugu)). The gloss here is part of the manual. A treebank would provide an explicit analysis of each token and its syntactic relation in the sentence as a whole. That annotation is the resource needed for supervised training and evaluation.
Latin-script language identification and requirements for Veps support
Language identification in tools/langseg assigns a language to each sentence and span. Its Latin-script support distinguishes English and French using a Latin table, a lexicon for each language, and a character 4-gram model. Its other supported distinctions cover varieties written in Hebrew script and scholarly transliterations of Hebrew or Aramaic. Scripts outside those covered by the identifier receive other.
A further Latin-script language joins the identifier through a lexicon and a Lang code. The supplied route for building the lexicon is langseg latin-lexicon, using open UD training splits. For Veps, the identifier needs lexical evidence for assigning the vep label to Latin-script spans. The span label then supplies the language code for model lookup. Recognition of the script alone leaves the language of a Latin-script span unresolved.
Two short examples show the kind of orthographic evidence a Veps lexicon would contain. Both forms are already in Latin script.
| Form | Gloss | Translation | Corpus sentence ID |
|---|---|---|---|
| “seičeme” | seven | ‘seven’ | wiki:vep:7 (lugu) |
| “kaks'” | two | ‘two’ | wiki:vep:2 (lugu) |
The caron in the first form and the final apostrophe in the second belong to the written forms in the corpus. The identifier’s output is a language assignment for the span. The morphological and syntactic analysis of the forms belongs to the parsing stage.
Parser model lookup and Parse=None output
tools/mova-parse uses two levels. At level 1, tools/langseg assigns languages to sentences and spans. At level 2, the parser looks up the model for each span by its assigned language code. The model file follows the pattern <code>.bin. In a multilingual sentence, the lookup follows the code of each span.
For a span assigned vep, the lookup finds no level-2 model. The parser reports the language with the missing model in the # parse comment. Its token rows carry the following values in the affected fields.
| Field | Value | Annotation absent |
|---|---|---|
| LEMMA | _ | Dictionary form |
| UPOS | _ | Universal part of speech |
| XPOS | _ | Language-specific part-of-speech tag |
| FEATS | _ | Morphological features |
| HEAD | _ | Index of the syntactic head |
| DEPREL | _ | Dependency relation |
| MISC | Parse=None | The marker signals that parsing was unavailable. |
These values describe the output for a span assigned to a language whose model is missing. The comment records the missing model at output level, and Parse=None marks the affected rows. Such rows contain no Veps analyses of word boundaries, forms, or dependencies. Whether a span receives this treatment under the vep code depends first on whether the language identification stage assigns that code.
Treebank availability and the unmeasured UAS and LAS baseline
What every language gets calls for the same parsing baseline for every language. The en crate provides the training and evaluation commands. After preparation with en xpos-fill, en train trains the tagger and tree parser on the language’s UD training split. en parse-eval measures attachment on the development split using the model trained on the training split. The available models are en.bin for English and fr.bin for French.
| Measure | What counts as a correct attachment | Veps baseline |
|---|---|---|
| UAS, unlabeled attachment score | The predicted head matches the reference head. | Unmeasured |
| LAS, labeled attachment score | The predicted head and dependency relation both match the reference annotation. | Unmeasured |
The two measures answer distinct questions. A prediction with the correct head and the wrong relation is correct for UAS and incorrect for LAS. Both measures require reference dependency annotation on the evaluation split. Veps text excerpts provide forms to inspect, but a train-to-development result requires training and development data in treebank form. Mova has no annotated Veps corpus, so there is no measured baseline to report. The Parse=None marker records unavailable parsing and supplies no attachment prediction to score.
Frames and pragmatics and their current dependence on English trees
Mova’s frame, pragmatic, and world processing reads English dependency trees. This work follows the syntactic analysis. prag and world therefore have no Veps tree input in the current setup. A language label or a row marked Parse=None supplies neither a syntactic head nor a dependency relation for them to read.
A Veps dependency tree is a prerequisite for downstream analysis of Veps text. The established downstream input is an English tree, so the presence of a model for another language would establish a parsing capability for that language. Downstream support for that language would still need to be established. The manual can describe Veps constructions and their uses in context independently of what the worker can derive from a span.
Squid claims and the implementation queue
Squid reads the manual and turns each grammatical point into a claim. Formalizable claims include rules, closed lists, and statistics. They enter a queue where they await implementation in Mova. A queued claim records a specification. Executable behavior begins when the corresponding work is implemented in code.
For a language without a model, the first implementation priorities are the points that a tokenizer, a tagger, and a UD baseline need. For Veps, tokenization work draws on the spelling and punctuation descriptions to establish word boundaries in written input. Tagging work draws on the descriptions of word classes and inflection to determine what analyses the word forms require. A UD baseline needs annotated heads and dependency relations together with the tags and features used in the treebank. The claims give these tasks a grammatical reference. Training, development evaluation, and code are the resources that make the resulting analyses usable in the worker.
How Mova handles Veps today
tools/mova-parse assigns languages through tools/langseg at level 1 and looks up each span’s language model at level 2. tools/langseg can identify spans where it knows the script or lexicon. In Latin script its current distinctions are English and French. Adding a Latin-script language requires a lexicon and a Lang code. The route given for building the lexicon from open UD training splits is langseg latin-lexicon.
No level-2 model exists for vep. When a span is assigned vep, tools/mova-parse reports the missing model in the # parse comment. It leaves _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL and puts Parse=None in MISC. Veps tokenization, tagging, lemmatization, and parsing are unavailable.
Mova holds no Veps treebank, and the Veps UAS and LAS baseline is unmeasured. The procedure specified in What every language gets uses en xpos-fill before training a tagger and parser with en train on the UD train split. en parse-eval measures attachment on the development split. The available models are en.bin and fr.bin. Mova’s frames, pragmatics, and world processing read English trees. prag and world have no Veps parse to read.
Squid records the grammatical points in the manual as claims and queues formalizable rules, closed lists, and statistics for implementation. The Veps rules remain unimplemented. The first points for implementation are those needed 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/vep/26-mova-tools/