22. Moldovan in Mova
Mova uses ro-x-md for the Moldovan edition. The package currently lacks a Moldovan parser model and an annotated corpus. This chapter explains how those gaps affect multilingual output, which analyses a first treebank would need to settle, and what later stages of interpretation depend on.
Language identification and script coverage
The multilingual pipeline assigns languages to sentences and spans at level one. At level two, it uses the model for the language assigned to each span. The first decision determines which model the parser looks for. In a mixed-language sentence, recognizing one span therefore does not establish coverage for the others.
Moldovan text can appear in Latin or Cyrillic. The edition code identifies the language package. Script recognition is a separate decision, and recognizing a script does not by itself identify a language. For Latin text, tools/langseg currently distinguishes English and French. Adding another Latin-script language requires a Lang code and a lexicon. The open UD training split is the source used by langseg latin-lexicon. Latin Moldovan text has no dedicated identification support in the current segmenter. Cyrillic falls under other, so a Cyrillic Moldovan span receives no Moldovan identification from its script.
The two forms below show the same sentence in the two scripts (constructed).
| Script | Form | Romanization | Gloss | Translation |
|---|---|---|---|---|
| Latin | Mama citește. | — | mother.DEF read.PRS.3SG | ‘Mother is reading.’ |
| Cyrillic | Мама читеште. | Mama citește. | mother.DEF read.PRS.3SG | ‘Mother is reading.’ |
Being able to read the Cyrillic form in Latin letters illustrates a correspondence between spellings. Automatic identification of either form as ro-x-md still depends on language coverage in level one.
Missing level-two model and Parse=None output
Level two needs a model file for the assigned language. Since there is no ro-x-md model, tools/mova-parse reports the missing model in the # parse comment when a span is assigned that code. The rows it returns for the span have the following values.
| CoNLL-U field | Value for the unparsed span | Annotation left unset |
|---|---|---|
| LEMMA | _ | Dictionary 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 the absence of a parse |
The rows carry text through the output with a missing-analysis marker. Their presence supplies no evidence that Moldovan word boundaries have been resolved. In particular, an underscore in HEAD leaves the head unknown. A root in an annotated UD tree has HEAD 0 and the relation root. For a mixed-language text, read the missing-model report in relation to the affected span, since model selection takes place span by span.
Treebank availability and the unmeasured UAS and LAS baseline
Mova holds no annotated treebank for ro-x-md. Its standard baseline uses a UD training split to fit the parser and tagger and a development split to evaluate the parser against reference trees. With no Moldovan train and development splits in Mova, both attachment scores are unmeasured.
| Measure | What counts as correct for an evaluated word | Moldovan baseline |
|---|---|---|
| UAS, unlabeled attachment score | The predicted head matches the reference head. | Unmeasured |
| LAS, labeled attachment score | The predicted head and dependency relation both match the reference annotation. | Unmeasured |
The package workflow runs en xpos-fill before en train and uses en parse-eval for the train-to-development evaluation. The two scores concern attachment. Each measure depends on reference head annotations, and LAS also depends on reference relation labels. Output marked Parse=None supplies no predicted attachments for such a comparison. A score from a different language package would describe that package's model and evaluation data.
Tokenization, tagging and parsing priorities
The first priority is a consistent account of the units the treebank will annotate. A written form can contain more than one syntactic word, and punctuation at an abbreviation or in a number can affect segmentation. A Moldovan treebank would need conventions for hyphens adjoining clitics and auxiliaries, sentence boundaries around abbreviations, and punctuation within numbers. For material in both scripts, it would also need to specify how the original written forms are represented and how equivalent grammatical units are annotated.
The following examples expose two boundary decisions (constructed).
| Form | Gloss | Translation |
|---|---|---|
| N-am citit. | NEG-have.PRF.1SG read.PTCP | ‘I did not read.’ |
| Am citit-o. | have.PRF.1SG read.PTCP-3SG.F.ACC | ‘I read it.’ |
In n-am, the hyphen links reduced negation to the finite auxiliary. In citit-o, it links the participle to an object clitic. The segmentation convention has to account for the grammatical units in each construction. Those units then need lemmas and tags that identify the function each form has in context.
For tagging, early coverage would include nominal gender and number, definiteness and case, finite and nonfinite verb forms, auxiliaries, pronouns and clitics. For parsing, the corresponding annotation decisions include the attachment of auxiliaries, the head and relation of object clitics, and the structure of nominal phrases and clauses. A construction with an omitted subject still needs an analysis of the words present. A clause containing both a clitic and a full expression for the same object needs a convention for the relation assigned to each. The training and development splits need to follow the same conventions so that a head or label mismatch has a consistent interpretation in evaluation.
Squid claims and the implementation queue
Squid reads the grammar manual and records its grammatical points as claims. Formalizable rules, closed lists and statistics enter an implementation queue. The queue records material for possible use in Mova's code. A queued claim does not establish that a component applies it.
A tokenization claim needs to specify the written forms and contexts that trigger a boundary. A tagging claim needs to state which analysis a form receives and what context resolves an ambiguity. A parsing claim needs to specify the construction, the words involved and the conditions for assigning a head and relation. For instance, a claim about the hyphen in citit-o can identify the attached object clitic, but assigning its dependency also requires identifying the predicate it belongs to. Stating the conditions and exceptions in the grammar makes the proposed analysis explicit. A treebank supplies annotated instances, and development-set evaluation measures how the trained model applies the annotation conventions.
Dependencies for frames, pragmatics and world interpretation
A dependency tree gives downstream analysis starting points for identifying predicates, their arguments and the links between clauses. For example, an object relation can connect a clitic to its predicate. Resolving the entity the clitic refers to may still require the preceding discourse. Likewise, a clause can carry the form of a question while functioning as a request. These distinctions concern what later analyses need to infer from syntax and context.
Mova's current frame, pragmatic and world interpretation stages read English trees. For Moldovan, a parsed tree is the first prerequisite. The current Parse=None output supplies no Moldovan dependencies for those stages. A treebank and an attachment baseline would establish and measure syntactic coverage. Those measurements would concern heads and relations, leaving frame assignment, interpretation in discourse and reference resolution outside the scope of UAS and LAS.
How Mova handles Moldovan today
tools/mova-parse runs language identification at level one through tools/langseg, which assigns a language to each sentence and span. The segmenter distinguishes English and French in Latin script using a Latin table, language lexicons and a character 4-gram model. It also recognizes Hebrew-script varieties and scholarly transliterations of Hebrew or Aramaic. Scripts outside its coverage are classified as other. A further Latin-script language requires a Lang code and a lexicon from open UD training data through langseg latin-lexicon. Moldovan has no dedicated Latin identification support, and Cyrillic is classified as other.
At level two, tools/mova-parse uses the model corresponding to the language of each span. There is no model for ro-x-md. For a span assigned that code, the # parse comment reports the missing model, and the token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Mova provides no Moldovan tokenization, tagging, lemmatization or dependency parsing.
The en crate provides Mova's tree parser and tagger. en train trains both on a language's UD training split after en xpos-fill, and en parse-eval measures UAS and LAS on the development split. The available models are English en.bin and French fr.bin. The package requirements in What every language gets call for the same baseline for each language. Mova has no Moldovan treebank, so the Moldovan baseline is unmeasured.
Squid turns the manual's grammatical points into claims and queues those that can be formalized. The Moldovan rules have no implementation yet. The first implementation priorities are the points needed for tokenization, tagging and a UD treebank baseline. Mova's frames, pragmatics in prag and world interpretation in world read English trees. Without a Moldovan parse, they have no Moldovan tree to read.
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/ro/ro-x-md/22-mova/