Mova0.6 pre-release

Transylvanian Romanian: the historical arms of Transylvania, the eagle, the sun and the moon over seven castles 25. Transylvanian Romanian in Mova

Transylvanian Romanian has a grammar manual in Mova under the edition code ro-x-transylvanian. The multilingual parser has no parsing model for this code, and Mova holds no annotated treebank for it. The manual supplies grammatical claims for Squid to record. Language identification, dependency parsing, and interpretation in terms of frames and pragmatics have their own requirements.

Language identification and the multilingual parser

The multilingual parser, tools/mova-parse, works at two levels. At level 1, tools/langseg assigns a language label to every sentence and span. At level 2, the parser looks for a model for the language assigned to the span. A sentence with spans assigned to different languages can therefore require more than one model. The language label records the result of identification. A dependency analysis requires the model lookup and parsing step as well.

InputDistinctions made by tools/langseg
Latin scriptEnglish and French, using the Latin table, a lexicon per language, and a character 4-gram model
Hebrew scriptHebrew-script varieties
Scholarly transliterationHebrew or Aramaic
Other scriptsother

Transylvanian Romanian is written in Latin script. The Latin-script language coverage described here is English and French, so the edition code ro-x-transylvanian gives no assurance that the identifier will recognize a Romanian span and assign that code to it. The route for adding a Latin-script language requires a lexicon and a Lang code. The langseg latin-lexicon command uses open Universal Dependencies (UD) training splits as the source for lexicon entries. Adding identification support addresses level 1. Level 2 still needs the model for that language code.

The following example uses ordinary Romanian spelling. It illustrates the input to the system without making a claim about which label the identifier would assign to this particular sentence.

FormGlossTranslation
Am ajuns acasă.have.PRS.1SG arrive.PTCP home‘I arrived home.’ (constructed)

Package status and unannotated parser output

No level-2 model exists for ro-x-transylvanian. When a span is assigned a language whose model is missing, tools/mova-parse reports the missing model in the # parse comment. The token rows for that span carry the following values.

FieldValueAnnotation represented by the field
LEMMA_Lemma
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
MISCParse=NoneStatus indicating that no parse is available

An underscore in FEATS leaves the token’s morphological features unspecified. The same reading applies to LEMMA and the two part-of-speech fields. With both HEAD and DEPREL empty for the span, the rows supply no dependency tree. Parse=None makes that status explicit at token level, while the comment reports the model problem. The presence of token rows in this output gives no validation of Transylvanian Romanian word boundaries. The edition has no implemented language-specific tokenization, tagging, lemmatization, or parsing in this state.

These fields describe the outcome for a span assigned to a language with a missing model. The script and lexical knowledge of the identifier determine whether it can first recognize the span as belonging to that language.

Treebank availability and the unmeasured parsing baseline

Mova holds no annotated corpus for ro-x-transylvanian. A treebank for the edition would supply sentences with reference annotations against which a trained parser could be evaluated. A split for training provides examples from which the parser and tagger learn. A development split supplies reference analyses for the baseline evaluation. Neither a set of example sentences in this manual nor an unannotated parser output supplies those reference analyses.

The package specification in What every language gets asks for the same baseline for every language. In Mova’s en crate, en xpos-fill precedes training on the UD training split. en train trains the tree parser and tagger. en parse-eval measures unlabeled and labeled attachment on the development split using the model trained on the training split.

MeasureWhat counts as a correct attachment
UAS, unlabeled attachment scoreThe parser selects the reference head.
LAS, labeled attachment scoreThe parser selects the reference head and assigns the reference dependency relation.

The shared procedure specifies how a baseline would be obtained for this edition. Mova has measured neither UAS nor LAS for ro-x-transylvanian. A missing result supplies no numerical estimate of parsing accuracy. The English and French models, en.bin and fr.bin, are models for their respective languages and provide no evaluation result for Transylvanian Romanian.

Grammar claims and the Squid queue

Squid reads the manual and records each grammatical point as a claim. Formalizable claims enter a queue for implementation in Mova. These include rules, closed lists, and statistics. For a rule, the conditions and exceptions determine where the rule applies. For a closed list, the entries determine its membership. A statistic describes a specified quantity and has to be read with the scope in which it was stated.

An example in the manual illustrates the claim beside it. Its gloss can make a distinction explicit for the reader without supplying the annotations of a treebank sentence. In the example below, the gloss represents negation and first-person singular agreement. A parser would need its own analysis to fill the corresponding fields in an output row.

FormGlossTranslation
Nu știu.NEG know.PRS.1SG‘I don’t know.’ (constructed)

The queue records formalizable claims awaiting a place in the code. A claim’s presence there gives no guarantee of behavior in a parser run. For the current edition, the first implementation needs concern the input to a tokenizer, the distinctions a tagger must represent, and the annotation required for a UD baseline. A documented rule can guide this work while the parser output for the edition remains unannotated.

Frames and pragmatics in the current pipeline

Mova’s frame, pragmatics, and world components, including prag and world, read English trees. Identification of a span supplies a language label. The missing-model output supplies an explicit parse status and leaves the syntactic fields empty. For Transylvanian Romanian, this means that the current pipeline supplies no tree for those components to read.

The distinction matters when interpreting output. A missing dependency analysis gives no evidence about which frame a sentence expresses or how it should be understood in context. The description of a speech act, a reference relation, or a figurative use in the manual remains a description of the language. It supplies no runtime analysis of an occurrence in a text. A parsed tree is a prerequisite for processing another language downstream. Current tree-reading support is for English.

How Mova handles Transylvanian Romanian

tools/mova-parse uses tools/langseg at level 1 to assign a language to each sentence and span. Identification is limited to the script or lexical distinctions the identifier knows. In Latin script it distinguishes English and French using its Latin table, per-language lexicons, and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside that coverage are other. A further Latin-script language requires a lexicon and a Lang code, with langseg latin-lexicon using open UD training splits.

At level 2, tools/mova-parse uses the model for the language assigned to each span. There is no model for ro-x-transylvanian. The parser reports the missing model in the # parse comment and gives its tokens _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, with Parse=None in MISC. The edition has no implemented tokenization, tagging, lemmatization, or dependency parsing.

The baseline requested by What every language gets uses the en crate. After en xpos-fill, en train trains a tree parser and tagger on the UD training split, and en parse-eval measures UAS and LAS on the development split. Models exist for English (en.bin) and French (fr.bin). Mova holds no treebank for Transylvanian Romanian and has measured no baseline for it.

Squid turns the manual’s grammatical points into claims and queues formalizable rules, closed lists, and statistics for implementation. The chapter’s rules are still unimplemented. The first work concerns what a tokenizer, a tagger, and a UD treebank baseline need. Mova’s frames, pragmatics, and world components, including prag and world, read English trees. Transylvanian Romanian currently supplies no parsed trees to those components.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/ro/ro-x-transylvanian/25-mova-tools/