21. Mazanderani in Mova
Mova has Mazanderani text samples, but it has neither an annotated Mazanderani treebank nor a parser model for mzn. This chapter distinguishes language labels, annotations, and evaluation results, and describes the evidence needed to establish a Universal Dependencies (UD) baseline.
Language segmentation, script coverage and span labels
Language segmentation is level 1 of tools/mova-parse. The segmenter, tools/langseg, assigns a language label to each sentence and each span. A span label is the label used to look up a parser model at level 2. The language label of an article in the corpus identifies the source data and may differ from the labels the segmenter assigns to spans within it.
For Latin script, the segmenter distinguishes English and French using its Latin table, a lexicon for each language, and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside this coverage receive other. The Perso-Arabic script in the supplied Mazanderani examples falls under other. That label identifies a limit of script coverage and carries no language-specific identification as mzn.
A Mazanderani article can contain material in more than one script. The following adjacent fragments are from the Newton article. The English name supplies a Latin-script span to inspect independently of the surrounding text. This is a corpus illustration of the script boundary.
| Form | Romanization | Gloss | Translation | Corpus ID |
|---|---|---|---|---|
| انگلیسی جه | engelisi je | English from | ‘in English’ | wiki:mzn:اسحاق نیوتن |
| Sir Isaac Newton | — | title personal.name surname | ‘Sir Isaac Newton’ | wiki:mzn:اسحاق نیوتن |
The route for adding a further Latin-script language is to add a lexicon and a Lang code. langseg latin-lexicon builds the lexicon from open UD training splits. That route concerns Latin-script recognition. The supplied Mazanderani text also requires coverage of its Perso-Arabic script for language-specific span labels.
Parser model lookup and the Parse=None annotation
At level 2, tools/mova-parse looks for the model file for each span’s language code. The lookup uses the language code for both the language’s data directory and the model’s basename. A multilingual sentence can therefore have spans that go through different model lookups. Models exist for English and French, as en.bin and fr.bin. There is no level-2 model for mzn.
When the model for a language is missing, the output reports that language in the # parse comment and records Parse=None in MISC on the affected token rows. All six annotation fields below receive _.
| Column | Value without a model | Annotation left unset |
|---|---|---|
| LEMMA | _ | Dictionary or base form |
| UPOS | _ | Universal part of speech |
| XPOS | _ | Language-specific part of speech |
| FEATS | _ | Morphological features |
| HEAD | _ | Index of the syntactic head |
| DEPREL | _ | Dependency relation to the head |
| MISC | Parse=None | Records that the row has no model-backed parse |
Parse=None is a processing status. It applies when the language of the span has no model file. The presence of token rows carrying this status gives no evidence that their boundaries have been established by a Mazanderani tokenizer. Likewise, a corpus language label supplies neither missing annotations nor a model for filling them.
Treebank availability and the unmeasured UAS and LAS baseline
Mova holds no annotated Mazanderani treebank. The supplied corpus entries include names, captions, and prose. They provide written forms for inspection. A dependency evaluation also needs reference token boundaries, tags and trees in a UD treebank.
The package specification in What every language gets calls for the same baseline for each language. In the en crate, en xpos-fill precedes training. en train trains a parser and tagger on the language’s UD training split. en parse-eval evaluates on the development split and reports unlabeled attachment score (UAS) and labeled attachment score (LAS).
| Measure | What must agree with the reference analysis |
|---|---|
| UAS | The syntactic head of the evaluated word |
| LAS | Both the syntactic head and the dependency relation of the evaluated word |
For mzn, both measures are unmeasured in Mova. There is no score to report from the supplied text or from rows carrying Parse=None. The missing treebank is a statement about Mova’s holdings. It gives no inventory of resources available elsewhere.
English-tree input to frames and pragmatics
Mova’s frame, pragmatic and world processing, including prag and world, reads English trees. Mazanderani text without a dependency parse supplies no tree for those components to read. A sentence label gives the language of the input, while a parse would supply the syntactic relations those components need as input.
An English name inside a Mazanderani sentence illustrates the scope of span-level processing. If segmentation labels a span as English and the English model parses it, that parse concerns the selected span. The dependency relations of the surrounding Mazanderani clause remain unavailable. A Mazanderani parse is a prerequisite for further processing of the clause. English trees are the current input to the downstream components.
Squid's grammar claims and implementation queue
Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, wait in a queue for a place in Mova’s code. The queue records work available for implementation. A claim’s presence there gives no evidence that the parser or segmenter applies it.
A claim intended to guide annotation needs to specify the forms it covers and the conditions and exceptions that affect their analysis. For instance, an attestation of a space or a zero-width non-joiner is evidence about the written form. A token-boundary rule needs evidence for how that form and comparable forms should be represented in UD. A tagging claim similarly needs a stated context if the form’s analysis depends on its use. Such distinctions determine what can be checked later against a tokenization or tagging reference.
Evidence needed for tokenization, tagging and a dependency baseline
Tokenization evidence should retain the original form of each example so that spaces, zero-width non-joiners, punctuation and script changes can be checked against the intended token boundaries. The supplied corpus has entries at several scales, from a place name to a sentence containing a date or a second script. Names and captions can show spelling and spacing. Prose gives the surrounding context needed to decide how a form functions.
| Form | Romanization | Gloss | Translation | Corpus ID |
|---|---|---|---|---|
| میسیسیپی | Mi-si-si-pi | place.name | ‘Mississippi’ | wiki:mzn:میسیسیپی |
| فیزیکدون | fizīk-dūn | physicist | ‘physicist’ | wiki:mzn:ژان باتیست پرن |
| سال ۱۶۸۷ | sāl 1687 | year 1687 | ‘the year 1687’ | wiki:mzn:اسحاق نیوتن |
| جایزه ره | jāyeze re | prize object.marker | ‘the prize’ | wiki:mzn:سی وی رامان |
The place name and occupational noun contain zero-width non-joiners. The date expression and the phrase with ره contain visible spaces. Those observations can be checked directly against the forms. For a tokenization reference, an annotator would also need to record whether each written unit corresponds to one syntactic word or whether word segmentation requires a separate analysis. The same decisions need to cover punctuation and the boundaries of Latin-script insertions in running text.
Tagging and lemmatization need contextual examples with reference lemmas, universal and language-specific parts of speech where applicable, and any annotated morphological features. In the last example, the gloss identifies the use of ره in the cited phrase. A tagging rule based on that use would need examples that establish its distribution. A dependency annotation also needs the full clause to determine which head each word attaches to and which relation it bears.
A dependency baseline needs separate UD training and development splits with consistent decisions about tokenization, tags, features, heads and relations. The development split provides the reference for scoring the trained model. If the goal includes parsing raw text, token and sentence boundaries can also be checked against the reference, since UAS and LAS measure dependency attachment. The supplied fragments identify decisions those annotations would have to resolve.
How Mova handles Mazanderani today
tools/mova-parse assigns sentence and span labels through tools/langseg at level 1. The segmenter distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Other scripts receive other, which is the current coverage for the script of the supplied Mazanderani text. A further Latin-script language can be added with a lexicon and a Lang code, using langseg latin-lexicon with an open UD training split.
At level 2, tools/mova-parse looks up a model for each span’s language. No model exists for mzn. For a language with no model, the # parse comment reports the language and the token rows carry Parse=None in MISC, with _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL. Mova currently provides no Mazanderani tokenization, tagging, lemmatization or dependency parsing.
Mova holds no Mazanderani treebank and has measured neither UAS nor LAS for mzn. The baseline specified in What every language gets uses the en crate, with en xpos-fill before en train on the UD training split and en parse-eval on the development split. The available models are en.bin for English and fr.bin for French. Mova’s frames, pragmatics and world components read English trees. There is no Mazanderani parse to supply to them.
Squid records the manual’s grammatical points as claims and queues the formalizable ones for implementation. The grammatical rules in the manual remain unimplemented for Mazanderani. The first points for implementation are those needed for a tokenizer, a tagger and a UD treebank baseline.
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/mzn/21-mova-tools/