Mova0.6 pre-release

the flag of Indonesia 29. Madurese in Mova

Madurese has a grammar manual and text examples in Mova. Its language code is mad. It has no annotated treebank or trained parser model in the package, so there is no measured parsing baseline. Language identification, dependency parsing, and interpretation are separate steps, with different requirements for Madurese at each step.

Language segmentation and model selection

tools/mova-parse works at two levels. At level 1, tools/langseg assigns a language to each sentence and span. At level 2, the parser selects a model for each span using that span’s language code. This allows different spans of the same sentence to use different models when those models are available. A sentence’s language label alone does not determine the model for all its spans.

Input to the segmenterCurrent identification support
Latin scriptEnglish and French, using a Latin table, a lexicon for each language, and a character 4-gram model
Hebrew scriptDistinctions among Hebrew-script varieties
Scholarly transliterationIdentification of Hebrew or Aramaic
All other scriptsother

Madurese can appear in Latin, Carakan, and Pegon. A short title in the corpus shows the same wording in two scripts.

FormRomanizationGlossTranslation
“Wikipèḍia Madhurâ”—Wikipedia Madurese‘Madurese Wikipedia’
“ꦮꦶꦏꦶꦥꦺꦝꦶꦪꦩꦢꦸꦫ”Wikipèḍia MadhurâWikipedia Madurese‘Madurese Wikipedia’

Both forms are from wiki:mad:Tanèyan. The Romanization follows the accompanying Latin form.

The Latin-script identification mechanism currently distinguishes English and French. Adding Madurese to it requires a lexicon and a Lang code. langseg latin-lexicon builds a lexicon from an open Universal Dependencies (UD) training split. That addition would address Latin-script identification. Carakan and Pegon fall under other in the current segmenter, and identifying either as Madurese would require script or lexicon coverage for that input. A parser trained for mad would still depend on the language code assigned to a span at level 1.

Madurese package status and Parse=None

The Madurese package lacks a level-2 model file. When tools/mova-parse encounters a span labeled mad, it reports the missing model in the # parse comment. On the token rows for that span, it uses the following values.

CoNLL-U fieldValueAnalysis absent from the row
LEMMA_Lemma
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneParse status is recorded here

Parse=None records that the row has no parse because the language model is missing. An underscore in HEAD therefore supplies no evidence for a root or any other attachment. The same applies to an underscore in FEATS. It supplies no evidence about whether the form has an annotatable morphological feature. The presence of token rows also gives no assurance that Mova has analyzed Madurese word boundaries. The missing-model behavior applies to spans identified as mad. Text in a span assigned another language code follows the model selection for that code.

Mova’s Madurese text examples include material from the Madurese Wikipedia. They show forms that an annotated corpus would need to handle. The package currently has no Madurese treebank.

Treebank requirements and baseline measurements

A baseline requires UD annotations in both a training split and a development split. The training split supplies examples for learning the tagger and dependency parser. The development split supplies reference trees for evaluation on sentences held out from training. Raw text can supply sentences to annotate, but attachment scores require annotated heads and relations for comparison.

The training procedure in the en crate runs en xpos-fill before en train. en train trains the tree parser and tagger on the language’s UD training split. en parse-eval measures attachment on the development split with the resulting model. The language package specification in What every language gets asks for this baseline for every language.

MeasureA token counts as correct when
Unlabeled attachment score (UAS)Its predicted head matches the reference head.
Labeled attachment score (LAS)Its predicted head and dependency relation both match the reference annotation.

For example, assigning a nominal the correct head with the wrong dependency relation earns credit for its attachment under UAS only. Both measures evaluate dependency structure. Neither gives a score for language identification, frame assignment, or pragmatic interpretation. Madurese has no measured UAS or LAS in Mova because it has no annotated treebank.

The training and development annotations need compatible decisions about word boundaries, tags, and dependencies. Even short excerpts give concrete cases for those decisions.

FormGlossTranslationCorpus ID
“ta' terro”NEG want‘does not want’wiki:mad:Nadia Omara
“è Bandung”in Bandung‘in Bandung’wiki:mad:Adhitia Sofyan
“sè èduccol”REL PASS-release‘which was released’wiki:mad:Ade Manuhutu

NEG marks negation, REL marks a relative-clause marker, and PASS marks passive voice. The first excerpt has a word-final apostrophe. The second and third show the written contrast between a separate è before a place name and è attached to a verb. Annotation needs to preserve the relevant distinction when assigning token boundaries, tags, and dependencies. The excerpts illustrate input for annotation. They supply no reference trees for evaluation.

Frames and pragmatics for languages beyond English

A dependency tree gives the syntactic links that later analysis can use to interpret a clause. Frame analysis concerns the situation expressed and the roles of its participants. Pragmatic analysis concerns what an utterance does or conveys in context. For example, the dependency structure of a release clause can help locate the expression for what was released. Interpreting the utterance as an announcement would require evidence about its use in context.

Mova’s frame, pragmatics, and world components read English trees. A language with no parse supplies no tree to those components. A Madurese parser would provide syntactic input, but support for interpreting Madurese trees would have to be established separately. In particular, the UD labels on a parsed clause give its syntactic relations. Interpreting them in a frame requires identifying the predicate and mapping its dependents to roles in that frame.

The distinction also matters for evaluation. Agreement with UD reference trees would measure how well the parser recovers syntactic attachments. Interpreting a Madurese utterance would require separate evidence for the frame or pragmatic reading assigned to it.

Squid claims and the implementation queue

Squid reads the grammar manual and turns each grammatical point into a claim. A claim can record a form and its conditions, the members of a closed list, or a statistic. Formalizable claims, including rules, closed lists, and statistics, wait in Squid’s implementation queue for a place in Mova’s code. A queued claim records a specification awaiting implementation. It supplies no runtime behavior or evaluation result.

For Madurese, the first implementation needs concern tokenization, tagging, and the UD treebank baseline. Tokenization needs word-boundary decisions, including treatment of punctuation next to forms that contain an apostrophe. Tagging needs distinctions that apply to the resulting tokens. The treebank needs corresponding annotations for training and evaluation. The examples above illustrate why those decisions have to agree. Splitting an apostrophe from a word, for instance, changes the token sequence to which the tag and dependency annotations apply.

A corpus example supports a claim about the forms it contains. A baseline measures what a trained model recovers on the annotated development split. Madurese currently has the former kind of evidence in its text examples. The grammatical points can enter Squid’s queue while the annotated data and model needed for the baseline are still absent.

How Mova handles Madurese today

tools/mova-parse uses tools/langseg at level 1 to label sentences and spans by language. Its current coverage is English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Other scripts receive other. Identification of Madurese spans depends on script or lexicon coverage. A further Latin-script language can join through a Lang code and a lexicon made from an open UD training split with langseg latin-lexicon.

At level 2, tools/mova-parse uses each span’s language code to select its model file. There is no mad model. For spans labeled mad, the # parse comment reports the missing model, LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL are _, and MISC carries Parse=None. In this state Mova does not tokenize, tag, lemmatize, or parse Madurese.

Mova’s en crate provides the common training and evaluation procedure. en xpos-fill precedes en train on a language’s UD training split, and en parse-eval measures UAS and LAS on the development split. English and French have models, en.bin and fr.bin. What every language gets asks for the same baseline for each language. Mova has no annotated Madurese treebank and has measured no Madurese baseline.

Mova’s frame, pragmatics, and world components, including prag and world, read English trees. They have no Madurese tree to read. Squid reads the manual, turns grammatical points into claims, and queues those that can be formalized. None of the chapter’s Madurese rules is implemented. The first points needed are those for a tokenizer, a tagger, and a UD treebank baseline.

Sources for this chapter

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