Mova0.6 pre-release

the flag of India 31. Kashmiri in Mova

Mova’s grammar edition uses the code ks for Kashmiri. It has Kashmiri text examples and a grammar manual, but it has neither an annotated Kashmiri treebank nor a parser model for the language. These resources serve different purposes. The text shows what an input can contain, the manual describes the language, and a treebank would supply the annotated sentences needed to train and evaluate a parser.

Script and language identification

The Kashmiri examples in Mova’s corpora include both Perso-Arabic and Devanagari writing. They also include English material inside Kashmiri articles. The language label attached to an article therefore gives context for its contents. Identification of the language of a particular sentence or span requires evidence from that span.

Corpus formRomanizationGlossTranslationSentence ID
سِریٖنَگرَس مَنٛزsirīnagaras manzSrinagar.OBL inin Srinagarwiki:ks:فاروق عبدالله
देवनागरीdevanāgarīDevanagariDevanagariwiki:ks:مونٹانا
Published 1982Published 1982publish.PTCP 1982published in 1982wiki:ks:شيخ عبدالله
381٬154381,154381154three hundred eighty-one thousand one hundred fifty-fourwiki:ks:مونٹانا

OBL marks the oblique form and PTCP marks a participle. The last example uses Western digits with an Arabic thousands separator. Numerals, punctuation and a change of script are all visible in the raw input. Each can help locate a boundary, but the use of a script shared by several languages is insufficient to identify Kashmiri.

Mova’s first parsing level, tools/langseg, assigns a language to each sentence and span. Its Latin-script identification distinguishes English and French using a Latin table, a lexicon for each language and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported coverage receive other. The two scripts shown for Kashmiri in the table fall outside that coverage. The Kashmiri article label and the romanizations printed here are editorial information. Neither supplies a Kashmiri identification rule for the segmenter.

Missing parser model and unannotated output

At the second level, tools/mova-parse needs a model for the language of each span. Mova has no model for ks. When a span is treated as Kashmiri, its token rows carry the missing-parse values below. The # parse comment reports the missing model.

Output fieldValueInformation absent from the row
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation to the head
MISCParse=NoneA parse is unavailable

These values describe a processing result. An underscore in FEATS leaves a token’s features unspecified. It cannot establish, for example, that a noun lacks case or that a verb lacks agreement. Likewise, an underscore in HEAD leaves the head unspecified, including for the word that would be the root of a completed tree. The presence of token rows establishes no Kashmiri tokenization analysis. A span identified as other at the first level and a ks span with no model at the second level reflect distinct gaps in the pipeline.

Treebank availability and the UD evaluation baseline

Mova holds no annotated Kashmiri corpus. The cited Wikipedia examples give surface forms and context, but they supply no reference segmentation, tags or dependency arcs for evaluation. A Universal Dependencies (UD) treebank would provide those annotations under consistent conventions. A training split would supply examples for learning, and a development split would supply reference trees for measurement.

The baseline specified in What every language gets trains a tree parser and tagger on a language’s UD training split. The en crate runs en xpos-fill before en train, and en parse-eval evaluates on the development split. The same train-to-development baseline is requested for each language. Mova has models for English and French.

Unlabeled attachment score (UAS) measures the share of evaluated words assigned the correct syntactic head. Labeled attachment score (LAS) requires both the correct head and the correct dependency relation. Both measurements require a parser output and a reference analysis. Kashmiri has no measured baseline in Mova, so there are no UAS or LAS values to report for it.

Frames and pragmatics

A dependency tree records syntactic relations. Frame analysis can use those relations as evidence about a predicate and its participants. Pragmatic analysis addresses interpretation in context, including such matters as what a speaker is doing with an utterance and what a listener may infer. The annotated words and relations in a tree are inputs to these analyses.

Mova’s frame, pragmatics and world components use English trees. The unavailable Kashmiri parse leaves those components without a Kashmiri tree to read. For instance, a reader can understand the location phrase in the Srinagar example above, but a row with empty HEAD and DEPREL fields cannot tell Mova which predicate that phrase modifies. Producing Kashmiri trees would supply a missing input. The current English-tree support establishes no frame or pragmatic coverage for Kashmiri.

Grammar claims in Squid and the first parsing prerequisites

Squid reads the grammar manual and records each grammatical point as a claim. Claims that can be formalized, including rules, closed lists and statistics, enter a queue for possible implementation in Mova. Queue membership records a candidate for implementation. It gives no evidence that an input has been analyzed according to the claim.

The earliest prerequisites concern segmentation, tagging and the UD baseline. For segmentation, the writing and spelling chapters give the relevant distinctions to check against input in each script. A tokenization specification needs to address combining marks, punctuation, numbers with internal separators, text in another language and any written form that may represent more than one syntactic word. The number in the corpus table is one concrete boundary case. Where verbal pronominal suffixes are concerned, the annotation needs an explicit decision about what belongs in the verbal word and what, if anything, is represented separately.

For tagging and lemmatization, the word-class and inflection chapters identify distinctions an annotation scheme must handle. Noun case, verbal agreement and the distinction between finite and nonfinite forms matter where the written form and its context support them. A tagging specification needs to distinguish a feature that can be assigned from a feature whose value remains unresolved. The treatment of auxiliaries and verbal suffixes must also agree with the segmentation decisions, since tags and features apply to the words the treebank recognizes.

For dependency annotation, the clause chapters describe constructions that need consistent treatment across sentences. These include headed relations in postpositional phrases, the attachment of auxiliaries, and the identification of arguments across differences in word order and case. A second-position finite verb is a fact about clause order. A dependency annotation must also establish the relations among the words in that clause. Applying the same conventions in the training and development splits makes the baseline interpretable.

How Mova handles Kashmiri today

The first level of tools/mova-parse uses tools/langseg to identify the language of sentences and spans. Its non-Latin coverage is for Hebrew-script varieties, and it also handles Hebrew or Aramaic in scholarly transliteration. Its Latin-script coverage distinguishes English and French. A language that uses Latin script can be added through a lexicon and a Lang code, using langseg latin-lexicon with an open UD training split. Other scripts receive other. Kashmiri span identification is limited by this script and lexicon coverage.

The second level selects a model by language. There is no ks model, and Mova does not tokenize, tag, lemmatize or parse Kashmiri. When the missing-model case is reported for ks in the # parse comment, its token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and Parse=None in MISC.

Mova holds no Kashmiri treebank and has measured no Kashmiri baseline. The package in What every language gets calls for training on the UD training split with en train after en xpos-fill, followed by measuring UAS and LAS on the development split with en parse-eval. The available models are en.bin and fr.bin, for English and French respectively. Frames, pragmatics and world processing in prag and world read English trees and have no Kashmiri parse to read.

Squid records the manual’s grammatical points as claims and queues those that can be formalized. The Kashmiri rules described in the manual remain unimplemented. The first points needed for parsing are those required by 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/ks/31-kashmiri-in-mova/