Elamur: **Mova** · [Parse](https://mova.elamur.ai/free/en/parse/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/)

[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/languages/zh/yue/32-mova-tools/)

[Mova](https://md.mova.elamur.ai/free/en/) / [docs](https://md.mova.elamur.ai/free/en/docs/) / [languages](https://md.mova.elamur.ai/free/en/docs/languages/) / [Chinese](https://md.mova.elamur.ai/free/en/docs/languages/zh/) / [yue](https://md.mova.elamur.ai/free/en/docs/languages/zh/yue/) / 32. Cantonese in Mova and Squid

# 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:首都 (住宅)`).

| Form | Jyutping | Gloss | Translation |
| --- | --- | --- | --- |
| 3房設計 | saam1 fong2 cit3 gai3 | three room design | three-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.

| Field | Value | Annotation unavailable |
| --- | --- | --- |
| `LEMMA` | `_` | Lemma |
| `UPOS` | `_` | Universal part of speech |
| `XPOS` | `_` | Language-specific part of speech |
| `FEATS` | `_` | Morphological feature values |
| `HEAD` | `_` | Syntactic head |
| `DEPREL` | `_` | Dependency relation |
| `MISC` | `Parse=None` | The 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:中新廣州知識城`).

| Form | Jyutping | Gloss | Translation |
| --- | --- | --- | --- |
| 中新廣州知識城嘅歡迎標記 | zung1 san1 gwong2 zau1 zi1 sik1 sing4 ge3 fun1 jing4 biu1 gei3 | Sino-Singapore Guangzhou Knowledge City ADN welcome sign | a 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](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) 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:衡陽電視台資訊頻道`).

| Form | Jyutping | Gloss | Translation |
| --- | --- | --- | --- |
| 發佈咗份停播公告 | faat3 bou3 zo2 fan6 ting4 bo3 gung1 gou3 | issue PFV CL stop.broadcast notice | issued 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](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for the same baseline across languages.

| Measure | What a correct prediction requires |
| --- | --- |
| UAS, unlabeled attachment score | The predicted head agrees with the reference head. |
| LAS, labeled attachment score | The 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:株洲電視台公共頻道`).

| Form | Jyutping | Gloss | Translation |
| --- | --- | --- | --- |
| 請睇 | cing2 tai2 | please look | Please 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](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) 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

- Universal Dependencies contributors. 2025. UD Cantonese-HK. Cantonese treebank and annotation documentation, Universal Dependencies release 2.16. [universaldependencies.org/treebanks/yue hk/index.html](https://universaldependencies.org/treebanks/yue_hk/index.html) — CC BY-SA 4.0; not held in the library, to verify
- [← previous 31. Reference, dialogue and discourse coherence](https://md.mova.elamur.ai/free/en/docs/languages/zh/yue/31-reference-and-discourse/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/zh/yue/sources/)
- [↑ back to Cantonese (yue) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/zh/yue/)

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://mova.elamur.ai/sitemap.xml) · [llms.txt](https://mova.elamur.ai/llms.txt)
