Mova0.6 pre-release

the flag of India 29. Middle Kannada in Mova

The kn-x-middle edition uses the language label for Middle Kannada, also called Nadugannada. The edition label identifies the language of the material. Automatic language identification, Universal Dependencies (UD) parsing and analysis of the resulting trees each depend on separate resources. Middle Kannada currently has neither a parser model nor an annotated treebank in Mova.

The kn-x-middle edition and language identification

kn-x-middle is the language code used by the Middle Kannada edition. It records the intended language at the edition level. For automatic processing, tools/langseg assigns a language at two scales, the sentence and the span. Span-level identification matters in a multilingual text because the parser selects a model for each span.

The segmenter distinguishes English and French in Latin script using its Latin table, language lexicons and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Kannada script falls under other. That result supplies no distinction between Middle Kannada and other stages of Kannada, or between Kannada and other languages whose scripts also fall under other. In particular, the edition code alone does not establish that an automatically identified span will carry kn-x-middle.

Latin-script romanization is useful for reading the examples in the manual. Middle Kannada has no dedicated identification route among the supplied Latin-script resources. A further Latin-script language can be added by supplying a Lang code and a lexicon from an open UD training split through langseg latin-lexicon. This route concerns Latin-script identification. Identifying Kannada-script spans as Middle Kannada is a separate coverage gap.

Parser output without a Middle Kannada model

tools/mova-parse uses the language assigned at level 1 to select a language-specific parser model at level 2. There is no level-2 model for kn-x-middle. When a span carries that code, the # parse comment reports the missing model. The token rows for that span carry the following values.

FieldValue for a span without a modelAnnotation left unassigned
LEMMA_Lexical base form
UPOS_Universal part of speech
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation to the head
MISCParse=NoneParse status explicitly recorded as unavailable

The fields distinguish the presence of an output row from the presence of an analysis. An underscore in FEATS in this output leaves the token's features undetermined. The underscores in HEAD and DEPREL leave both the dependency attachment and its label undetermined. Parse=None applies to the row as a whole. A row in this output supplies no evidence that Mova has established the boundaries of a Middle Kannada word with a language-specific tokenizer.

The spelling, romanization, gloss and translation below illustrate the information a manual can provide for a phrase (constructed).

FormRomanizationGlossTranslation
ಅವನು ಬಂದನುavanu bandanuhe come.PST.3SG.M‘He came.’

In the gloss, PST marks past tense, 3SG third-person singular and M masculine. The gloss is a human analysis. On a span identified as kn-x-middle, the missing-model output supplies no tag or feature bundle for either word and no attachment between them.

Treebank availability and the unmeasured baseline

Mova holds no annotated Middle Kannada corpus. A UD treebank would provide sentences with reference word boundaries, part-of-speech tags, morphological annotation and labeled dependency trees. The package calls for the same training-to-development baseline for each language. The training split supplies the examples from which the model learns, and the development split supplies reference analyses against which its predictions are measured.

Mova's en crate uses en xpos-fill before en train trains a tagger and tree parser on a language's UD training split. en parse-eval measures unlabeled attachment score (UAS) and labeled attachment score (LAS) on the development split. UAS credits an evaluated word when the parser selects its reference head. LAS requires both the reference head and the reference dependency relation. Both measures require a predicted tree and a reference tree.

Baseline componentMiddle Kannada status
Annotated UD corpus held by MovaAbsent
Level-2 parser modelAbsent
Training-to-development UASUnmeasured
Training-to-development LASUnmeasured

Parse=None records the absence of a parse for a span. It supplies no head predictions that could be compared with a reference tree. The unmeasured baseline leaves the accuracy of a future Middle Kannada model open.

English tree inputs to frames, pragmatics and world

Mova's frames, pragmatics and world components consume English trees. The tree is the input relevant to these stages. A span's language label identifies the span for model selection. The label contains no dependency information. Likewise, a token row with Parse=None leaves the tree input missing.

A Middle Kannada edition can present a text with glosses or translations for readers. Those descriptions supply no Middle Kannada tree to Mova's downstream components. Parsing is a prerequisite for a tree-based analysis of a Middle Kannada span. A future Middle Kannada tree would address the absence of a parse. The current downstream input is still English trees, so parser availability alone leaves Middle Kannada support at those stages unestablished.

Grammar claims in Squid and priorities for a UD baseline

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims include rules, closed lists and statistics. Such claims enter a queue for implementation in Mova's code. The queue records work that can be formalized. Presence in the queue supplies no evidence that a tokenizer, tagger or parser already applies the claim.

The first claims to formalize for a baseline are those that determine what counts as a word and how annotators assign tags and heads. For tokenization, a rule needs to say when a written sequence supplies one syntactic word and when it supplies several. For example, a decision about an attached particle needs to specify the conditions under which it stays with its host or receives its own word row. In cases of sandhi, the tokenization decision needs to specify when a word boundary is represented within a joined spelling. Such decisions must be applied consistently in both the training data and the reference development data.

For tagging, the immediate task is to map the word classes and inflectional distinctions described in the grammar to the corresponding UD part-of-speech tags and features. A useful claim specifies the forms and contexts that justify a tag, including any exception in which the same surface form takes a different analysis. Where a historical spelling can represent more than one form, the annotation rule must identify what evidence in the sentence resolves the ambiguity. For lemmatization, the corresponding question is which inflected and spelling variants share a lemma.

For dependency annotation, the first decisions concern the constructions needed to build complete trees. These include the heads of ordinary phrases, attachment of subjects and complements, and the treatment of modifiers and linked clauses. A rule must tell an annotator which word is the head and what relation to assign under the stated conditions. This is especially important where word order varies, since a rule that assumes a fixed position can assign the wrong head or relation to a grammatical variant. Consistent reference trees for these constructions would make attachment scores interpretable.

These priorities describe what a Middle Kannada baseline would need. At present the grammar claims are available to Squid, and the Middle Kannada annotation and parsing steps remain to be implemented.

How Mova handles Middle Kannada today

tools/mova-parse is Mova's multilingual parser. At level 1, tools/langseg assigns languages to sentences and spans within its supported coverage. Kannada script falls under other. At level 2, the parser uses a model for the language of each span. No such model exists for kn-x-middle. For spans assigned that code, the # parse comment reports the missing model, the rows carry Parse=None in MISC, and LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL all contain _. Mova has no Middle Kannada tokenization, tagging, lemmatization or parsing for those spans.

The baseline in What every language gets uses en xpos-fill before en train, then en parse-eval to measure UAS and LAS from the UD training split to the development split. Mova has English and French models, en.bin and fr.bin. It has no Middle Kannada treebank, so the Middle Kannada baseline remains unmeasured.

Mova's frames, pragmatics and world components, including prag and world, read English trees. Middle Kannada currently supplies no parsed tree to those stages. Squid turns each grammatical point in the manual into a claim and queues formalizable claims for implementation. The Middle Kannada rules remain unimplemented. The first priorities are the rules and data 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/kn/kn-x-middle/29-mova-tools/