Mova0.6 pre-release

the flag of Hong Kongthe flag of Macau 32. Cantonese in Mova and Squid

Mova has Cantonese text samples, but it has no Cantonese language identification in tools/langseg, no annotated Cantonese treebank holdings, and no trained yue parser model. This chapter describes what the multilingual pipeline can report, what a Cantonese Universal Dependencies (UD) baseline would measure, and how Squid records grammatical points for subsequent implementation.

Language and script coverage in langseg

Level 1 of tools/mova-parse uses tools/langseg to assign language labels to sentences and spans. For Latin-script text, English and French are distinguished using a Latin table, a lexicon for each language, and a character 4-gram model. The segmenter also distinguishes Hebrew-script varieties and recognizes Hebrew and Aramaic in scholarly transliteration. Scripts outside the supported set fall under other.

Cantonese in Chinese characters falls under other. This label gives no Cantonese identification and does not distinguish Cantonese from other languages written with Chinese characters. The process for adding a Latin-script language uses a lexicon built from open UD training splits with langseg latin-lexicon and adds a Lang code. The stated coverage provides no Cantonese recognition through a romanization lexicon. A Jyutping rendering in this chapter gives the reading of an example and carries no implication about what language label the segmenter would assign it.

A Cantonese document can contain other scripts and numerals within a single expression. For example, the following phrase combines an Arabic digit with Chinese characters (Mova corpus wiki:zh_yue:首都 (住宅)).

FormJyutpingGlossTranslation
3房設計saam1 fong2 cit3 gai3three room designthree-bedroom layout

The reading saam1 is supplied for 3 in context. The digit alone gives no Cantonese language identification. A document’s corpus label and a language label assigned to a span by tools/langseg are separate pieces of information. In particular, a document catalogued as Cantonese can include material whose script falls outside Cantonese writing while its Chinese-character spans still receive other.

The yue model lookup and unannotated Parse=None output

Level 2 of tools/mova-parse dispatches by span language. For a language code, the lookup uses the model directory for that code under $MOVA_DATA and a binary named with the same code. The general form is <code>.bin. The Cantonese model would be yue.bin in the models directory for yue. That model is absent.

Language recognition and model lookup are separate conditions. A span labelled other has not been identified as yue by level 1. When a span is handled as yue, level 2 has no model for it and records the missing model in the # parse comment. On the token rows it emits for such a span, the grammatical fields have the following values.

FieldValueAnnotation unavailable
LEMMA_Lemma
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological feature values
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneThe row records that parsing was unavailable

The comment reports the model’s absence. Parse=None records the consequence on each affected row. There is no prediction in the blank annotation fields. For instance, a blank HEAD supplies no evidence for identifying a root, and a blank FEATS supplies no evidence about a word’s grammatical features. The existence of output rows likewise supplies no evidence that their boundaries follow Cantonese word segmentation.

Treebank holdings and the absent Cantonese baseline

UD Cantonese-HK is a publicly documented Cantonese treebank in UD release 2.16. Its documentation is an external reference for Cantonese UD annotation. Mova does not hold this treebank or any other annotated Cantonese corpus, so the existence of the public release does not supply a local train split, development split, or measured baseline (Universal Dependencies contributors 2025, § Summary).

The Cantonese Wikipedia extracts in Mova’s corpora are text samples. They can illustrate inputs that a Cantonese pipeline would need to handle, including vernacular constructions, names, numerals, and captions. The supplied samples give no reference token boundaries, tags, or syntactic dependencies for training or scoring. For example, the following noun phrase occurs in a caption (Mova corpus wiki:zh_yue:中新廣州知識城).

FormJyutpingGlossTranslation
中新廣州知識城嘅歡迎標記zung1 san1 gwong2 zau1 zi1 sik1 sing4 ge3 fun1 jing4 biu1 gei3Sino-Singapore Guangzhou Knowledge City ADN welcome signa welcome sign for the Sino-Singapore Guangzhou Knowledge City

ADN marks the adnominal particle in the gloss. The gloss explains the phrase for a reader. To use the passage as a UD reference item would require explicit decisions about word boundaries in the name and elsewhere, part-of-speech labels, and the attachments that link the modifier to the head. Those decisions are absent from the sample as supplied.

The baseline requested in What every language gets is a train-to-development evaluation. Cantonese has no measured baseline, so there are no Cantonese UAS or LAS values to report. The amount of raw example text, the availability of an external treebank, and the accuracy of a model on a development split answer different questions. Only the last would quantify a Cantonese parser baseline.

Tokenization, tagging and the UD training and evaluation workflow

Sentence and span labelling determines which language model the multilingual parser should try to use. Cantonese word tokenization would determine the units to which the tagger and parser assign grammatical information. For Chinese-character text, a span boundary does not resolve where words begin and end inside the span. Neither the existence of a corpus entry nor its display as unannotated rows establishes a Cantonese tokenization.

The following excerpt illustrates a boundary and tagging decision that matters even in a short predicate. The character 咗 follows the verb and marks perfective aspect (Mova corpus wiki:zh_yue:衡陽電視台資訊頻道).

FormJyutpingGlossTranslation
發佈咗份停播公告faat3 bou3 zo2 fan6 ting4 bo3 gung1 gou3issue PFV CL stop.broadcast noticeissued a notice that broadcasting would cease

PFV means perfective and CL means classifier. The gloss identifies those grammatical functions. A UD baseline requires reference decisions about the syntactic words, their tags, and their dependencies. The interlinear gloss by itself does not encode those decisions.

The en crate provides Mova’s training and evaluation workflow. In order, en xpos-fill prepares the UD data, en train trains a tree parser and tagger on the language’s training split, and en parse-eval measures dependency attachment on the development split. Existing models are en.bin for English and fr.bin for French. What every language gets calls for the same baseline across languages.

MeasureWhat a correct prediction requires
UAS, unlabeled attachment scoreThe predicted head agrees with the reference head.
LAS, labeled attachment scoreThe predicted head and dependency relation both agree with the reference annotation.

These are scores for syntactic attachment. Neither is a separate measure of sentence or span language identification, word segmentation, tagging, or lemmatization accuracy. For Cantonese, the workflow has no locally held annotated data to train and evaluate on, and the resulting model and attachment measurements are both absent.

Frames and pragmatics coverage

Mova’s frames, pragmatics, and world components read English trees. For Cantonese there is no parsed input for these components. A raw excerpt may express an event, an assertion, a request, or another discourse function that a reader can identify. Mova’s current Cantonese output contains no tree from which the downstream components can derive such an analysis.

The following excerpt contains the request marker 請 followed by the verb 睇 (Mova corpus wiki:zh_yue:株洲電視台公共頻道).

FormJyutpingGlossTranslation
請睇cing2 tai2please lookPlease see …

In the source passage, a channel name follows this expression. The translation shows the request conveyed by the excerpt in that setting. In the pipeline, a span language label or Parse=None provides no dependency link between the request expression and its object. The current English-tree coverage of the downstream components is a separate limit from the missing Cantonese parser. Producing a Cantonese tree would supply a prerequisite for downstream work.

Squid claims, queued rules and implementation status

Squid reads the grammar manual and represents every grammatical point as a claim. Formalizable claims, including rules, closed lists, and statistics, wait in Squid’s queue for a place in Mova’s code. The presence of a claim records a grammatical point or measurement statement in the manual. A queued claim still awaits implementation.

This distinction matters for examples like the perfective predicate above. A description can specify the position and function of an aspect marker. Cantonese support would require operational decisions about locating that marker in text, assigning its tag, and relating it to the predicate in an annotated tree. The grammatical description alone does not make any of those annotations appear in tools/mova-parse output.

The first points for implementation are those needed for a tokenizer, a tagger, and an annotated UD baseline. They give the pipeline units to annotate, labels to predict, and reference trees against which to measure those predictions. Cantonese descriptions in the manual have claim status. There is no implemented Cantonese rule coverage from those descriptions, and no measured Cantonese baseline.

How Mova handles Cantonese texts today

At level 1, tools/mova-parse uses tools/langseg to label sentences and spans. tools/langseg distinguishes English and French in Latin script using its Latin table, language lexicons, and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes scholarly transliteration of Hebrew and Aramaic. Other scripts receive other, which is the outcome for Cantonese in Chinese characters. Adding a Latin-script language uses a lexicon from open UD training data via langseg latin-lexicon and a Lang code.

At level 2, tools/mova-parse looks for the span language’s model under $MOVA_DATA. There is no yue model. For a span handled as yue, the missing model is reported in the # parse comment, and the output rows carry _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, with Parse=None in MISC. Mova provides no Cantonese word tokenization, tagging, lemmatization, or dependency parsing.

Mova holds no annotated Cantonese treebank and has measured no Cantonese baseline. What every language gets calls for the same train-to-development baseline for each language. In the en crate, en xpos-fill precedes training with en train, and en parse-eval measures UAS and LAS. The available models are en.bin and fr.bin.

Mova’s frames, pragmatics, and world components read English trees and have no parsed Cantonese input. Squid records the manual’s grammatical points as claims and queues formalizable claims for implementation. The Cantonese rules remain unimplemented. The first points needed are those that support 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/zh/yue/32-mova-tools/