27. Lak in Mova
Mova uses lbe as the language code for Lak. Lak Cyrillic falls outside the scripts that Mova's language segmenter identifies by language, and Mova has neither a Lak parser model nor an annotated Lak corpus. The Lak text in Mova's corpora provides examples for the manual. A Lak span presented to the parser under lbe receives surface output with its linguistic annotations unset.
The lbe package and script coverage in language segmentation
The lbe code identifies the Lak edition of this manual and the language of the Lak corpus examples cited here. Language segmentation has a separate task. It assigns a language value to each sentence and span in the input using the scripts and languages it supports. The code used to catalogue an example therefore gives information that the segmenter may be unable to recover from the text alone.
Input covered by tools/langseg | Language identification |
|---|---|
| English and French in Latin script | Distinguishes the two using a Latin table, a lexicon for each language and a character 4-gram model. |
| Hebrew-script input | Distinguishes the supported Hebrew-script varieties. |
| Hebrew and Aramaic in scholarly transliteration | Distinguishes Hebrew and Aramaic in the supported transliteration. |
| Scripts outside the supported coverage | Assigns other. This includes the Cyrillic used to write Lak. |
For example, the corpus entry identified as wiki:lbe:Лакку маз supplies both a Cyrillic expression and a phonetic rendering of it:
| Form | Phonetic rendering in the source | Gloss | Translation |
|---|---|---|---|
| «Лакку маз» | lək:u məz | Lak language | ‘the Lak language’ |
The Cyrillic in this expression falls under other in segmentation. The source supplies the phonetic rendering as part of the text. Recognition of scholarly Hebrew and Aramaic transliteration gives no coverage for romanized Lak. The procedure for adding a further Latin-script language calls for a lexicon from an open UD training split, prepared with langseg latin-lexicon, and a Lang code. Lak Cyrillic is outside that procedure's script coverage.
Parser model availability and unannotated output
tools/mova-parse uses the result of language segmentation to select a parser model for each span. The model lookup is language-specific. A span identified as other because of its script has no Lak language identification at level 1. If a span has the code lbe at level 2, the lookup encounters a separate gap. There is no Lak model file.
For a span whose language lacks a model, tools/mova-parse reports the missing model in the # parse comment. The rows it returns for the span carry the following values:
| Field | Value without a model | Information normally represented |
|---|---|---|
| LEMMA | _ | Dictionary form |
| UPOS | _ | Universal part of speech |
| XPOS | _ | Language-specific part of speech |
| FEATS | _ | Morphological features |
| HEAD | _ | Syntactic head |
| DEPREL | _ | Relation to the syntactic head |
| MISC | Parse=None | Explicit status of the parse |
The underscores mark missing annotations. In particular, _ in HEAD is an unset head, while a root in an annotated UD tree has HEAD 0. Parse=None records the absence of a parse for the token row. Such rows preserve surface material in the output, with no Lak-specific analysis of word boundaries, lemmas, tags, features or dependencies.
Annotated corpus availability and baseline measurements
Mova holds Lak text examples, including the Wikipedia excerpts cited in the manual. It holds no annotated Lak treebank. A corpus identifier locates the source of an example. The example text supplies neither a gold dependency analysis nor the training and development splits used for a parser baseline.
What every language gets asks for the same UD baseline for each language. Mova's en crate provides the commands for that baseline. The training data go through en xpos-fill before en train trains the tree parser and tagger on the UD training split. en parse-eval measures attachment scores on the development split for the train-to-development evaluation.
| Measure | What counts as a correct attachment |
|---|---|
| UAS, unlabeled attachment score | The predicted syntactic head matches the reference head. |
| LAS, labeled attachment score | Both the predicted head and the predicted dependency relation match the reference annotation. |
The Lak baseline is unmeasured. Both scores require predictions and reference dependencies to compare. Bare token rows with Parse=None supply no dependency predictions, and the Lak corpus examples supply no annotated development split. The absence of a score records the state of evaluation.
Lak input to frames and pragmatics
Mova's frame, pragmatics and world components take English trees as input. For Lak, the pipeline has no dependency tree to pass to prag or world. The language assignment, surface text and missing-parse status provide no relations from which those components can read a predicate and its arguments.
A Lak dependency parse would be a prerequisite for downstream analysis. The current inputs to the frame, pragmatics and world components are English trees, so the availability of a Lak parser would establish only that prerequisite. Descriptions of Lak argument structure, clause types and context-dependent meanings in the manual remain grammatical descriptions.
Squid claims and their implementation status
Squid reads the manual and turns each grammatical point into a claim. Claims that can be formalized, including rules, closed lists and statistics, wait in Squid's queue for a place in Mova's code. A queued claim has the status of a candidate for implementation. A closed list in the manual can therefore be complete as a description while the corresponding Lak analysis remains unavailable in the parser.
For Lak, the first priorities are the points needed by a tokenizer, a tagger and a UD treebank baseline. These correspond to distinct parts of the analysis. Tokenization establishes the units to annotate. Tagging assigns categories to those units. An annotated treebank supplies the dependency analyses used in training and evaluation. The manual's grammatical claims do not yet implement these steps for Lak.
How Mova handles Lak from text input to parser output
- Language segmentation. At level 1,
tools/langsegassigns a language value to each sentence and span. Its coverage includes English and French in Latin script, Hebrew-script varieties, and Hebrew and Aramaic in scholarly transliteration. Lak Cyrillic receivesother, so the segmenter cannot identify a span as Lak from its Cyrillic writing. - Model selection. At level 2,
tools/mova-parselooks for the model file for each span's language. Mova'sencrate has models for English (en.bin) and French (fr.bin). The lookup forlbehas no model file. - Parser output. For a language without a model,
tools/mova-parserecords the missing model in the# parsecomment. Token rows have_in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, withParse=Nonein MISC. Lak-specific tokenization, tagging, lemmatization and parsing are unavailable.
There is no annotated Lak treebank in Mova and no measured Lak baseline. The baseline requested in What every language gets uses en xpos-fill, followed by en train on a UD training split and en parse-eval to measure UAS and LAS on the development split. The unannotated Lak output supplies no tree to the downstream components that read English trees. Squid records the manual's grammatical points as claims, with formalizable claims queued for implementation. The Lak rules remain unimplemented.
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/lbe/27-mova-tools/