Mova0.6 pre-release

the flag of India 34. Hindi in Mova

The hi edition documents Hindi grammar for Mova. In the runtime pipeline, the language segmenter classifies Devanagari as other. Mova has no level-two Hindi parser model or annotated Hindi corpus. The Hindi treebank baseline has no measured attachment scores.

The hi edition and package state

The manual uses hi as the edition code for Hindi. Its grammatical descriptions supply Squid with claims such as rules and closed lists. A formalizable claim enters the implementation queue. Runtime parsing requires a language classification that selects the appropriate model and a model available for that classification.

What every language gets specifies a common treebank baseline for every language. For Hindi, the annotated corpus and trained model needed for the baseline are absent from Mova. The Hindi package has no measured attachment scores.

Language segmentation and Devanagari coverage

At level one, tools/mova-parse uses tools/langseg to classify sentences and spans. The Latin-script component distinguishes English and French using a Latin character table, a lexicon for each language and a character 4-gram model. The segmenter also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. It assigns other to scripts outside its supported set.

Devanagari receives other. In mixed text, a supported-language span can receive its own label while a Devanagari span receives other. The label other leaves the language of the Devanagari span unspecified.

The extension mechanism for additional Latin-script languages uses a lexicon and a Lang code. langseg latin-lexicon builds the lexicon from an open Universal Dependencies training split. Hindi written in Latin letters has no dedicated Hindi classification in the stated inventory. Identifying Hindi written in Devanagari requires coverage of that script as well as a Hindi classification.

Level-two model availability and unannotated output

At level two, tools/mova-parse looks up a model using the classification assigned to the span at level one. There is no model for hi. For Hindi written in Devanagari, the classification passed to level two is other. If the assigned classification has no available model, the parser reports a missing model in the # parse comment and emits the following values for tokens in the unparsed span.

Output columnsValue
LEMMA, UPOS, XPOS, FEATS_ in each column
HEAD, DEPREL_ in each column
MISCParse=None

The underscores leave the lemma, part-of-speech tags, morphological features, head and dependency relation unspecified. A CoNLL-U root uses 0 in HEAD and root in DEPREL. An underscore in HEAD leaves root status unspecified. Parse=None records the absence of a model-produced parse. Token rows show the boundaries of the emitted tokens. Their Hindi-specific accuracy requires a separate check against reference tokenization.

Hindi corpus availability and the unmeasured treebank baseline

Mova holds no annotated Hindi corpus. Its package baseline uses the en crate for tree parsing and tagging. The prescribed sequence applies en xpos-fill before training the tagger and parser with en train on a language’s Universal Dependencies training split. en parse-eval compares the resulting model’s predictions on the same language’s development split with that split’s reference annotations. The available models are en.bin for English and fr.bin for French.

The unlabeled attachment score (UAS) is the share of evaluated tokens whose predicted head matches the reference head. The labeled attachment score (LAS) is the share whose predicted head and dependency relation both match the reference. For example, a token with the correct head and the wrong relation counts toward UAS only. Hindi has no measured value for either score in Mova. A row marked Parse=None supplies no model prediction to compare with a reference annotation.

Frames and pragmatics coverage

Mova’s frame, pragmatics and world processing reads English dependency trees. The prag and world components have no parsed Hindi input. A language label supplies a classification, and an unannotated token row leaves the head and dependency relation unspecified. The downstream components require tree structure.

The manual can describe how Hindi expresses participant roles, speaker intentions and relations between utterances. Those descriptions supply claims to Squid. Runtime processing of those phenomena in Hindi would require both a Hindi parse and downstream support for Hindi trees.

Squid claims and priorities for tokenizer, tagger and parser work

Squid reads each grammatical point in the manual as a claim. Formalizable claims, including rules, closed lists and statistics, enter its implementation queue. A queued claim states a target for implementation. Evaluation compares the resulting output with the relevant reference data.

The first priorities are the claims needed for tokenization, tagging and a Universal Dependencies baseline. The following constructed example illustrates the expected analysis at each stage.

LayerExample
Formरीना ने किताब पढ़ी।
RomanizationRīnā ne kitāb paṛhī.
GlossRina ERG book.F.SG read.PFV.F.SG
Translation‘Rina read a book.’ (constructed)

ERG marks ergative case, PFV marks perfective aspect, and F.SG marks feminine singular.

Tokenizer work starts with word and punctuation boundaries. With separate word and punctuation tokens, the example has five tokens (रीना, ने, किताब, पढ़ी, ।). The danda । follows पढ़ी paṛhī without a space. The dependent vowel sign ी stays in the token पढ़ी. The reference treebank determines the expected boundaries used for evaluation.

Tagger work starts with the categories and features that the treebank distinguishes. In a Universal Dependencies analysis, ने ne is an adposition (ADP) that marks the subject, किताब kitāb is a noun (NOUN), and पढ़ी paṛhī is an inflected verb (VERB). In this transitive perfective clause, the subject bears ने and the verb agrees in feminine singular with the unmarked object किताब. In the constructed pair रीना ने बिल्ली देखी। Rīnā ne billī dekhī. ‘Rina saw a cat’ and रीना ने बिल्ली को देखा। Rīnā ne billī ko dekhā. ‘Rina saw the cat,’ the verb has feminine singular agreement in the first clause and default masculine singular agreement in the second, where को ko marks the object. The tagger’s targets for language-specific tags and morphological features follow the reference treebank’s annotation conventions.

Parser work starts with heads and relations that can be checked against an annotated development split. For the example in the table, पढ़ी is the clause root, रीना attaches to it as nsubj, and किताब attaches to it as obj. The postposition ने attaches to रीना as case, and the danda attaches to पढ़ी as punct. The case marker’s attachment and the subject’s relation to the verb are separate parser decisions. The development split provides the reference heads and relations for scoring those decisions across sentences.

How Mova handles Hindi end to end

At level one, tools/mova-parse uses tools/langseg to classify sentences and spans. A Devanagari span receives other. At level two, the parser looks up a model by the assigned classification. There is no Hindi model. When the assigned classification has no available model, the parser reports the missing model in # parse and emits _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Hindi-specific tokenization, tagging, lemmatization and dependency parsing are unavailable.

Mova has no annotated Hindi corpus or measured Hindi treebank baseline. The baseline uses en xpos-fill before en train on training data. en parse-eval measures UAS and LAS against development data. Frame, pragmatics and world processing reads English trees. prag and world have no parsed Hindi input.

Squid reads the grammar as claims and queues the formalizable ones. This chapter’s examples describe grammatical analyses for that work.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/inc-x-hindustani/hi/34-mova-tools/