Mova0.6 pre-release

Yiddish: no country; an emblem, its name ייִדיש in its own letters 30. Yiddish in Mova

Mova separates language identification from grammatical analysis. Its multilingual tools cover Hebrew-script varieties at the identification stage. Yiddish (yi) has no level-two model and no treebank in Mova, so a span identified as Yiddish has no dependency tree and the package has no measured parsing baseline.

Language identification in Hebrew-script text

Level one of tools/mova-parse uses tools/langseg to assign a language to each sentence and span. The span label matters because level two selects its model separately for each span. A sentence may contain a title, a name, or a parenthetical passage in a different script from the surrounding text. The sentence label alone does not determine which model is selected for every span.

tools/langseg distinguishes Hebrew-script varieties. A Hebrew-script character therefore gives evidence about the script without uniquely identifying the language. In a mixed-script sentence, a change of script is visible even when the language of a short inserted expression is ambiguous. A Latin-script place name, for example, supplies little evidence about the language of the surrounding Hebrew-script text.

FormRomanizationGlossTranslationCorpus sentence ID
“אַרְטיקלען” (printed “אַרטיקלען”)artiklenarticle.PL‘articles’wiki:yi:הויפט זייט
“רומעניש: Satu Mare”rumenish: Satu MareRomanian: Satu.Mare‘Romanian: Satu Mare’wiki:yi:סאטמאר, רומעניע
“רוסיש: Владимир Владимирович Путин”rusish: Vladimir Vladimirovich PutinRussian: Vladimir Vladimirovich Putin‘Russian: Vladimir Vladimirovich Putin’wiki:yi:וולאדימיר פוטין

The language names in the last two examples belong to the surrounding Yiddish text. The strings after the colons are names in their original scripts. These excerpts illustrate what the input can contain. They carry no recorded span predictions.

For Latin-script English and French, tools/langseg uses a Latin table, language lexicons and a character four-gram model. A further Latin-script language can be added through a lexicon from an open Universal Dependencies (UD) training split using langseg latin-lexicon, together with a Lang code. Scholarly transliteration of Hebrew or Aramaic has separate coverage. Scripts outside the supported coverage receive other. The Hebrew-script coverage is the basis for identifying Yiddish spans described here.

Level-two model availability and Parse=None output

Level two looks for a model for the language assigned to the span. A model for a different language does not supply its analysis. If the model is missing, tools/mova-parse reports that language in the # parse comment. This is the current behavior for yi.

Every token row emitted for a Yiddish span has the following values in the grammatical columns and the indicated entry in MISC.

FieldValue
LEMMA_
UPOS_
XPOS_
FEATS_
HEAD_
DEPREL_
MISCParse=None

These fields distinguish a missing analysis from a grammatical decision. An underscore in FEATS here supplies no finding about which features the form expresses. An underscore in HEAD leaves the head unassigned, including for a word that would be the root of an annotated tree. Parse=None records the absence of a level-two parse. It is not a dependency relation or a judgment about whether the text is grammatical.

The output refers to token rows, but their presence supplies no Yiddish tokenization analysis. There is no Yiddish-specific tokenization, tagging, lemmatization or parsing at this stage. A reader can use the level-one language label to locate the span while treating the grammatical fields as unavailable.

Treebank availability and the status of UAS and LAS measurements

Mova holds Yiddish corpus text, including the Wikipedia excerpts used in this chapter. It has no annotated Yiddish corpus or treebank. The corpus IDs identify the source sentences for the examples. An ID supplies no reference token boundaries, tags, heads or dependency relations.

A UD treebank supplies human-annotated analyses against which a parser can be evaluated. Unlabeled attachment score (UAS) measures how often the parser assigns the reference head to an evaluated word. Labeled attachment score (LAS) requires both the reference head and the reference dependency relation. If a parser attaches a modifier to the right head but assigns the wrong relation, that attachment counts as correct for UAS alone. These measures address dependency attachment. They do not measure language identification, lemmatization or the quality of pragmatic interpretation.

Mova has no measured Yiddish treebank baseline, so both scores are unavailable. Parse=None is a status of the output, not an evaluation result. The package's missing scores cannot be read as zero attachment accuracy or used to compare Yiddish with a language for which a baseline has been measured. Running language identification on more Yiddish text would provide additional inputs with language labels. It would still leave the reference trees and parser predictions needed for attachment evaluation absent.

Training and evaluation through the en crate

The en crate is Mova's own tree parser and tagger. The crate name also serves as the command prefix for the shared training and evaluation workflow. English and French have models, en.bin and fr.bin, respectively. The existence of those files does not give Yiddish a model.

The package requires the same baseline workflow for every language, using its own UD data.

StageCommandRole in the baseline
Preparationen xpos-fillPrepares the data before training.
Trainingen trainTrains the tree parser and tagger on the language's UD training split.
Evaluationen parse-evalMeasures UAS and LAS on the development split after training on the training split.

The train-to-dev distinction matters because the baseline measures attachment on the development data after fitting on the training data. The development split must contain the reference heads and labels needed for the two scores. For Yiddish, there is no treebank in the package to supply those splits. The workflow describes how a Yiddish baseline would be obtained once the data exist. It has no Yiddish training or evaluation result to report.

Training and multilingual parsing address different parts of the workflow. Training produces the language model. During multilingual parsing, the span's level-one language label determines which language model is sought. A functioning identification stage can therefore coexist with a missing model, as it does for Yiddish.

Dependencies of frames and pragmatics on parsed trees

Mova's frames, pragmatics and world components read English trees. A Yiddish span with Parse=None supplies no tree to those components. The language label identifies the material that would need analysis. It provides no predicate dependencies or grammatical relations from which the components could read that analysis.

FormRomanizationGlossTranslationCorpus sentence ID
“מענטשן שטעקן זיך מיט מאלאריע”mentshn shtekn zikh mit malaryeperson.PL get.infected REFL with malaria‘people get infected with malaria’wiki:yi:מאלאריע

A reader can recognize an infection event and its participants in this excerpt. The gloss expresses a human reading of the words. The current level-two output for Yiddish does not supply the relation of the subject to the predicate or the attachment and function of the phrase headed by “מיט”. Those decisions would belong to a parsed analysis. The example therefore illustrates the information missing at the tree stage, before frames or pragmatics can use it.

Parsing Yiddish is a prerequisite for supplying trees to these components. The present components read English trees, so the existence of a Yiddish parser alone would establish a tree source without establishing downstream Yiddish coverage.

Squid claims, implementation status and baseline priorities

Squid reads the grammar manual as claims. Each grammatical point becomes a claim. The formalizable claims, including rules, closed lists and statistics, enter a queue for possible implementation in Mova. Queue membership records a point that can be formalized. Implementation requires the point to have a place in the code. A rule may thus be documented with its conditions and exceptions while the parser still leaves all of the corresponding fields empty.

The first priorities are the claims needed for a tokenizer, a tagger and a UD treebank baseline. At the tokenization stage, the question is which written forms count as units of annotation. At the tagging stage, the question is what word classes and distinctions are assigned to those units. At the treebank stage, the analyses must provide consistent heads and relations so that the same decisions can be learned from a training split and checked against a development split.

FormRomanizationGlossTranslationCorpus sentence ID
“אינעם בלוט”inem blutin.DEF.DAT blood‘in the blood’wiki:yi:מאלאריע

The printed form “אינעם” combines a preposition and a definite article. Its treatment illustrates why annotation decisions are needed before training. A specification must say how the printed form is represented in the annotated units, which tags those units carry, and how the phrase attaches in the full sentence. The gloss describes the form's grammatical makeup. It supplies no claim that Mova has already implemented the corresponding analysis.

A baseline requires those decisions in annotated data as well as a way to evaluate predictions against them. A documented contraction or dependency pattern can inform the annotation, but its appearance in the manual or in Squid's queue does not count as parser output or as a measured result.

How Mova handles Yiddish today

tools/mova-parse uses tools/langseg at level one to label sentences and spans. Its coverage of Hebrew-script varieties is relevant to Yiddish identification. At level two, yi has no model. The missing model is reported in the # parse comment, and Yiddish token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. Mova supplies no Yiddish-specific tokenization, tagging, lemmatization or dependency parsing.

Mova has no Yiddish treebank and therefore no Yiddish UAS or LAS baseline. What every language gets calls for the shared baseline through the en crate. The workflow runs en xpos-fill before en train on a UD training split, then measures attachment on the development split with en parse-eval. English and French have models in this workflow.

Mova's frames, prag and world read English trees. For Yiddish they have no parsed trees to read. Squid converts the manual's grammatical points into claims and queues the formalizable ones. Those Yiddish grammar claims have yet to be implemented. The first priorities are the rules and distinctions needed for tokenization, tagging and a UD treebank baseline.

Sources for this chapter

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