Mova0.6 pre-release

the flag of India 18. Bishnupriya in Mova

Mova has Bishnupriya text samples and a reference grammar. The bpy package has no trained parser model or annotated treebank, so it has no measured parsing baseline. This chapter describes how multilingual input reaches the parser, what the output records when a model is missing, and how grammar claims enter Squid’s implementation queue.

The bpy package and multilingual language segmentation

bpy is the package code for Bishnupriya. In tools/mova-parse, language segmentation and grammatical analysis are separate stages. At level 1, tools/langseg assigns a language to each sentence and span. At level 2, the multilingual parser selects a model by the language assigned to the span. The span assignment governs model selection even when the surrounding sentence has a different assignment.

For Latin-script input, tools/langseg 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 its supported inventory are classified as other. Eastern Nagari falls into other, so a sentence written in Eastern Nagari receives no Bishnupriya identification on the strength of its script. The code bpy identifies the package, while the segmentation label records the result for the submitted text.

Two corpus excerpts illustrate the inputs. The romanizations represent the forms as written.

FormRomanizationGlossTranslationSentence ID
প্রাচ্য সঙ্গীতprācya saṅgītaEastern music“Eastern music”wiki:bpy:এলা
ইংরেজি Encyclopaedia-রiṃreji Encyclopaedia-rEnglish encyclopaedia-GEN“of the English word ‘Encyclopaedia’”wiki:bpy:বিশ্বকোষ

The second excerpt contains a Latin-script word followed by an Eastern Nagari genitive ending. The Latin-script material is within the scope of the Latin-script segmenter. Recognizing a Latin-script span supplies no grammatical analysis of the Bishnupriya ending. The documented way to add a Latin-script language is to add a lexicon and a Lang code. langseg latin-lexicon builds the lexicon from an open UD training split. That extension applies to Latin-script language recognition and leaves Eastern Nagari in other.

Missing-model output and Parse=None

Level 2 requires a model file for the language assigned to a span. When the file is missing, tools/mova-parse reports the missing model in the # parse comment. On the affected token rows, it writes _ to the six analysis fields below and records Parse=None in MISC. There is no level-2 model for bpy.

FieldValue in a missing-model rowAnalysis unavailable
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head, including a root assignment
DEPREL_Dependency relation
MISCParse=NoneMarker that the row has no parse

Read the comment and MISC together. The comment reports the model problem, while Parse=None identifies the affected rows. For instance, an underscore in FEATS on one of these rows gives no basis for deciding whether a written form carries case or number. An underscore in HEAD supplies no attachment, including attachment as the root. The row can carry the surface material in the output while all six grammatical fields are missing. Its presence gives no evidence of Bishnupriya-specific tokenization. In multilingual input, model availability is checked for each span’s assigned language.

Treebank availability and baseline evaluation

Mova has no annotated Bishnupriya corpus. The Wikipedia excerpts are text samples without reference UD trees. They show which forms occur in the supplied material, including spellings that mix scripts, but provide no gold token, tag or dependency annotations against which to evaluate a parser.

What every language gets asks for the same train-to-development baseline for each language. In Mova’s en crate, en xpos-fill precedes training, and en train uses the language’s UD training split to train a tagger and tree parser. en parse-eval evaluates the trained system on the development split. The training split supplies examples for fitting the model. The annotated development split supplies separate examples with reference attachments for scoring it.

MeasureWhat must match the reference for an attachment to count as correct
UAS, unlabeled attachment scoreThe syntactic head
LAS, labeled attachment scoreThe syntactic head and the dependency-relation label

The two measures distinguish errors in attachment from errors in labeling a correct attachment. Neither measure has been recorded for Bishnupriya in Mova because there is no treebank baseline. A row containing Parse=None records a missing analysis. It provides no attachment prediction to compare with a reference tree.

Dependencies of frame and pragmatics analysis

Mova’s frame, pragmatics and world analysis takes parsed trees as input. The current components, including prag and world, read English trees. Language segmentation supplies a label for selecting a span’s model. It supplies no predicate or argument structure and no dependencies for later analysis to read.

For Bishnupriya, the dependency chain currently stops at the missing parse. A corpus reader may understand that prācya saṅgīta denotes a type of music, but the token rows with Parse=None give Mova no tree from which to derive a frame or a pragmatic interpretation. Those rows therefore give no information about whether an utterance contains a particular frame or has a particular discourse function. The missing tree is an upstream gap. The current English-tree input of the downstream components also defines the scope of the available analysis.

Grammar claims in Squid and the implementation queue

Squid reads the reference grammar and records each grammatical point as a claim. A claim can document a pattern in the language even while the corresponding runtime behavior is unavailable. Claims that can be formalized, including rules, closed lists and statistics, enter Squid’s queue for a place in Mova’s code. A queued claim is pending implementation.

A rule’s conditions and exceptions belong to the claim. A closed list gives all members within its stated scope. A statistic has the scope of the material it describes. These distinctions matter when turning a description into parser behavior. For example, the gloss GEN in the corpus excerpt explains the contribution of an ending in that occurrence. The gloss alone establishes neither a general segmentation rule for script boundaries nor an inventory of forms that can host the ending.

The first Bishnupriya claims relevant to implementation are those needed for a tokenizer, a tagger and a UD treebank baseline. Tokenization needs decisions about which character sequences form tokens. Tagging needs categories and the conditions for assigning them. Treebank annotation needs decisions about heads and dependency relations, applied consistently enough to supply training and development trees. The script change inside the second excerpt is one place where a written example can inform those decisions. Its segmentation and annotation still need to be specified before the example can serve as a reference analysis.

How Mova handles Bishnupriya today

tools/mova-parse first uses tools/langseg to label sentences and spans, then selects a level-2 model for each span by its assigned language. tools/langseg can distinguish English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. It classifies Eastern Nagari as other, so it does not identify Bishnupriya from that script.

There is no level-2 model for bpy and no Bishnupriya-specific tokenization, tagging, lemmatization or parsing. When the model is missing, tools/mova-parse reports it in the # parse comment. It leaves LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL as _ and writes Parse=None in MISC.

Mova holds no annotated Bishnupriya treebank and has no measured UAS or LAS baseline for the language. The baseline specified in What every language gets uses en xpos-fill and en train on the UD training split, followed by en parse-eval on the development split. Mova’s frame, pragmatics and world components read English trees. They have no Bishnupriya trees to read.

Squid records the grammar’s points as claims and queues the formalizable rules, closed lists and statistics. The Bishnupriya rules are still unimplemented. The first points needed are those that support tokenization, tagging and a UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/bpy/18-bishnupriya-in-mova/