Mova0.6 pre-release

Karachay-Balkar: the flag of Karachay-Cherkessia, blue, green and red with the sun over the mountainKarachay-Balkar: the flag of Kabardino-Balkaria, blue, white and green with the mountain 27. Karachay-Balkar in Mova

The krc edition documents Karachay-Balkar. Mova has Karachay-Balkar text examples, but the edition has no annotated treebank or parser model. This chapter describes what the tools can report for krc and what data the language needs for parsing and evaluation.

The krc edition and the package state

The edition code krc identifies the language of this manual and the language assigned to the Karachay-Balkar corpus examples. Those examples include encyclopedia prose, headings, and fragments with foreign titles and abbreviations. A corpus identifier locates an example in the collection. The example gives evidence for the spelling and construction it contains. A treebank would additionally give each annotated sentence a reference analysis with token boundaries, word analyses and syntactic dependencies.

The status of each part of the package follows from the resources available to it.

Resource or capabilityState for krc
Grammar editionKarachay-Balkar is documented under krc.
Corpus examplesSurface text is available, including Cyrillic text and fragments that mix scripts.
Language recognitionCyrillic Karachay-Balkar falls under other in the script recognizer.
Level-2 parser modelAbsent. Output for krc carries Parse=None.
Annotated treebankAbsent from Mova.
Parser baselineUnmeasured.

The distinction between corpus examples and annotated data matters for implementation. For example, a corpus form can show that a case ending is written with a hyphen after an abbreviation. To use the form for parser evaluation, the treebank must specify its tokenization, lemma, features and relation in the sentence.

Script recognition and language segmentation

tools/mova-parse uses tools/langseg at level 1 to assign a language to each sentence and span. For Latin script, the segmenter distinguishes English and French using a Latin character table, a lexicon for each language and a character four-gram model. It also recognizes Hebrew-script varieties and scholarly transliteration of Hebrew or Aramaic. Other scripts fall under other, including the Cyrillic used for Karachay-Balkar.

The extension procedure described for a further Latin-script language is to add a lexicon and a Lang code. langseg latin-lexicon uses open Universal Dependencies training splits to build the lexicon. This procedure concerns Latin-script recognition. A romanization in this manual helps the reader interpret a Cyrillic form and does not supply a recognition resource for the original text.

The corpus puts different kinds of spans side by side. The following fragments show a Karachay-Balkar ending attached to an abbreviation and a Latin-script title with a Cyrillic ending on its last word. In the romanization, gh represents гъ, q represents къ, and sh represents ш. GEN is genitive and LOC is locative.

FormRomanizationGlossTranslationCorpus ID
АБШ-ниABSh-niUSA-GEN“of the United States”wiki:krc:.us
The Gentleman's Magazine’деThe Gentleman's Magazine’deThe Gentleman’s Magazine-LOC“in The Gentleman’s Magazine”wiki:krc:God Save the Queen/King

For segmentation, the second example raises a boundary question inside a title with an attached ending. A corpus language label applies to the example as supplied. Recognition of its individual spans is a separate operation, subject to the scripts and languages supported by the segmenter.

Parser model availability and unannotated output

Level 2 of tools/mova-parse looks up a model for the language assigned to each span and parses the span with that model when it is available. English and French have models, en.bin and fr.bin. There is no level-2 model for krc. The # parse comment reports the missing model, and the output rows for krc have the following values.

FieldValueAnalysis normally carried by the field
LEMMA_Dictionary form
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation to the head
MISCParse=NoneStatus of the parse for the token

A row bearing Parse=None records the missing parse. Its underscores therefore supply no evidence about the word’s grammatical features or whether it serves as the root. Although the missing-model format has token rows, Mova does not provide Karachay-Balkar tokenization, tagging, lemmatization or syntactic parsing.

Treebank requirements and baseline measurements

The language package specification in What every language gets calls for a common baseline for every language. Mova’s parser and tagger belong to the en crate. The workflow applies en xpos-fill before en train, which trains on a language’s Universal Dependencies training split. en parse-eval measures performance on the development split.

MeasureWhat must match the reference tree
Unlabeled attachment score (UAS)The syntactic head assigned to the token
Labeled attachment score (LAS)Both the syntactic head and the dependency relation

For this workflow, krc needs annotated training and development splits. A development sentence must have reference heads and dependency relations for the predicted attachments to be scored. Morphological analysis also needs consistent annotations in the training data, including decisions about lemmas, part-of-speech tags and features for inflected forms.

The corpus gives concrete forms for such decisions. Here PL is plural and DAT is dative. The romanization uses kh for х.

FormRomanizationGlossTranslationCorpus ID
штатлагъаshtat-la-ghastate-PL-DAT“to the states”wiki:krc:АБШ-ны административ бёлюнюую
кесаматхаkesamat-khatreaty-DAT“to the treaty”wiki:krc:Лондон кесамат (1867)

Both forms illustrate dative marking. The full sentence is needed to decide what the nominal depends on and which syntactic relation it bears. Mova holds no annotated krc treebank, so it reports no train-to-development UAS or LAS baseline for the language.

Frames, pragmatics and tree prerequisites

Mova’s frame, pragmatics and world processing reads English trees. A Karachay-Balkar parse would provide a tree for downstream work. The current krc output supplies neither heads nor dependency relations, so there is no tree for those components to read. English trees are the input that the current components support.

For example, the following imperative in an encyclopedia entry directs readers to another entry. IMP is imperative and 2PL is second-person plural.

FormRomanizationGlossTranslationCorpus ID
къарагъызqara-ghyzlook-IMP.2PL“see”wiki:krc:Лима

The imperative is a property of the verb form. The directive function comes from its use in the entry, where the following title identifies what the reader should consult. Recognizing the verb form and connecting it to its dependents are tasks for linguistic analysis. Interpreting the reference as a direction to the reader belongs to pragmatics.

The Squid claim queue and priorities for implementation

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, enter a queue for implementation in Mova. Queue membership records a claim awaiting implementation. The krc grammar rules described in the manual have yet to be implemented.

The first priorities are the points needed for a tokenizer, a tagger and a Universal Dependencies baseline. The spelling evidence bears directly on token boundaries in forms such as hyphenated abbreviations and words with endings attached after an apostrophe. Inflectional evidence bears on the tagger’s assignment of lemmas, parts of speech and features. Sentence-level annotation supplies syntactic heads and relations for training and for evaluation on the development split. In multilingual input, recognition of krc spans is also required to route those spans to a krc model.

How Mova handles Karachay-Balkar today

At level 1, tools/mova-parse uses tools/langseg to assign languages to sentences and spans. The segmenter distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. It labels other scripts other, so Cyrillic Karachay-Balkar falls under that label. For a further Latin-script language, the extension uses a lexicon and a Lang code, with langseg latin-lexicon drawing on open Universal Dependencies training splits.

At level 2, tools/mova-parse uses the model for the language of each span when one exists. With no krc model, the missing model is reported in the # parse comment. The krc output has _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Karachay-Balkar tokenization, tagging, lemmatization and parsing are unavailable.

The baseline required by What every language gets uses en xpos-fill followed by en train on a Universal Dependencies training split, with en parse-eval measuring UAS and LAS on the development split. Models exist for English and French as en.bin and fr.bin. Mova has no annotated Karachay-Balkar treebank and no measured baseline for it.

Frames, pragmatics and world processing in prag and world read English trees. Karachay-Balkar currently supplies no parsed trees for them. Squid records the manual’s grammatical points as claims and queues those that can be formalized. The rules await implementation, beginning with those needed for tokenization, tagging and a Universal Dependencies treebank baseline.

Sources for this chapter

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