Mova0.6 pre-release

Dagestan: the flag of the Republic of Dagestan, green, blue and red 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/langsegLanguage identification
English and French in Latin scriptDistinguishes the two using a Latin table, a lexicon for each language and a character 4-gram model.
Hebrew-script inputDistinguishes the supported Hebrew-script varieties.
Hebrew and Aramaic in scholarly transliterationDistinguishes Hebrew and Aramaic in the supported transliteration.
Scripts outside the supported coverageAssigns 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:

FormPhonetic rendering in the sourceGlossTranslation
«Лакку маз»lək:u məzLak 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:

FieldValue without a modelInformation 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
MISCParse=NoneExplicit 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.

MeasureWhat counts as a correct attachment
UAS, unlabeled attachment scoreThe predicted syntactic head matches the reference head.
LAS, labeled attachment scoreBoth 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

  1. Language segmentation. At level 1, tools/langseg assigns 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 receives other, so the segmenter cannot identify a span as Lak from its Cyrillic writing.
  2. Model selection. At level 2, tools/mova-parse looks for the model file for each span's language. Mova's en crate has models for English (en.bin) and French (fr.bin). The lookup for lbe has no model file.
  3. Parser output. For a language without a model, tools/mova-parse records the missing model in the # parse comment. Token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in 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

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/lbe/27-mova-tools/