28. Newar in Mova
Mova uses new for Newar. Its text collection contains Newar passages, but it has neither a Newar parser model nor an annotated Newar treebank. This chapter explains what the multilingual pipeline can identify, how it represents missing analysis, and what data a Newar baseline would require.
Language identification and script coverage
Mova separates language identification from syntactic analysis. The first level of tools/mova-parse uses tools/langseg to assign a label to each sentence and span. The second level selects a parser model for each span according to its language. The package code new identifies the language in the manual and the corpus, but a corpus label supplies no recognition rule for incoming text.
For Latin script, the language identifier distinguishes English and French using its Latin table, a lexicon for each language, and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside the identifier's coverage receive other. That label records the limit of script coverage and supplies no Newar identification. The documented route for adding a further Latin-script language is to add a Lang code and a lexicon built from an open Universal Dependencies (UD) training split with langseg latin-lexicon. That route concerns Latin-script text.
The Newar corpus illustrates why script and language need separate treatment. The same entry contains the following spellings of ‘test’, in Devanagari and Nepal Lipi. Each row gives a short excerpt from the entry wiki:new:असितः (Newar Wikipedia, CC BY-SA 4.0).
| Script | Form | Transliteration | Gloss | Translation |
|---|---|---|---|---|
| Devanagari | “परिक्षण” | parikṣaṇa | test | ‘test’ |
| Nepal Lipi | “𑐥𑐬𑐶𑐎𑑂𑐲𑐞” | parikṣaṇa | test | ‘test’ |
Both scripts fall outside the coverage described above. Their occurrence in one Newar entry illustrates what is present in the corpus. The entry's metadata identifies the language independently of the labels tools/langseg can assign.
The new model and treebank status
The second level of multilingual parsing looks for a language-specific model file. The convention puts <code>.bin in the models directory for that language under $MOVA_DATA. The model lookup for Newar would therefore require new.bin. Mova has models for English (en.bin) and French (fr.bin). It has no level-2 model for new.
Mova also holds no annotated Newar treebank. The raw passages and their corpus identifiers provide text and provenance. A UD treebank would additionally specify which units count as syntactic words and annotate their lemmas, tags, features, heads, and dependency relations. A split for training and a separate development split are needed for the train-to-development baseline requested in What every language gets.
For example, the short phrase from wiki:new:बोरिख-अस०४, पौडी तहसील can be glossed for a human reader as follows (Newar Wikipedia, CC BY-SA 4.0).
| Form | Transliteration | Gloss | Translation |
|---|---|---|---|
| “छगु गां” | chagu gāṃ | one.CLF village | ‘a village’ |
Here CLF marks the classifier in the numeral expression. The gloss explains the phrase's meaning. A treebank entry would have to place those words in the complete sentence and specify their part-of-speech tags and dependency relations. The corpus identifier provides a reference to the source passage, and the gloss is a manual illustration.
Unannotated spans and Parse=None
When a span's language has no corresponding model file, tools/mova-parse reports the missing model in the # parse comment. On the token rows it returns for the span, the annotation columns below contain _, and MISC carries Parse=None. These values describe unavailable analysis for the span as a whole.
| Field | Value | Annotation unavailable |
|---|---|---|
| LEMMA | _ | Dictionary or base form |
| UPOS | _ | Universal part-of-speech tag |
| XPOS | _ | Language-specific part-of-speech tag |
| FEATS | _ | Morphological feature bundle |
| HEAD | _ | Index of the syntactic head |
| DEPREL | _ | Dependency relation to the head |
| MISC | Parse=None | Parse for the span |
In an annotated UD tree, a root has a head value of 0 and the dependency relation root. A row with underscores in both fields supplies no basis for assigning root status or locating an attachment. Similarly, a row returned for an unparsed span does not establish where a Newar token boundary belongs. Mova currently provides no Newar-specific tokenization.
The missing-model behavior applies per span. A span that reaches level 2 with the code new has no model available and receives the missing-parse annotation. The separate condition at level 1 still applies. Newar text in a script outside the identifier's coverage receives other, so the absence of a Newar model and the absence of a Newar language label describe failures at different stages.
Training, tagging and UAS and LAS baselines
Mova's own tree parser and tagger are in the en crate. The package specifies the same baseline procedure for each language. It requires a UD training split and a development split. Apply en xpos-fill to the training data before using en train to train the tree parser and tagger on that split. Use en parse-eval to measure attachment scores on the development split.
| Measure | Condition for a correct attachment |
|---|---|
| Unlabeled attachment score (UAS) | The predicted syntactic head matches the reference head. |
| Labeled attachment score (LAS) | The predicted head and dependency relation both match the reference annotation. |
Each score expresses the proportion of evaluated items that satisfy its condition. A correct head paired with an incorrect relation counts toward UAS alone. Both scores concern dependency attachment. They do not measure how often the language identifier recognizes a Newar span or give a separate tagging accuracy.
Newar has no measured treebank baseline in Mova. The procedure presupposes reference trees for training and development, and Mova has no annotated Newar treebank from which to obtain them. Text returned with Parse=None supplies neither a predicted attachment nor a reference attachment. The English and French models show which packages have models in Mova and supply no Newar measurements.
Dependencies of frames and pragmatics
The frame, pragmatics, and world components use English dependency trees. Language labels and unannotated token rows supply none of the dependency relations those components read. A Newar corpus passage can therefore have a clear interpretation for a reader and still supply no tree to the downstream components.
For example, the phrase “नेपालभाषाया” in wiki:new:असिद्धी is transliterated nepālabhāṣā-yā, glossed Newar-GEN, and translated ‘of Newar’. The genitive form occurs in a sentence that describes a word as belonging to the language (Newar Wikipedia, CC BY-SA 4.0). The excerpt and gloss let a reader recover that relationship. The missing Newar parse leaves its syntactic attachment unavailable to Mova.
A parsed tree is the prerequisite identified for another language to supply input. The stated downstream coverage remains English. A Newar attachment score, if measured, would describe agreement with reference dependencies and would give no separate result for frames, pragmatics, or the world component.
Manual claims in the Squid queue
Squid reads the grammar manual and turns each grammatical point into a claim. Claims that can be formalized, including rules, closed lists, and statistics, wait in Squid's queue for a place in Mova's code. Queue membership records that a point can be taken up for implementation. Its runtime status depends on implementation in the relevant component.
The first points for a language without a model are those needed for tokenization, tagging, and a UD treebank baseline. A description of where a written form divides into syntactic words would inform tokenization. A description of which inflection identifies a category would inform tagging. A rule about how an argument or modifier attaches would inform treebank annotation. Each point answers a different question about the input or its analysis, and each depends on the conditions stated in its grammar chapter.
For Newar, the corpus excerpts preserve forms that such rules can describe. A gloss can make a form and its analysis explicit for the manual, but the rule and the gloss do not supply a trained model or a development treebank. Newar rules in the manual remain unimplemented in Mova.
How Mova handles Newar today
tools/mova-parse runs language identification through tools/langseg at level 1 and uses each span's language model at level 2. tools/langseg distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Other scripts receive other. For an additional Latin-script language, the documented additions are a Lang code and a lexicon from an open UD training split, built with langseg latin-lexicon. Newar span identification is limited to the identifier's script and lexicon coverage.
There is no level-2 model for new. For a span with a missing model, tools/mova-parse reports the language in the # parse comment, writes _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, and puts Parse=None in MISC. Mova has no Newar tokenization, tagging, lemmatization, or dependency parsing.
Mova holds no annotated Newar treebank and has measured no Newar baseline. What every language gets asks for the same baseline for each language. After en xpos-fill, en train trains the parser and tagger on a UD training split, and en parse-eval measures UAS and LAS on the development split. Existing models are en.bin for English and fr.bin for French.
The frames, pragmatics, and world components read English trees. With no Newar parse, they have no Newar tree to read. Squid turns the manual's grammatical points into claims and queues the formalizable ones. Newar's rules remain unimplemented, with tokenization, tagging, and the UD treebank baseline determining which points come first.
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/new/28-mova-tools/