Mova0.6 pre-release

the flag of China 27. Eastern Min in Mova

Mova’s multilingual parser has no Eastern Min (cdo) model, and Mova holds no annotated Eastern Min treebank. An output span can carry a language label and still lack a dependency analysis. This chapter describes what the pipeline records in that case, which measurements are missing, and what a first Eastern Min baseline would need.

Language segmentation and the limits of current script and lexicon coverage

Language segmentation assigns a label to each sentence and to spans within the sentence. A span groups text for dispatch to a language model. Its boundaries do not establish the boundaries between grammatical words. The multilingual pipeline uses the span label to select the model for its next stage.

The current coverage of tools/langseg is as follows.

Input coveredBasis for classification
English and French in Latin scriptA Latin-script table, a lexicon for each language and a character 4-gram model
Varieties written in Hebrew scriptThe segmenter’s coverage of Hebrew-script varieties
Hebrew or Aramaic in scholarly transliterationThe segmenter’s coverage of those transliterations
Scripts outside the segmenter’s coverageThe label other

Fuzhou romanization uses Latin letters, but Latin-script coverage alone does not identify a span as Eastern Min. In particular, the English and French resources do not supply an Eastern Min lexicon. The current route for adding another Latin-script language is to add a lexicon and a Lang code. The langseg latin-lexicon command builds a lexicon from an open Universal Dependencies (UD) training split. Chinese-character Eastern Min falls under other in the stated script coverage. Extending Latin-script identification would therefore address only the romanized material.

The corpus text illustrates why both forms of writing matter. In wiki:cdo:Dŭng-săng Nâi-iŏng, the romanized form “Nĭk-buōng-nè̤ng” has the gloss Japan-person and means “a Japanese person.” In wiki:cdo:新海誠, the character form “日本儂” has the same reading, Nĭk-buōng-nè̤ng, the gloss Japan-person and the same translation. The paired forms illustrate a coverage requirement. Neither the spelling nor the article identifier supplies a measured result for span classification.

The multilingual parser and missing cdo model

tools/mova-parse has two levels. Level 1 uses tools/langseg to label sentences and spans. Level 2 looks up a model by the language code of each span. When the corresponding model exists, that model supplies the span’s analysis. The lookup is span-specific, so a model available for one span does not supply the analysis for a neighboring span with a different label.

The en crate provides Mova’s tree parser and tagger. The available model files are en.bin for English and fr.bin for French. There is no level-2 model for cdo. When the parser encounters a span with a language code for which it has no model, it reports the missing model in the # parse comment and emits the unannotated fields described below.

The missing-model behavior is conditional on the span label used for lookup. For an Eastern Min passage, recognition by the segmenter and availability of a cdo model are separate requirements. The absence of the model explains why a span sent to level 2 as cdo cannot receive an Eastern Min analysis. It does not establish how level 1 labels a particular passage in either writing system.

Unannotated output and Parse=None

When the span’s model is missing, the output uses the following values on its token rows. The sentence-level # parse comment reports the missing model. The token-level Parse=None entry records the absence of a parse on the row where it appears.

FieldValueInformation left unassigned
LEMMA_Lemma
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneThe entry records that the row has no parse

Read these values together. For example, _ in HEAD makes no assertion about the row’s governor or root status. _ in FEATS leaves the features unassigned and provides no evidence about which features the form could have. An output row preserves material for inspection, but its presence gives no confirmation that Eastern Min word boundaries were identified. In particular, an output with Parse=None cannot be used to count Eastern Min lemmas, parts of speech or dependency relations.

Treebank availability and the training and evaluation baseline

Mova holds no Eastern Min UD treebank. The supplied Eastern Min corpus excerpts illustrate orthography and constructions, but they do not provide the annotated training and development splits needed for a baseline. A training split supplies reference word boundaries, tags and dependencies for learning. A development split supplies reference analyses against which the trained model’s predictions can be compared.

The language package described in What every language gets calls for the same baseline for every language. The sequence starts with en xpos-fill, followed by en train on the UD training split. en parse-eval then measures attachment on the development split. The direction is from training data to development data.

MeasureWhat counts as a correct attachment
UAS, unlabeled attachment scoreThe predicted head matches the reference head.
LAS, labeled attachment scoreBoth the predicted head and the dependency relation match the reference analysis.

There is no measured Eastern Min treebank baseline. The lack of a UAS or LAS value reflects the absence of an evaluation against annotated development data. Parse=None is an output status and supplies neither a score nor an attachment to compare with a reference tree. Results from a future baseline would describe the data in its training and development splits. Coverage of character text, romanized text and passages combining them would depend on what those splits contain.

Frames and pragmatics for Eastern Min input

Mova’s frame, pragmatics and world components, including prag and world, read English dependency trees. An Eastern Min span that has reached the missing-model branch supplies no dependency tree for them to read. Its language label, preserved text and Parse=None entry supply no head or relation from which to recover the predicate and its dependents.

For example, the phrase “Huák-guók gì siŏh ciáh gáung-kìng-gă” in wiki:cdo:Richard Clayderman has the gloss France LINK one CL pianist and means “a French pianist.” Here LINK marks the link between the modifier and the nominal expression, and CL stands for classifier. A reader can recover the description from the phrase in context. The unannotated output supplies no dependency analysis of that description to the downstream components. A cdo tree would supply a syntactic input that is currently missing. The stated downstream coverage remains English trees.

Squid claims and the implementation queue

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, enter its queue for implementation in Mova. Entry in the queue records work awaiting a place in the code. An Eastern Min rule described in the manual has no implemented effect on the pipeline today.

A claim should retain the conditions that make the grammatical statement true. A rule about the distribution of a form needs the environments and exceptions that limit it. A closed list needs every member within its stated scope. A statistic needs a defined population and unit of counting. Those distinctions matter to implementation. A claim about a written boundary could guide tokenization, whereas a claim about a syntactic relation would need a corresponding annotation decision. A corpus example can illustrate either claim, but a single occurrence cannot establish the full distribution of a form.

Priorities for tokenization, tagging and Universal Dependencies

The first priorities are the decisions needed to build a tokenizer, a tagger and an annotated baseline. These decisions depend on one another. Word boundaries determine which units receive tags and which units become nodes in a dependency tree. A consistent boundary convention across training and development data lets the evaluation compare analyses of the same units.

AreaDecisions needed for a baseline
TokenizationDefine word boundaries for unspaced character text and for romanized text with spaces and hyphens. Specify how punctuation, numeral strings, names and parenthetical material are represented.
Lemmas and tagsDefine the scope of lemma normalization across attested spellings. Assign universal parts of speech by grammatical use and document any language-specific tags and applicable feature values.
UD relationsDefine heads and relations for recurrent constructions, including classifier phrases, nominal modification, predicate complements and linked clauses. Apply the analysis consistently in the training and development splits.
EvaluationUse annotated training and development splits and record the writing systems and constructions they cover. Measure UAS and LAS on the development split with the model trained on the training split.

For tokenization, “gáung-kìng-gă” in wiki:cdo:Richard Clayderman has the gloss piano-specialist and means “pianist.” The written hyphens occur within this nominal expression. The annotation convention needs to say when a written hyphen is internal to a word and when a boundary divides two annotation units. Character text raises the complementary boundary question where a written sequence has no spaces. Consistent annotation requires decisions about grammatical words in both cases.

For tagging and dependencies, “8 ciáh siăng-diêu” in wiki:cdo:Chék Lìng Báik Ĭng has the gloss eight CL tone and means “eight tones.” The annotation needs to distinguish the functions of the numeral, the classifier and the counted noun, then state how those items attach. An analysis of the same construction should carry over to another numeral or noun when the relevant conditions are the same. These are decisions for the treebank and the first parser baseline. They have no implemented Eastern Min analysis in Mova today.

How Mova handles Eastern Min today

tools/mova-parse calls tools/langseg to assign language labels to sentences and spans, then selects a parser model by each span’s language code. Identification is limited by the segmenter’s script and lexicon coverage. Its Latin-script resources distinguish English and French through a Latin table, language lexicons and a character 4-gram model. It also covers Hebrew-script varieties and scholarly transliterations of Hebrew and Aramaic. Other scripts receive other. Adding a Latin-script language uses a lexicon and a Lang code, with langseg latin-lexicon available to build lexicons from open UD training splits.

Eastern Min has no cdo parser model. For a span identified as cdo, tools/mova-parse reports the missing model in the # parse comment, fills LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL with _, and records Parse=None in MISC. Mova provides no Eastern Min tokenization, tagging, lemmatization or dependency parsing. Its frames, prag and world read English trees and have no Eastern Min tree to read.

Mova holds no Eastern Min treebank, so it has no measured treebank baseline for cdo. The baseline called for in What every language gets uses en xpos-fill, trains the tree parser and tagger on a UD training split with en train, and measures UAS and LAS on the development split with en parse-eval. The available models are en.bin and fr.bin.

Squid turns the manual’s grammatical points into claims and queues the formalizable ones. Queue membership leaves a claim awaiting implementation. None of the Eastern Min rules in the manual is implemented. The first points to implement 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/zh/cdo/27-mova-tools/