30. Kara-Kalpak in Mova
Kara-Kalpak has the language code kaa in this manual and in Mova’s multilingual parsing setup. The reference grammar describes the language, and the supplied corpus examples show it in use. Mova has no Kara-Kalpak parser model or annotated treebank. Language identification, grammatical analysis and interpretation therefore have different limits for kaa.
Language identification and script coverage
Language identification is level 1 of tools/mova-parse. It uses tools/langseg to assign a language label to each sentence and span. The span label determines which language model level 2 looks for. A code in the manual identifies the language being described. The segmenter needs recognition data to assign that code to a span in running text.
The segmenter distinguishes English and French in Latin script using a Latin character table, a lexicon for each language and a character four-gram model. It also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Scripts outside its recognized coverage receive other. The route for adding a Latin-script language is to add a lexicon and a Lang code. langseg latin-lexicon can build the lexicon from an open Universal Dependencies (UD) training split. The current Latin-script coverage does not include Kara-Kalpak. Cyrillic is outside the stated script coverage.
A Kara-Kalpak passage can contain more than one script. A biographical entry, for example, gives a Latin-script name followed by its Cyrillic form in parentheses. The following fragments refer to the same person. The romanization gives the Latin spelling supplied in the entry. (wiki:kaa:Jumaniyaz Óteniyazov)
| Form | Romanization | Gloss | Translation |
|---|---|---|---|
| “Jumaniyaz Óteniyazov” | personal name + surname | ‘Jumaniyaz Óteniyazov’ | |
| “Жуманияз Өтениязов” | Jumaniyaz Óteniyazov | personal name + surname | ‘Jumaniyaz Óteniyazov’ |
The script change in this example occurs inside one sentence. Recognizing a script and identifying the language of a span are distinct decisions. For current coverage, a Latin-script spelling offers no basis for assuming a kaa label, and the Cyrillic spelling falls under other.
Missing parser model and Parse=None output
At level 2, tools/mova-parse looks for the model of the language assigned to each span. When a span is labeled kaa, the model lookup has no Kara-Kalpak model to load. The parser reports the missing model in the # parse comment. The rows for that span have the following field values.
| Field | Value | Annotation unavailable for the span |
|---|---|---|
| LEMMA | _ | Dictionary form |
| UPOS | _ | Universal part-of-speech tag |
| XPOS | _ | Language-specific part-of-speech tag |
| FEATS | _ | Morphological features |
| HEAD | _ | Index of the syntactic head |
| DEPREL | _ | Dependency relation to that head |
| MISC | Parse=None | Marker for the absence of a parse |
The comment gives the reason for the missing analysis, and Parse=None marks the affected rows. A blank HEAD field supplies no evidence that a form is the root of a sentence. A blank FEATS field likewise supplies no evidence about whether a form carries inflection. Rows can be present in the output without Kara-Kalpak tokenization having been carried out. Their boundaries therefore do not establish a Kara-Kalpak tokenization convention.
In multilingual input, the model lookup applies independently to each span. A span assigned a language with a model can receive a parse even when a neighboring span has no model. The missing-model behavior for kaa presupposes a kaa span label. Script and lexicon coverage govern that earlier decision.
Treebank availability and the unmeasured parsing baseline
Mova holds no annotated Kara-Kalpak treebank. The supplied Wikipedia examples contain running text and corpus identifiers. A treebank supplies reference annotations, including the token boundaries, tags, heads and dependency relations against which a parser can be evaluated. The availability of the examples does not provide an annotated training or development split.
The baseline requested in What every language gets uses the Mova parser in the en crate. For a language with the required UD data, en xpos-fill precedes training on its train split. en train trains the tree parser and tagger. en parse-eval evaluates the resulting parser on the development split and measures unlabeled attachment score (UAS) and labeled attachment score (LAS). UAS measures whether the predicted head is correct. LAS requires both the correct head and the correct dependency relation.
For Kara-Kalpak, both attachment scores are unmeasured. Parse=None records the absence of a parse for an output row. An attachment score requires predictions and reference annotations to compare, so counts of rows bearing Parse=None give no attachment measurement. The existence of trained English and French models establishes model availability for those languages. Their coverage gives no estimate of Kara-Kalpak accuracy.
Frames and pragmatics support
Mova’s frames, pragmatics and world components, prag and world, read English trees. An identified language span and a dependency tree are different inputs. A kaa label supplies the former. A row with Parse=None has neither a head nor a dependency relation to pass to a component that reads trees.
The expression “dúnyaǵa kelgen” has the form and gloss dúnya-ǵa kel-gen, world-DAT come-PTCP, ‘was born’. The gloss shows the grammatical makeup of the words. The translation gives the conventional reading of the expression in its biographical context. These are observations a grammar can record while the Kara-Kalpak tree required for downstream analysis is unavailable. (wiki:kaa:Ábilqasım Ferdawsiy)
A Kara-Kalpak parse is a prerequisite for tree-based interpretation of Kara-Kalpak. A parser baseline would measure syntactic attachment. Support for interpreting those trees in the English-oriented components is a separate question.
Squid claims and prerequisites for tokenization, tagging and parsing
Squid reads the grammar manual and turns every grammatical point into a claim. Formalizable rules, closed lists and statistics wait in its queue for implementation in Mova’s code. The queue records claims for possible implementation. The presence of a claim there does not give the parser a rule or a trained model.
The first claims relevant to tool coverage concern the units and annotations needed by a tokenizer, a tagger and a UD baseline. Tokenization needs conventions for deciding where written and syntactic units begin and end. Tagging needs categories and morphological features assigned to those units, with the conditions for ambiguous or variable forms. Training and measuring a dependency parser requires consistent head and relation annotations in a training split and a development split.
| Corpus form | Gloss | Translation | Annotation decision |
|---|---|---|---|
| “1959-jılı” | 1959-year-POSS.3 | ‘in 1959’ | Specify how the numeral, hyphen and following form are represented in tokenization. (wiki:kaa:Jumaniyaz Óteniyazov) |
| “Shımbay rayonında” | Shımbay district-POSS.3-LOC | ‘in Shımbay district’ | Assign the proper name and the inflected noun their categories, and record the possession and locative marking on the noun. (wiki:kaa:Túrkmenbay Jiyemuratov) |
| “Qaraqalpaqstan Respublikasına qaraslı awıl” | Karakalpakstan republic-POSS.3-DAT affiliated village | ‘a village belonging to the Republic of Karakalpakstan’ | Specify the heads and relations within the nominal expression, including the attachment of the modifier and its dative dependent. (wiki:kaa:Aspantay) |
In the glosses, DAT is dative, LOC locative, POSS.3 third-person possessive and PTCP participle. The gloss boundaries show the structure being described in the grammar. Whether a boundary is also a UD token boundary depends on the annotation convention. Once that convention and the tag and dependency guidelines are applied to an annotated split, the parser can be trained and evaluated against those annotations.
How Mova handles Kara-Kalpak today
tools/mova-parse first uses tools/langseg to label sentences and spans. For a language without a parser model, a span can be identified only where the segmenter knows the script or lexicon. Its stated Latin-script coverage is English and French. It also recognizes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts receive other. Adding a Latin-script language calls for a lexicon and a Lang code, with langseg latin-lexicon available to build a lexicon from an open UD training split.
Level 2 selects a model for each span by its language code. Kara-Kalpak has no level-2 model. For a span labeled kaa, tools/mova-parse reports the missing model in the # parse comment, leaves LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL as _, and sets Parse=None in MISC. Mova does not tokenize, tag, lemmatize or parse Kara-Kalpak.
Mova holds no annotated Kara-Kalpak treebank and has measured no Kara-Kalpak baseline. What every language gets calls for the same baseline for each language. In the en crate, en xpos-fill precedes training with en train on the UD train split, and en parse-eval measures UAS and LAS on the development split. Models exist for English and French. Mova's frames, pragmatics and world components read English trees and have no Kara-Kalpak trees to read.
Squid extracts claims from the manual and queues formalizable rules, closed lists and statistics. The chapter’s grammatical rules remain unimplemented. The first points for implementation are those needed for a tokenizer, a tagger 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/kaa/30-mova-tools-and-data/