Mova0.6 pre-release

Romani: the Romani flag, blue over green with the red chakra 24. Vlax Romani in Mova

Mova has Vlax Romani text under the language code rmy. The package has no annotated treebank, parser model or measured parsing baseline. This chapter describes the output available today and the work that would support annotation and evaluation.

The state of the rmy package

Resource or resultState for rmy
Text examplesMova holds excerpts from Vlax Romani Wikipedia.
Annotated corpusMova holds no Vlax Romani treebank.
Level-2 parser modelNo model exists.
Parsing baselineUnlabeled and labeled attachment scores are unmeasured.

The corpus examples identify their source by article. A single identifier can recur for different excerpts from the same article. These examples document spellings and constructions in the input. They supply no reference token boundaries, part-of-speech tags or dependency trees for scoring parser output.

The package standard in What every language gets calls for the same training and evaluation baseline for each language. The rmy code identifies the package. Language recognition in running text and model availability are separate conditions in the processing pipeline.

Language segmentation and model selection

tools/mova-parse has two levels. At level 1, tools/langseg assigns a language to sentences and spans. At level 2, the parser uses the model for the language assigned to each span. It looks for the model at <code>.bin, with <code> taken from the span's language assignment. A sentence may therefore contain spans routed to different models.

For Latin script, the segmenter distinguishes English and French using a Latin character table, a lexicon for each language and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage are classified as other. Adding a Latin-script language requires a lexicon and a Lang code. langseg latin-lexicon supports building the lexicon from an open Universal Dependencies (UD) training split. Latin script alone supplies no rmy assignment.

A Vlax Romani passage may contain a short quotation in another script. The following quoted form occurs in a passage about the origin of a word. The form illustrates the distinction between the language of the passage and the script of an embedded item.

FormRomanizationGlossTranslationCorpus ID
“देशः”deśaḥcountry.NOM.SG‘country’wiki:rmy:Desi

Output for spans without a parser model

When a span's assigned language has no model file, tools/mova-parse reports the missing model in the # parse comment. For a span assigned rmy, the output rows carry the following values.

FieldValueInformation left unspecified
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneRecords that the row is unparsed

The comment reports the missing model for the language, and the MISC entry marks each affected row. An underscore in HEAD leaves the attachment unknown. An underscore in FEATS leaves the features unknown. The presence of rows establishes that the output represents the span. Vlax Romani tokenization, including decisions about word boundaries, is outside the package's current coverage.

Annotated corpus availability and the training and evaluation baseline

Mova holds no annotated Vlax Romani corpus. The Wikipedia excerpts provide text to examine when choosing annotation conventions. A training split would need annotated sentences for learning the tags and trees, and a development split would need reference annotations for evaluation. Both splits would need compatible conventions so that head and relation comparisons measure parser performance against a consistent reference.

Mova's own parser and tagger are in the en crate. In the baseline workflow, en xpos-fill precedes en train, which trains on the language's UD training split. en parse-eval evaluates on the development split. The two measures are unlabeled attachment score (UAS), which checks whether a token is attached to the reference head, and labeled attachment score (LAS), which requires both the reference head and the reference dependency relation. English and French have model files, en.bin and fr.bin. For rmy, both scores are unmeasured.

Dependencies of frames, pragmatics and world processing

Mova's frame, pragmatic and world processing takes English dependency trees as input. For an rmy span, the missing model leaves the syntactic heads and dependency relations unspecified. The downstream stages therefore have no Vlax Romani tree to read. A span label supplies a language assignment, and the output rows preserve the presence of the span. The downstream stages require syntactic input.

A parsed representation is the first dependency for processing another language. The existing readers in prag and world read English trees. The Vlax Romani package currently supplies no frame, pragmatic or world analysis through that pipeline.

Grammar claims in Squid and priorities for tokenization and tagging

Squid reads each grammatical point in the manual as a claim. Formalizable claims include rules with explicit conditions, closed inventories and statistics. These claims wait in Squid's queue for a place in Mova's code. A queued claim has the status of a candidate for implementation. The chapter's grammatical descriptions do not currently drive annotation for rmy.

Tokenization, tagging and the UD baseline are the first priorities. Tokenization needs conventions for boundaries around punctuation and numbers and for the treatment of written combinations. Tagging needs conventions for lemmas, parts of speech and features, with enough context to resolve ambiguous forms. The treebank needs head and relation annotations using the same token and tag conventions across its training and development splits. A boundary decision can change which units receive tags and which units enter the attachment comparison.

The following source fragments illustrate decisions for those conventions. The glosses describe the fragments in context.

FormGlossTranslationCorpus ID
“O Rromano lekhipen”DEF.M.SG Romani.M.SG writing‘Romani writing’wiki:rmy:Romano lekhipen
“i Rromani ćhib”DEF.F.SG Romani.F.SG language‘the Romani language’wiki:rmy:Romano lekhipen
“ando Indikano Subbarodvip”in.DEF.M.SG Indian.M.SG subcontinent‘in the Indian subcontinent’wiki:rmy:Desi
“70 000”seventy thousand‘70,000’wiki:rmy:Kale

For noun phrases, the first two fragments give contexts for the definite article forms o and i, and for recording gender on the article and adjective. The third gives a context for deciding how to represent the written combination ando, whose gloss includes both a preposition and a definite article. The last gives a context for setting boundaries in a numeral written with an internal space. Each decision needs to be expressed in a form that annotators can apply consistently before the training and development splits are used for the baseline.

How Mova handles Vlax Romani today

tools/mova-parse uses tools/langseg to assign languages to sentences and spans before selecting a level-2 model for each span. Recognition depends on the segmenter's script and lexicon coverage. For Latin script, the documented language distinction is between English and French. The route for adding another Latin-script language uses a lexicon and a Lang code, with langseg latin-lexicon available for open UD training splits.

No level-2 model exists for rmy. When a span is assigned that code, the missing model is reported in the # parse comment. Its rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and Parse=None in MISC. Mova provides no Vlax Romani tokenization, tagging, lemmatization or dependency parsing for those spans.

The package baseline uses en xpos-fill and en train on UD training data and en parse-eval to measure UAS and LAS on development data. Mova holds no annotated Vlax Romani corpus, so there is no measured rmy baseline. The English-tree readers used for frames, pragmatics and world processing have no parsed Vlax Romani input.

Squid records grammatical points as claims and queues the formalizable ones. Queueing alone supplies no parser behavior. The first claims to implement for rmy are those 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/rmy/24-mova-tools/