Mova0.6 pre-release

the flag of India 30. Old Kannada in Mova

Mova uses kn-x-old as the language code for Old Kannada (Halegannada). The grammar for this edition describes forms and constructions that could support a parser. The package currently has neither an annotated corpus nor a parser model, so there is no measured parsing baseline.

The Old Kannada package and its current coverage

A language code identifies the edition and gives Mova a key for looking up a model. Automatic language identification and grammatical analysis depend on resources of their own. The current coverage of kn-x-old is as follows.

ComponentCurrent coverage
Editionkn-x-old identifies Old Kannada.
Automatic language identificationKannada script falls in the other group. The segmenter has no dedicated Old Kannada identification for Latin romanization.
Annotated corpusMova holds no Old Kannada treebank.
Parsing and tagging modelNo level-2 model exists for kn-x-old.
Dependency evaluationThere are no measured UAS or LAS scores for Old Kannada.
Grammatical descriptionsSquid reads the manual and records its grammatical points as claims. Formalizable claims enter its implementation queue.

The package baseline calls for a tree parser and tagger trained on a Universal Dependencies (UD) training split and evaluated on a development split. The manual supplies descriptions that can guide annotation. A baseline also needs sentences annotated with word boundaries, grammatical categories and dependency trees. The package lacks those data for Old Kannada.

Script recognition and language segmentation

At level 1, tools/langseg assigns a language to each sentence and span. The multilingual parser uses the span assignment for model lookup at level 2. In a sentence with more than one language, a recognized span can therefore have a different assignment from the sentence as a whole.

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. Scripts outside its supported sets go to other. Kannada script falls under that rule, so other on a Kannada-script passage gives no Old Kannada language identification. Romanizing the passage puts it in Latin script, where a separate Old Kannada identification would still require support. The mechanism for adding a Latin-script language uses a lexicon from an open UD training split and a Lang code.

FormRomanizationGlossTranslation
ಮರmaratree‘tree’ (constructed)
ಮನೆಗೆmane-gehouse-DAT‘to the house’ (constructed)

The hyphen in mane-ge shows the stem and dative ending for the reader. The Kannada form is written together. Entering the Kannada forms exercises the segmenter’s treatment of Kannada script. Entering the romanized forms presents Latin-script input, and any language identification then depends on the segmenter’s Latin resources. Neither presentation supplies an Old Kannada model.

Model lookup and output when no model is available

At level 2, tools/mova-parse looks for the model belonging to the language code assigned to each span. The lookup uses the model file for that code in its language data directory. A span assigned kn-x-old has no model to load. The # parse comment reports the language whose model is missing. Where records for its tokens appear in the output, the parser supplies these values.

Output fieldValue without a modelAnalysis left open
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneStatus of the parse

An underscore in FEATS here leaves the features unassigned. For example, it gives no information about the case of a noun. An underscore in HEAD leaves the head unassigned, including whether the word is the root. Parse=None applies to the analysis of the token. The presence of a token record gives no evidence that its boundary was determined by Old Kannada tokenization rules.

There are two distinct conditions when reading the output. A Kannada-script span classified as other has no Old Kannada assignment from level 1. A span assigned kn-x-old reaches the question of model availability at level 2, where the Old Kannada model is absent. In multilingual input, the absence of that model has no bearing on lookup for a different span with its own recognized language and model.

The missing treebank and the unmeasured UAS and LAS baseline

Mova holds no annotated Old Kannada sentences in a treebank and has no training or development split for the language. Texts, editions and examples provide material for annotation. The data needed to measure parsing accuracy are sentences paired with reference trees whose words, heads and dependency labels are specified under a consistent annotation policy.

For the package baseline, en xpos-fill precedes training. en train trains a tree parser and tagger on the UD training split. en parse-eval measures the resulting parser on the development split. The splits have distinct roles. Training sentences supply examples from which the model learns, and development sentences supply reference analyses for checking the model on material held out from training.

MeasureFull nameAn evaluated word counts as correct when
UASUnlabeled attachment scoreIts predicted syntactic head matches the reference head.
LASLabeled attachment scoreIts predicted syntactic head and dependency relation label both match the reference annotation.

Each score is calculated over the words included in its evaluation. On the same set of words, a correct head with an incorrect relation counts toward UAS alone. A wrong head contributes to neither score. With no Old Kannada treebank splits and no measured baseline, both scores are unavailable. English and French model availability gives no measurement of Old Kannada parsing.

Tokenization, tagging and treebank requirements

The first language-specific decisions concern sentence boundaries, word boundaries and the units to which the annotation applies. In historical texts, an edition can record line breaks, spacing, editorial punctuation or supplied text. An annotation policy needs to specify how it treats each feature when it occurs and which reading supplies the text to be parsed. Recording the source and reading makes it possible to check an annotation against the edition.

Word segmentation needs a convention for forms written together and for places where sound alternations obscure a boundary. The policy must distinguish a division inside an inflected word, such as the teaching gloss mane-ge, from a division that yields separate syntactic words. For each relevant construction, it must specify how the written form corresponds to the annotated units. The same convention has to apply in training and development data so that a change of editorial presentation does not change the analysis by itself.

A tagset and lemma policy then give those units a consistent analysis. The policy must say how inflected spellings map to dictionary forms, when grammatical context determines a part of speech, which morphological distinctions receive features, and how variant or uncertain readings are recorded. A form with more than one possible analysis needs an annotation based on its sentence context wherever the evidence permits a choice. For example, an analysis of a participial form has to account for its function in the clause or phrase as well as its inflection.

LayerDecision the annotation needs
Text and sentence boundariesSelect the reading to annotate and specify which boundaries belong to the text being parsed.
Tokens and syntactic wordsSet conventions for spelling, joined forms, clitics and boundaries affected by sandhi when they occur.
LemmasChoose citation forms and define how inflection and spelling variants map to them.
UPOS and XPOSApply universal categories in context and define any language-specific categories used in the data.
Morphological featuresState when to assign each feature and how to handle forms compatible with several analyses.
Heads and relationsApply consistent criteria for attachment and labeling across comparable constructions.

The treebank needs an annotated training split and an annotated development split under the same conventions. For dependencies, this includes decisions about how to attach a modifier to its head, how to represent the relation between clauses, and how to handle arguments understood from context. A recurring analysis in the grammar can guide that decision. The treebank must apply it to the words and constructions in actual sentences, with enough context to resolve the cases that depend on it.

Squid claims and the implementation queue

Squid reads the manual and records its grammatical points as claims. Claims it can formalize, including rules, closed lists and statistics, wait in the implementation queue. A queued claim records a description that can be considered for implementation. It remains pending until it has a place in Mova’s code.

A rule about a morphological alternation needs its input forms, conditioning environment and exceptions to be usable for annotation. A closed list needs a defined domain and complete membership within that domain. A statistic needs a defined population and counting unit. These details allow the same claim to be checked on a new example and help an annotator decide whether a form falls under the claim.

The first points to implement are those needed by a tokenizer, a tagger and a UD treebank baseline. Word-boundary conventions determine the units that receive tags and dependency annotations. Lemma, tag and feature conventions determine which distinctions are recorded on those units. Attachment conventions determine the heads and relation labels used in training and evaluation. The queue can record the relevant grammatical claims now. Turning them into model coverage depends on applying annotation conventions to a treebank and training a model on its training split.

How Mova handles Old Kannada across parsing, frames and pragmatics

tools/mova-parse uses tools/langseg at level 1 to assign languages to sentences and spans. 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. Other scripts, including Kannada script, receive other. Adding a Latin-script language requires a lexicon and a Lang code. langseg latin-lexicon uses open UD training splits for the lexicon.

At level 2, tools/mova-parse looks up a model for each span’s assigned language. There is no model for kn-x-old. The missing-model language appears in the # parse comment, and the token records have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Old Kannada has no language-specific tokenization, tagging, lemmatization or parsing in this pipeline.

The parser and tagger belong to the en crate. After en xpos-fill, en train trains them on a language’s UD training split. en parse-eval measures UAS and LAS on the development split. What every language gets calls for this baseline for each language. Models exist for English (en.bin) and French (fr.bin). Mova holds no Old Kannada treebank, and no treebank baseline has been measured for kn-x-old.

Mova’s frames, pragmatics and world components, including prag and world, read English trees. Old Kannada produces no tree for them to read. Squid continues to read the grammar as claims, and the formalizable claims wait in its queue. The Old Kannada rules described in the manual have yet to be implemented.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/kn/kn-x-old/30-mova-tools/