30. Maithili in Mova
Maithili has the language code mai in this manual. The Maithili examples supplied with the manual give Squid attested text for describing the language. Mova has no Maithili parser model or annotated treebank. This chapter describes what the multilingual pipeline can report, how to read its output, and which parts of the grammar matter first for building Maithili tools.
Package status for mai
The package status depends on three distinct resources. Language segmentation needs a way to recognize Maithili in running text. Parsing needs a trained model for the language. Training and evaluation need a treebank with annotated sentences. The presence of text identified as Maithili in the manual supplies examples for grammatical analysis. The corpus identifiers record the provenance of those examples.
| Resource | Status for mai | Consequence |
|---|---|---|
| Language segmentation | No Maithili recognition for the Devanagari used in the supplied samples | The script receives the classification other |
| Level-2 parser model | Absent | A span passed to parsing as mai receives unannotated output |
| Annotated corpus held by Mova | Absent | Mova has no Maithili UD train and development splits for its baseline |
| Maithili baseline | Unmeasured | There are no Maithili UAS or LAS results to report |
| Grammar manual | Available as input to Squid | Its grammatical points can enter the claim workflow |
Here and below, a corpus example uses a short excerpt from the sentence identified by its source ID. Romanization follows the form as written. Glosses can show a grammatical division even when the source spelling joins the parts.
Script recognition and language segmentation
Language segmentation assigns a language at sentence and span level. Span-level assignment matters in a multilingual sentence because the parser selects a model for each span according to its assigned language. The label other is a fallback category. It identifies the limit of the segmenter's script coverage and gives no Maithili identification for the span.
The supplied samples contain Maithili in Devanagari. Their corpus labels identify the language for a reader of the manual. For a segmenter reading the text itself, the letters in a phrase such as the one below fall outside the recognized script coverage. Latin transliteration also needs language-specific recognition. The existing Latin-script language distinction covers English and French, so the romanizations in this chapter serve as reading aids.
| Form | Romanization | Gloss | Translation |
|---|---|---|---|
| भारतक राजधानी | bhāratak rājadhānī | India-GEN capital | ‘India’s capital’ |
Corpus ID wiki:mai:लाल किला. GEN marks the genitive in the gloss.
Script recognition, language assignment, and grammatical word segmentation answer different questions. The first identifies the writing system the segmenter can handle. The second supplies a language label for model selection. The third establishes the units for tagging and dependency annotation. A sentence or span label alone settles no word boundaries inside a Maithili expression.
Parser model availability and unannotated CoNLL-U output
A language label is the input to level-2 model selection. There are two relevant outcomes for Maithili text. Devanagari recognized only as other reaches the language recognition limit. If a span is presented to the parser with the language code mai, model selection reaches the missing-model limit. The second outcome is the condition for interpreting the missing Maithili model in the parse report.
When the model is missing, the parser reports the language in the # parse comment. The affected token rows carry the following fields.
| CoNLL-U field | Value | Information absent from the row |
|---|---|---|
| LEMMA | _ | Lemma |
| UPOS | _ | Universal part of speech |
| XPOS | _ | Language-specific part of speech |
| FEATS | _ | Morphological features |
| HEAD | _ | Syntactic head |
| DEPREL | _ | Dependency relation to the head |
| MISC | Parse=None entry | A parse for the token |
These blanks have a common cause in this output. For example, a blank FEATS field provides no evidence about whether a Maithili form expresses case or agreement. A blank HEAD field leaves the syntactic head unspecified. The presence of token rows gives a place to report that annotation is missing. It supplies no evidence that Maithili word boundaries were determined by a language-specific tokenizer.
Treebank availability and baseline measurements
Mova holds no annotated Maithili treebank. The supplied corpus passages contain running text and source IDs. A treebank for the package would need reference annotations for the units to be evaluated, including their heads and dependency relations. Seeing a form in a corpus establishes its occurrence in that passage. Its lemma, features and syntactic attachment would require annotation.
The package baseline trains a parser and tagger on a UD training split after filling the language-specific part-of-speech field. It then evaluates the parser on the development split. The two baseline measures concern syntactic attachments.
| Measure | What counts as correct for an evaluated attachment |
|---|---|
| UAS, unlabeled attachment score | The predicted head matches the reference head |
| LAS, labeled attachment score | The predicted head and dependency relation both match the reference annotation |
An attachment can count toward UAS while failing LAS when its head is correct and its relation is wrong. Measuring either score requires parser predictions and reference dependencies for the evaluation data. The missing-model marker records a processing outcome, so counting occurrences of that marker would give no attachment score. The status of the Maithili baseline is unmeasured.
A treebank baseline also depends on stable annotation decisions about word boundaries. The reference head and relation belong to an annotated unit. If an attached case form is treated as part of a word in one analysis and as a separate unit in another, the analyses differ before their head and relation labels are compared. Documenting those choices is part of preparing comparable train and development data.
Frames and pragmatics coverage
Mova’s frames, pragmatics and world components read English dependency trees. An unannotated Maithili span supplies no tree for these components. The grammatical and contextual readings in the manual can be described from the text, but there is no corresponding Maithili frame or pragmatic analysis from this pipeline.
| Form | Romanization | Gloss | Translation |
|---|---|---|---|
| दुई शक्तिशाली विस्फोट | dui śaktiśālī visphoṭ | two powerful explosion | ‘two powerful explosions’ |
| भेल छल | bhel chal | happen.PFV AUX.PST | ‘had happened’ |
Both excerpts are from wiki:mai:२०२० बेरुत विस्फोट. PFV means perfective, AUX auxiliary, and PST past.
In that sentence, the nominal phrase identifies the events and the verbal expression reports their occurrence. The gloss makes the reading explicit for the reader. A dependency analysis would first have to represent the relationship between the expressions. Even with a Maithili tree available, support for reading that tree and interpreting its constructions would be a separate matter from measuring syntactic attachment.
Squid claims and priorities for a tokenizer, tagger and treebank
Squid reads the manual and turns grammatical points into claims. Formalizable claims such as rules, closed lists and statistics enter a queue for implementation. Queue membership records work the grammar has identified. Runtime support requires the corresponding implementation.
Tokenizer
Word boundaries come first because every later annotation refers to the units selected here. The samples include a locative form joined to its noun and a locative form written separately. Both spellings need to be represented before a policy for annotation can be tested. The relevant decision is how to record the written boundaries and how to represent the grammatical elements for UD annotation.
| Form | Romanization | Gloss | Translation | Corpus ID |
|---|---|---|---|---|
| सहरमे | saharme | city-LOC | ‘in the city’ | wiki:mai:लाल किला |
| आजमगढ मण्डल मे | ājamagaḍh maṇḍal me | Azamgarh division LOC | ‘in the Azamgarh division’ | wiki:mai:आजमगढ जिला |
LOC marks the locative. The hyphen in city-LOC shows the two parts of the gloss for the joined form. The space before LOC in the other gloss follows the separate written form. These examples establish the two spellings in context and leave the UD representation to an explicit annotation decision.
Tagger
Once the annotation units are defined, the tagger needs consistent choices for lemmas, parts of speech and features. A priority is to record how case expressions are annotated under the chosen segmentation policy. Another is to distinguish what a verbal form contributes in its sentence, including uses as a copula or as an auxiliary, before specifying the tag and features associated with that use.
| Form | Romanization | Gloss | Translation | Corpus ID |
|---|---|---|---|---|
| एकटा गाविस अछि | ekaṭā gāvis achi | one village.development.committee COP.PRS | ‘is a village development committee’ | wiki:mai:कैलपालमाण्डौ |
COP means copula, and PRS present. Here the copula occurs with a nominal predicate. The earlier example with भेल छल (bhel chal, ‘had happened’) illustrates a verbal environment with an auxiliary. The examples show the environments a tagging policy must account for. They establish no complete inventory of copula or auxiliary forms.
Treebank
A treebank must apply the same annotation choices across the sentences used for training and evaluation. For the examples in this chapter, those choices include the representation of locative expressions, the head of a nominal predicate, and the dependency relation between a lexical verb and an auxiliary. The treebank supplies the reference analyses against which the parser can be measured. Once there are annotated train and development splits, the same baseline used for other languages can be run for mai.
How Mova handles Maithili today
At level 1, tools/mova-parse uses tools/langseg to label sentences and spans. The segmenter distinguishes English and French in Latin script using a Latin table, a lexicon for each language and a character model based on sequences of four characters. It also distinguishes Hebrew-script varieties and recognizes scholarly transliteration of Hebrew or Aramaic. Scripts outside this coverage, including Devanagari, receive other. The extension procedure for a further Latin-script language uses a lexicon from an open UD training split, langseg latin-lexicon, and a Lang code.
At level 2, tools/mova-parse selects the model file for the assigned language. There is no model for mai. Where that code is assigned, the # parse comment reports the missing model, the fields LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL contain _, and MISC includes Parse=None. Mova provides no Maithili tokenization, tagging, lemmatization or dependency parsing.
Mova’s tree parser and tagger are in the en crate. The available models are en.bin for English and fr.bin for French. The common baseline specified in What every language gets uses en xpos-fill before en train on the UD training split, then en parse-eval to measure UAS and LAS on the development split. Mova has no Maithili treebank, so the Maithili baseline has no measurements.
The English-tree input used by Mova’s frames, prag and world has no Maithili parse to read. Squid can still turn grammatical points in the manual into claims and queue those that can be formalized. The Maithili rules await implementation, with first priority given to what a tokenizer, a tagger and a UD treebank baseline require.
Sources for this chapter
- No source was planned for this chapter; its points are to be checked against public-domain and open grammars (see Sources).
This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/mai/30-mova-tools/