Mova0.6 pre-release

the flag of Pakistan 33. Sindhi in Mova

Mova holds Sindhi (sd) text but has no annotated Sindhi treebank or trained Sindhi parser model. This chapter explains how language identification and parsing affect that text, what a measured parser baseline would require, and where the grammar manual fits into Squid.

The sd package and its current data

The sd code identifies Sindhi in Mova’s language package. The package specification calls for a common parser and tagger baseline for each language, using Universal Dependencies (UD) training and development data (What every language gets). Sindhi has neither an annotated treebank in Mova nor a trained level-2 model. There is no measured Sindhi baseline.

The supplied corpus records contain text from the Sindhi edition of Wikipedia. Their IDs identify the source records, and the record’s language label gives the corpus context. A record can include a foreign-language phrase, a name in another script, or an English description. The corpus examples in this manual document forms found in the text. The records do not supply gold lemmas, tags, morphological features, or dependency annotations for those forms.

For example, “هن شهر جي آبادي” (hin shahar jī ābādī, this.OBL city GEN.F population, ‘the population of this city’) occurs in wiki:sd:شوش، ايران. The gloss describes the phrase for a reader of the manual. A UD annotation would require word boundaries, lemmas, tags, applicable features, and labeled head assignments in the context of the whole sentence.

Language segmentation and Sindhi scripts

The multilingual parser, tools/mova-parse, uses tools/langseg at level 1 to assign a language to each sentence and span. The segmenter distinguishes English and French in Latin script using a Latin-script table, language lexicons, and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Other scripts fall into other.

Sindhi in the Arabic-derived script and Sindhi in Devanagari both fall under other in this script coverage. The label does not distinguish Sindhi from other languages written in either script. A Sindhi corpus label does not add Sindhi recognition to the segmenter. The documented extension for adding a further Latin-script language is to add a Lang code and a lexicon derived from an open UD training split with langseg latin-lexicon. Romanized Sindhi has no dedicated entry in the stated coverage.

The mixed-script corpus records show why the sentence and span are separate units of identification. In wiki:sd:گيبون, the name “گيبون” (Gēbūn, Gabon, ‘Gabon’) is followed by “Gabon” (Gabon, ‘Gabon’) in parentheses. In wiki:sd:گيانا, the phrase “French Guiana يا Ghana” (French Guiana yā Ghana, French.Guiana or Ghana, ‘French Guiana or Ghana’) has a Sindhi conjunction between two names in Latin script. These examples show the written forms and their language context. They do not give observed segment boundaries or classifier labels for the quoted phrases.

Parser output and Parse=None

At level 2, tools/mova-parse selects a model for each span by its language code. A span identified as sd requires an sd model. When the model for a language is absent, the parser reports that in the # parse comment and leaves the affected token rows unannotated as follows.

CoNLL-U columnValue for a token whose language has no modelAnnotation absent
LEMMA_Dictionary form
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Morphological feature bundle
HEAD_Syntactic head assignment
DEPREL_Dependency relation label
MISCParse=NoneRecords that no parse was supplied

The underscores in these rows stand for missing annotation. In particular, an underscore in HEAD leaves the head unspecified, including whether the word is the root. An underscore in FEATS gives no evidence about which morphological features apply to the word. The Parse=None entry describes the processing of the token. It is not a grammatical category.

Sindhi has no level-2 model, so Sindhi tokens handled without a model carry Parse=None. The presence of a form in a token row does not establish that Mova applied Sindhi tokenization rules to it. In mixed-language input, model selection is span by span. A model for an identified English or French span supplies no analysis of the adjoining Sindhi material.

Treebank requirements and UAS and LAS measurement

The package baseline uses a UD training split and a development split. The training split provides examples for fitting the parser and tagger. The development split supplies reference annotations for evaluating the trained model on separate sentences. For Sindhi, the necessary treebank data must identify sentences and syntactic words and give consistently applied annotation for those words, including their heads and dependency relations. A collection of article excerpts cannot supply reference heads and relations without annotation.

Mova’s parser is in the en crate. The baseline runs en xpos-fill before en train. The training command trains the tree parser and tagger on the language’s UD training split. The en parse-eval command measures UAS and LAS on the development split. The same baseline is called for across language packages.

MeasureWhat counts as correct for a scored word
Unlabeled attachment score (UAS)The predicted head matches the reference head.
Labeled attachment score (LAS)Both the predicted head and the predicted dependency relation match the reference annotation.

Each score is the share of scored words that meets its criterion. An attachment with the correct head and the wrong relation counts toward UAS only. An attachment with the wrong head counts toward neither score. The scores measure syntactic attachments. They do not directly measure language identification, lemma accuracy, part-of-speech accuracy, or morphological feature accuracy.

A Sindhi evaluation depends on having reference attachments and model predictions to compare. Mova has neither an annotated Sindhi treebank nor a Sindhi model. The current UAS and LAS values are therefore unavailable. Parse=None records missing parser output and provides no attachment score.

Frames, pragmatics and world processing

Mova’s frame, pragmatic, and world processing read English trees. The Sindhi corpus text and its language labels supply no trees for these components. Without a Sindhi parse, there is no Sindhi tree for prag or world to read.

The input dependency matters for claims about coverage. A manual example can describe how a Sindhi clause presents a participant, signals a question, or relies on discourse context. That description belongs to the grammar. It does not yield a frame, a pragmatic analysis, or a world representation from Mova. A Sindhi parse is a prerequisite for using a Sindhi tree downstream. The current tree consumers are described for English.

How Mova handles Sindhi claims in Squid

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists, and statistics, wait in Squid’s queue for a place in Mova’s code. A queued claim has yet to be implemented. For Sindhi, the points that come first are those needed by a tokenizer, a tagger, and a UD treebank baseline.

Mova’s current language identification is limited to scripts and lexicons known to tools/langseg. The Arabic-derived and Devanagari scripts used for Sindhi fall under other. There is no sd level-2 model. Where tools/mova-parse handles Sindhi tokens without a model, the # parse comment reports the missing model and the rows carry Parse=None in MISC, with _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL. Mova performs no Sindhi tokenization, tagging, lemmatization, or parsing, and the manual’s Sindhi rules remain unimplemented.

The baseline specified in What every language gets uses en xpos-fill, en train, and en parse-eval to train on a UD training split and measure UAS and LAS on a development split. Mova holds no annotated Sindhi treebank and has measured no Sindhi baseline. Its frames, pragmatics, and world processing read English trees. With no Sindhi tree, prag and world have no Sindhi analysis to read.

Sources for this chapter

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