26. Mishnaic Hebrew in Mova
Mova assigns language labels at the sentence and span levels. Its multilingual parser reports Mishnaic Hebrew (he-x-mishnaic) spans without grammatical annotation because the language has no parser model. Mova also has no annotated Mishnaic Hebrew treebank, so its Universal Dependencies baseline is unmeasured. The output records language identification and parser availability separately.
Language identification and Hebrew-script spans
At level one, tools/langseg gives every sentence and span a language label. The span labels let Mova handle a sentence that contains more than one language. They also determine which language’s model the parser would use for each span. In a mixed-language sentence, read the span label to find out which language Mova assigns to a particular stretch of text.
Hebrew script is within the scope of the identifier, which distinguishes Hebrew-script varieties. The identifier also covers Hebrew and Aramaic in scholarly transliteration. In Latin script it distinguishes English and French using a Latin table, a lexicon for each language, and a character four-gram model. Scripts outside the identifier’s coverage receive other. For an additional Latin-script language, the extension requires a lexicon and a Lang code. langseg latin-lexicon builds the lexicon from an open Universal Dependencies training split.
A constructed example shows why the script and the language of a span are separate considerations. In the following English sentence, a Hebrew phrase supplies the object of the discussion. The example illustrates the input distinction. It carries no recorded Mova output.
(constructed)
| Line | Example |
|---|---|
| Form | The phrase הַסּוֹפֵר כּוֹתֵב is short. |
| Romanization of the Hebrew phrase | ha-sofer kotev |
| Gloss of the Hebrew phrase | DEF-scribe write.PTCP.M.SG |
| Translation of the Hebrew phrase | ‘The scribe is writing.’ |
A label on a Hebrew-script span identifies the variety Mova has assigned to that span. The label itself carries no word-by-word analysis. In the example, the gloss supplies a definite article and a masculine singular participle for the reader. Level-one output has no corresponding article segmentation or participle annotation.
Level-two parser availability and Parse=None output
At level two, tools/mova-parse selects a parser model for each span by its language code. Model availability is therefore checked for the language of the span. Mova has parser models for English and French, named en.bin and fr.bin. There is no level-two model for he-x-mishnaic. In mixed input, the absence of a Mishnaic Hebrew model applies to the Mishnaic Hebrew span. Each other span is subject to the model lookup for its own language.
When the model for a language is absent, tools/mova-parse reports that language in the # parse comment. The comment reports the missing model, and Parse=None in MISC records the status on the affected token rows. Six grammatical fields carry the underscore _.
| Field | Output for the affected rows | Information left unspecified |
|---|---|---|
| LEMMA | _ | Dictionary form |
| UPOS | _ | Universal part-of-speech tag |
| XPOS | _ | Language-specific part-of-speech tag |
| FEATS | _ | Morphological features |
| HEAD | _ | Syntactic head |
| DEPREL | _ | Dependency relation to the head |
| MISC | Contains Parse=None | The row has no parse from a language model |
The underscores in HEAD and DEPREL leave both parts of the dependency analysis unspecified. They provide no basis for finding a predicate, deciding which nominal depends on it, or counting a row as the root of a tree. The same principle applies to LEMMA, UPOS, XPOS, and FEATS. For example, a blank FEATS field leaves number and gender unspecified by the parser even when a reader can identify them in the text.
The rows that carry this status are the places where the output records the absence of annotation. Their presence alone does not supply Mishnaic Hebrew tokenization. In particular, a user cannot infer from these rows how the language would separate an attached article or preposition in a UD analysis. At the current level of support, language identification is available within the identifier’s coverage. Mishnaic Hebrew tokenization, tagging, lemmatization, and dependency parsing are unavailable.
Annotated corpus availability and the unmeasured UD baseline
An annotated corpus for the baseline is a UD treebank with a training split and a development split. The training split provides the examples from which Mova learns its tagger and tree parser. The development split supplies reference trees against which it can measure the trained model. Running language identification over Hebrew-script text can supply span labels, but these labels provide none of the reference heads or dependency relations needed for the evaluation.
The package described in What every language gets asks for the same baseline for every language. Mova’s parser is the en crate. Its baseline procedure runs en xpos-fill before en train, which trains the tree parser and tagger on the language’s UD training split. en parse-eval measures the resulting parser on the development split.
| Measure | What must match the reference analysis |
|---|---|
| Unlabeled attachment score (UAS) | The syntactic head |
| Labeled attachment score (LAS) | The syntactic head and the dependency relation |
Both scores concern syntactic attachment. A correct head with a different dependency relation satisfies the UAS criterion alone. A span label, a lemma, or a part-of-speech tag does not itself establish a correct attachment. The baseline thus measures a different stage of the system from the identification of Hebrew-script spans.
Mova holds no annotated Mishnaic Hebrew treebank. There is consequently no Mishnaic Hebrew training-to-development result for either attachment measure. Parse=None rows show where a model was unavailable at run time. They supply neither predictions nor reference annotations for computing these scores. The baseline status for both UAS and LAS is unmeasured.
Frame and pragmatics processing
Mova’s frame, pragmatics, and world processing in prag and world reads English trees. The relevant input at this stage is a parsed tree. A Mishnaic Hebrew language label and unannotated rows supply no such input. The missing level-two model therefore leaves these components without a Mishnaic Hebrew tree to read.
The distinction matters even where the interpretation is straightforward to a human reader. The following utterance has a verb and an explicit object. Its translation can be read as an instruction. Those observations illustrate the information a reader brings to the example.
(constructed)
| Line | Example |
|---|---|
| Form | כְּתֹב אִגֶּרֶת. |
| Romanization | ketov iggeret |
| Gloss | write.IMP.M.SG letter |
| Translation | ‘Write a letter.’ |
In the current Mova output for a span identified as Mishnaic Hebrew, the morphological fields supply no imperative tag or features, and the dependency fields supply no relation between the verb and the object. The frame and pragmatics components therefore have no tree for analyzing the event or the utterance as a directive. The English tier in the example is a translation for the reader. It supplies no Mishnaic Hebrew parser input.
A parsed tree is a prerequisite for processing another language downstream. The current support described for these components is English tree input. The availability of English or French parser models is a fact about the parsing stage and does not establish corresponding frame or pragmatics coverage for a Hebrew span.
How Mova handles grammar claims and queues them in Squid
Squid reads the grammar manual and turns every grammatical point into a claim. Formalizable claims, including rules, closed lists, and statistics, enter Squid’s queue to await a place in Mova’s code. Queue membership records that a claim is waiting for implementation. The manual thus supplies claims to Squid while the parser continues to depend on the models available to tools/mova-parse.
For he-x-mishnaic, Mova can identify spans where tools/langseg has the relevant script or lexicon coverage. With no model for the language, level two reports the missing parse and leaves the grammatical fields unannotated with Parse=None in MISC. Mova has no annotated treebank for the language and no measured UD baseline. Its downstream frame, pragmatics, and world processing has no Mishnaic Hebrew tree to read.
The chapter’s grammar claims remain unimplemented. The first points to take up are those needed for a tokenizer, a tagger, and a UD treebank baseline. The queue is where formalizable claims wait for that work.
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/he/he-x-mishnaic/26-mova-tools/