Mova0.6 pre-release

the flag of Nepal 20. Doteli in Mova

Doteli (dty) is represented in Mova’s text corpus by Devanagari material. Mova has neither a Doteli parser model nor a Doteli treebank. For a passage in Devanagari, language segmentation reports other. Where Doteli reaches the parser as an identified language, the output records that its model is missing. This chapter describes what those results mean for annotation, evaluation, frames and pragmatics.

Devanagari and language segmentation coverage

Language segmentation is the first level of multilingual processing. It assigns a language label to each sentence and span. Its Latin-script coverage distinguishes English and French using a script 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 this coverage receive other. Devanagari falls in that category, so a Devanagari passage can be present in the Doteli corpus while receiving other when submitted to the segmenter.

A corpus identifier records the origin of an example. In the following entry, the Doteli article gives the college name in both Devanagari and Latin script. The Latin spelling makes part of the entry eligible for Latin-script analysis. The Doteli identity of the article comes from its corpus attribution.

FormRomanizationGlossTranslation
“अमृत साइन्स क्याम्पस”amṛta sāinsa kyāmpasaAmrit science campus‘Amrit Science Campus’
“Amrit Science College (ASCOL)”Amrit Science College (ASCOL)Amrit science college (abbreviation)‘Amrit Science College (ASCOL)’

Both phrases are from wiki:dty:अमृत साइन्स क्याम्पस (Doteli Wikipedia, CC BY-SA 4.0).

The supported procedure for adding another Latin-script language uses a lexicon drawn from an open Universal Dependencies (UD) training split and a language code. Doteli’s Devanagari text requires script coverage for language identification. A language code in a corpus identifier and a language label assigned to a span serve different purposes in the pipeline.

Missing Doteli model and unannotated parser output

The second level selects a parser model for each span using its language code. The language label determines which model to look for. A Doteli span requires a dty model, which is absent. When a model is missing, the parser reports the affected language in the # parse comment. Any token rows for that span carry the following values.

FieldValueAnnotation unavailable
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneThe span received no parse

The underscores record missing annotations. In particular, _ in HEAD leaves the token’s place in a dependency tree unspecified. Parse=None records the status of processing. The presence of a token row supplies no evidence about where a Doteli tokenizer would place word boundaries.

For example, the help page includes the written form “देवनागरीमी” (devanāgarīmī, Devanagari-LOC, ‘in Devanagari’), wiki:dty:Helppage (Doteli Wikipedia, CC BY-SA 4.0). The gloss shows a locative element within the written form. The missing-model output leaves its lemma, grammatical features and syntactic attachment unspecified. A language label alone cannot provide those annotations.

The treebank gap and the UAS and LAS baseline

Mova holds no annotated Doteli treebank. The Wikipedia material provides examples of written usage. It supplies no reference dependency heads and relation labels against which a Doteli parser can be scored. The language package calls for a baseline in which a parser and tagger are trained on a language’s UD training split and evaluated on its development split. Training follows the step that fills the language-specific part-of-speech field.

MeasureWhat counts as correct for an evaluated tokenDoteli baseline
UAS, unlabeled attachment scoreThe predicted head matches the reference head.Unmeasured
LAS, labeled attachment scoreBoth the predicted head and its dependency relation match the reference annotation.Unmeasured

Each score is the proportion of evaluated tokens that meets its criterion. A correct head with an incorrect relation contributes to UAS alone. These measures concern attachment in a dependency tree. They do not measure script recognition or the proportion of spans that receive a language label. The other label and the Parse=None marker are therefore statuses at different stages, each separate from an attachment score.

The Doteli baseline requires a training split with UD annotations and a development split with reference dependencies. Decisions about token boundaries and the annotations assigned to those tokens matter at both stages. Mova has parser models for English and French. The baseline called for by the package is language-specific, so those models supply no measured Doteli result.

Parser input required by frames and pragmatics

Mova’s frames, pragmatics and world components read English dependency trees. A sentence-level language label, a span boundary or a row containing the original form falls short of that input. The parser must first supply the syntactic structure for the downstream components to have a Doteli tree to read.

The phrase “लैनचौरमी रया छ” illustrates the input gap.

FormRomanizationGlossTranslation
“लैनचौरमी रया छ”laincauramī rayā chaLainchaur-LOC stay.PTCP be.PRS‘is located in Lainchaur’

The phrase is from wiki:dty:अमृत साइन्स क्याम्पस (Doteli Wikipedia, CC BY-SA 4.0).

A reader can understand the locative expression and predicate from the phrase. For downstream processing, their syntactic relationship would have to be represented in a tree. With HEAD and DEPREL unspecified, that relationship is absent from the parser output. The current components read English trees, and no Doteli tree is available to them from this pipeline. The example illustrates a human reading of corpus text, with no corresponding Mova frame or pragmatic analysis.

Squid claims and implementation status

Squid reads the grammar manual and turns every grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, enter a queue for a place in Mova’s code. Claim status records what the manual says about a grammatical point. Queue status records that a formalizable point is waiting for implementation. Neither status supplies a trained model or annotated corpus.

For Doteli, none of the chapter’s rules is implemented. The earliest points for implementation are those needed to define token boundaries, assign tags and establish a UD treebank baseline. A documented distinction can inform those decisions. Its appearance in the manual, and its presence in the claim queue where formalizable, have no effect on the current segmentation or parser output.

How Mova handles Doteli across the pipeline

At level 1, tools/mova-parse uses tools/langseg to assign a language to each sentence and span. The segmenter covers English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Devanagari falls under other. For a further Latin-script language, the extension uses a Lang code and a lexicon made from an open UD training split with langseg latin-lexicon.

At level 2, tools/mova-parse looks for a model for the language assigned to the span. There is no model for dty. When a Doteli span reaches that lookup, the # parse comment reports the missing model. Its token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Mova provides no Doteli tokenization, tagging, lemmatization or dependency parse.

Mova’s parser is the en crate. After en xpos-fill, en train trains the parser and tagger on a language’s UD training split. en parse-eval measures UAS and LAS on the development split. The available models are en.bin for English and fr.bin for French. What every language gets calls for the same training-to-development baseline for each language. With no annotated Doteli treebank, Mova has no measured UAS or LAS baseline for Doteli.

Mova’s frames, pragmatics and world components, including prag and world, read English trees. They have no Doteli tree to read. Squid records the manual’s grammatical points as claims and queues formalizable claims for implementation. None of the chapter’s rules is implemented. The first points are those needed for tokenization, tagging and a UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/dty/20-mova-tools/