Mova0.6 pre-release

Circassian: the Circassian flag, twelve gold stars and three arrows on green 30. Kabardian in Mova

Kabardian is listed under the language code kbd. Its text is available for inspection in Mova’s corpora, and its grammar can be recorded as claims in Squid. The current package has neither a Kabardian parser model nor an annotated Kabardian treebank. These gaps determine what the multilingual pipeline can identify, what its output fields mean, and which measurements are available.

Current script and language identification

Kabardian in Mova’s corpus material is written in Cyrillic. The code kbd identifies the language in the corpus and the manual. Automatic identification is a separate operation. At level 1, the language segmenter assigns a label to each sentence and span using the distinctions it supports.

Input covered by the segmenterCurrent treatment
Latin-script English and FrenchDistinguished using a Latin-script table, language lexicons and a character 4-gram model
Hebrew-script varietiesDistinguished within the segmenter’s Hebrew-script coverage
Hebrew or Aramaic in scholarly transliterationCovered by the segmenter’s transliteration support
Text in other scripts, including Kabardian CyrillicAssigned other

A corpus entry can therefore have known Kabardian provenance while the automatic label for the Cyrillic text is other. The automatic label supplies no distinction between Kabardian and other languages in Cyrillic. In mixed material, language labels apply at sentence and span level. Digits, punctuation and changes of script in a Kabardian entry can be observed in the written material itself, but the entry’s kbd label supplies no prediction about individual span boundaries.

The following short forms illustrate the difference between knowing the language of a corpus entry and identifying it from its script. Hyphens in the romanization and gloss show the divisions used in the example.

FormRomanizationGlossTranslationCorpus ID
«Нобэ»nobetoday“today”wiki:kbd:НапэкӀуэцӀ нэхъыщхьэ
«Банкнотхэр»banknot-xe-rbanknote-PL-ABS“the banknotes”wiki:kbd:АШЗ-м и доллар
«1 доллар»1 dollarone dollar“one dollar”wiki:kbd:АШЗ-м и доллар

PL marks plural and ABS marks absolutive case. The glosses are readings of the cited forms. The ordinary Cyrillic spelling, a plural ending and a digit next to a Cyrillic word all occur in material known to be Kabardian through its corpus provenance.

Parser output for spans without a model

At level 2, the multilingual parser uses a model for the language assigned to each span. A language without a model is reported in the # parse comment. The absence of a Kabardian model means there is no Kabardian analysis for that span. Where the output contains token rows for material without a model, the annotation fields have the following values.

FieldValueInformation absent from the row
LEMMA_Lemma
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Morphological feature bundle
HEAD_Index of the syntactic head
DEPREL_Dependency relation to the head
MISCParse=NoneThe entry records the absence of a parse

The # parse comment describes model availability, while Parse=None records the annotation status on a token row. An underscore in FEATS in this situation leaves the whole feature field unfilled. It provides no evidence about the presence of a category such as number or case. Likewise, an underscore in HEAD supplies no head index or root assignment. With DEPREL also unfilled, the row contributes no labeled dependency to a tree.

For example, the gloss of «Банкнотхэр» identifies plural and absolutive morphology at the level of the manual. The written form has that gloss independently of the parser output. An unannotated row containing the form would still have _ in FEATS and would provide no relation between the banknotes and any other expression in the span (wiki:kbd:АШЗ-м и доллар).

The field convention describes the output status of rows for an unsupported span. It specifies no Kabardian tokenization or word segmentation. A row’s presence alone therefore provides no evidence that Kabardian rules were used to determine its boundaries.

Treebank availability and the training and evaluation baseline

Mova holds no annotated Kabardian treebank. The cited corpus entries supply written forms and their provenance. A Universal Dependencies treebank supplies sentence and token boundaries together with annotations such as tags and dependency relations. It is the annotated data that provides targets for training and reference analyses for evaluation.

Mova’s package baseline uses a language’s UD training split to train a tree parser and tagger, then evaluates the parser on the development split. The XPOS preparation step precedes training. The evaluation reports unlabeled attachment score and labeled attachment score.

MeasureWhat must match the development annotationKabardian baseline
UASThe predicted syntactic headUnmeasured
LASThe predicted syntactic head and its dependency relation labelUnmeasured

The two scores answer different questions about the same evaluation. A predicted attachment with the correct head and the wrong dependency label meets the UAS criterion only. Computing either measure requires a predicted tree and an annotated reference against which to compare it. The absence of annotated Kabardian data in Mova leaves both scores unmeasured.

Training data, a trained model and a measured baseline are three distinct parts of the package state. A training split provides annotated input. A model file is what the multilingual parser needs at level 2. A baseline ties a parser’s output to a specified development split. For Kabardian, the current gaps are the annotated corpus, the model and the corresponding train-to-development evaluation. The Wikipedia examples give no basis for estimating those scores.

Frames and pragmatics in the current pipeline

Mova’s frame, pragmatic and world components read English dependency trees. Kabardian spans currently supply no dependency tree to these components. Script labels and corpus language codes identify types of input at earlier stages. The annotation-status marker Parse=None supplies no syntactic relations that a downstream component could use.

This distinction also applies to examples whose interpretation is available to a human reader. A reader can understand «1 доллар» as an amount in the context of a currency entry. The example gives a written amount and a translation for the manual. Its presence in the corpus yields no frame or pragmatic analysis of that Kabardian span (wiki:kbd:АШЗ-м и доллар).

The stages have separate prerequisites. Language identification assigns a span label. Syntactic processing requires a corresponding parser model. Downstream analysis requires a tree that the downstream components can read. The current pipeline stops before it can provide a Kabardian tree. The existing downstream coverage is English.

Grammar claims in Squid and their implementation status

Squid reads each grammatical point in the manual as a claim. Those claims can describe how a form is spelled, how a paradigm is organized, where a case ending occurs or what construction a particular reading requires. A usable claim preserves the conditions under which the generalization holds, including restrictions and exceptions. For a closed list, its membership is part of the claim. For a statistic, its scope is part of what the claim says.

Formalizable claims, including rules, closed lists and statistics, wait in Squid’s queue for a place in Mova’s code. The queue records the claim’s status within the grammar work. A queued claim has no implementation implied by that status. The chapter’s grammatical rules currently have no implementation for Kabardian in Mova.

Kind of grammatical informationWhat the manual recordsWhere it would first matter for Kabardian processing
Rules for written forms and boundariesThe unit covered by the rule and the contexts that affect itTokenization
Closed inventories and morphological rulesThe forms or categories, their distribution and any exceptionsTagging
Case, argument structure and dependency patternsThe construction and the conditions for the analysisUD annotation and the treebank baseline

The plural and case readings in the gloss of «Банкнотхэр» illustrate the distinction. The example associates the written form with a morphological analysis. A general rule based on such an analysis has to state where the endings occur and what forms the rule covers. A treebank would have to apply its annotation conventions to occurrences in context before those analyses could serve as training or evaluation data (wiki:kbd:АШЗ-м и доллар).

The first points relevant to implementation concern the units a tokenizer must recognize, the distinctions a tagger must record and the annotation a UD baseline requires. They address different questions. A token boundary determines what receives an annotation. A morphological analysis determines what the tag or feature bundle records for that unit. A dependency analysis determines which units are linked in the sentence and with which relation. A claim can describe one of these decisions even when the package has no way to carry it out on input text.

How Mova handles Kabardian today

tools/mova-parse uses tools/langseg at level 1 to label sentences and spans. Kabardian Cyrillic falls under other. Level 2 uses the model for each span’s language. There is no kbd model. For spans without a model, the # parse comment reports that status and token rows carry Parse=None in MISC, with _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL. Mova provides no Kabardian tokenization, tagging, lemmatization or dependency parsing.

The package specification in What every language gets calls for the same parser baseline for each language. The en crate prepares XPOS with en xpos-fill and trains a tagger and tree parser on the UD training split with en train. en parse-eval measures UAS and LAS on the development split. Models exist for English (en.bin) and French (fr.bin). Mova holds no annotated Kabardian treebank, so there is no measured Kabardian baseline.

The frames, pragmatics and world components (prag, world) read English trees. They have no Kabardian tree to read. Squid records the manual’s grammatical points as claims and queues the formalizable ones for implementation. The Kabardian rules have no implementation yet. The initial points for implementation are those needed for a tokenizer, a tagger and a UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/kbd/30-mova-and-kabardian/