Mova0.6 pre-release

Komi-Permyak: the flag of the Komi-Permyak Okrug, the Permian sign and the bear 25. Komi-Permyak in Mova

Mova has Komi-Permyak text under the code koi, but it has no Komi-Permyak parser model or annotated treebank. This chapter describes what the multilingual pipeline returns, what can be measured, and which parts of the grammar would support a first parser.

Language identification and Cyrillic input

The code koi identifies Komi-Permyak in the package and in the corpus inventory. Automatic language identification is a separate operation. The first level of the multilingual pipeline assigns a language to each sentence and span. Its recognizer distinguishes English and French in Latin script, varieties written in Hebrew script, and scholarly transliterations of Hebrew and Aramaic. Cyrillic falls into the other category, so the first level does not identify a Komi-Permyak span as koi from its Cyrillic spelling.

The corpus illustrates the difference between a document’s known language and the scripts a recognizer encounters within it. A Komi-Permyak article can contain a Cyrillic place name alongside an Arabic spelling and a Latin transliteration. The article language is known from the corpus entry. Recognition within the article would still have to account for the individual spans.

FormRomanizationGlossTranslationCorpus ID
ӦльӧксандрияÖľöksandrijaAlexandria‘Alexandria’wiki:koi:Ӧльӧксандрия
اسكندريهEskendereyyaAlexandria‘Alexandria’wiki:koi:Ӧльӧксандрия
Ӧндриа́нÖndriánOndrian‘Ondrian’wiki:koi:Ӧндриан (Кудымкар район)

The forms show several input details that matter for future processing. The initial Ӧ is a Komi-Permyak Cyrillic letter, and the acute in Ӧндриа́н marks stress on a letter inside the name. The Arabic and Cyrillic forms of ‘Alexandria’ refer to the same place while belonging to different written spans. For Cyrillic identification, other gives no basis for choosing among the languages that use the script.

Parser model status and Parse=None output

The second level of the multilingual pipeline selects a parser model by the language of the span. Komi-Permyak has no level-2 model. For a span treated as koi, the output records the missing model in the # parse comment and gives the following values to the token rows it returns.

FieldValueInformation unavailable from the parser
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Position of the syntactic head
DEPREL_Dependency relation to the head
MISCParse=NoneThe row is marked as unparsed

Read the underscores together with Parse=None. An underscore in FEATS on such a row leaves the word’s morphological analysis open. Likewise, a missing HEAD leaves its syntactic attachment open. A token row can carry the surface text without supplying a lemma, tag, feature bundle, or dependency arc. The presence of rows also supplies no evidence that Komi-Permyak token-boundary rules were applied.

Two gaps therefore affect the normal path through the pipeline. The recognizer lacks Cyrillic language identification, and the parser lacks a model for a span assigned koi. An other label concerns identification. Parse=None in the missing-model output concerns syntactic annotation.

Treebank availability and baseline measurement

Mova has Komi-Permyak corpus text, including the encyclopedia excerpts used in this chapter. It holds no annotated Komi-Permyak treebank. The corpus identifiers give the provenance of the excerpts. A Universal Dependencies (UD) treebank would also need reference token boundaries, word annotations and dependency trees that can serve as training and evaluation data.

The package calls for a common baseline across languages. The training workflow runs en xpos-fill before en train trains the tagger and tree parser on a language’s UD training split. Then en parse-eval measures attachment on the development split.

MeasureWhat counts as a correct attachment
UAS, unlabeled attachment scoreThe predicted head matches the reference head.
LAS, labeled attachment scoreBoth the predicted head and the dependency relation match the reference annotation.

Komi-Permyak has no measured baseline for either score. The missing measurement reflects the absence of an annotated treebank in Mova. Parse=None records a missing analysis and yields no attachment score. The English and French models belong to their respective languages and supply no Komi-Permyak baseline.

Frames and pragmatics

Komi-Permyak sentences in the corpus express events, descriptions and requests. An unannotated sentence can convey all of these to a reader, while its parser output lacks the syntactic structure needed by downstream components. Mova’s frame, pragmatics and world components currently read English trees. For Komi-Permyak, no parsed tree is available to them, and the stated input support is English.

For example, the encyclopedia welcome uses the following form in an invitation to work together.

FormRomanizationGlossTranslationCorpus ID
Корамӧkor-amöinvite-PRS.1PL‘we invite’wiki:koi:Пондӧтчан листбок

The inflected verb identifies the speakers as the ones making the invitation. The rest of the sentence identifies the addressees and the activity they are invited to join. A dependency tree would provide syntactic evidence about how those expressions relate to the verb. Recognizing the utterance as an invitation is a further analysis of its communicative function. The current Komi-Permyak output provides neither the tree nor that downstream analysis.

Squid claims and priorities for tokenization, tagging and parsing

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 possible implementation. Their presence in the queue records work that the grammar supports. Implementation requires corresponding behavior in Mova’s code.

For Komi-Permyak, the first priorities are the conventions needed to establish token boundaries, assign tags and features, and produce a UD reference analysis. The corpus supplies forms that make these needs concrete.

FormRomanizationGlossTranslationCorpus ID
КудымкарсяньKudymkar-sjańKudymkar-EGR‘from Kudymkar’wiki:koi:Ӧндриан (Кудымкар район)
Кӧс посадмуӧKös posadmu-öKös municipality-ILL‘into the Kös municipality’wiki:koi:Варыш (Кӧсладор район)
пырӧpyr-öenter-PRS.3SG‘enters’ or, in the administrative context, ‘is part of’wiki:koi:Варыш (Кӧсладор район)

Tokenization. The examples bring together a word-internal stress mark, case endings written on their hosts, and punctuation around names in several scripts. A tokenizer needs to retain Ӧндриа́н as a single word across the stress mark and keep the ending in Кудымкарсянь attached to the name. The hyphen in the romanization marks a boundary for the gloss. The Cyrillic form has no hyphen there.

Tagging and lemmatization. The final ӧ in посадмуӧ belongs to an illative noun form, whereas the final ӧ in пырӧ belongs to a third-person singular present verb form. The same written ending thus requires different analyses depending on the stem and its use. A tagger needs the relevant distinctions among word classes and inflectional features, and a lemmatizer needs to connect inflected forms to their dictionary forms.

Dependency annotation and parsing. Case morphology and syntactic attachment supply different information. In the example of a village belonging to a municipality, the illative marks the municipality phrase. The dependency analysis must also specify how that phrase attaches to the predicate and how the village name relates to the rest of the clause. A baseline needs consistent reference decisions for those relations and for the token and word annotations on which they depend.

How Mova handles Komi-Permyak

tools/mova-parse first uses tools/langseg to assign a language to each sentence and span. The recognizer handles English and French in Latin script through its Latin table, language lexicons and a character 4-gram model. It also handles Hebrew-script varieties and scholarly transliterations of Hebrew or Aramaic. Cyrillic falls under other, so this stage does not identify Komi-Permyak from its script. The extension mechanism for a further Latin-script language uses langseg latin-lexicon with an open UD training split and adds a lexicon and a Lang code.

At level 2, tools/mova-parse uses the model for the language assigned to the span. For koi the model is absent. The # parse comment reports the absence, and the token rows carry Parse=None in MISC and _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL. Mova has no language-specific tokenization, tagging, lemmatization or parsing for Komi-Permyak.

The en crate provides the parser and tagger. en train trains them on a UD training split after en xpos-fill. en parse-eval measures UAS and LAS on the development split. Models exist for English (en.bin) and French (fr.bin). What every language gets calls for the same baseline for each language. Mova holds no annotated Komi-Permyak treebank, so it has no measured baseline for koi.

The frame, pragmatics and world components, including prag and world, read English trees. They have no parsed Komi-Permyak input. Squid records the manual’s grammatical points as claims and queues formalizable claims for implementation. The Komi-Permyak rules remain unimplemented. The first implementation priorities are the points 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/koi/25-mova-tools/