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/gan/29-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/) / [gan](https://md.mova.elamur.ai/free/en/docs/languages/zh/gan/) / 29. How Mova handles Gan Chinese

# 29. How Mova handles Gan Chinese

Mova has Gan Chinese text samples and a grammar manual for `gan`. A Gan model and an annotated Gan treebank are both absent from the package. The distinction matters at each stage of processing. A text can be known to come from a Gan edition while its Han-script spans receive the language label `other`, and a parser can report missing analysis without supplying a dependency tree.

## Current Gan package status

The Gan material includes text from Gan Wikipedia. The corpus sentence IDs identify the source entries and can cover more than one excerpt from the same entry. These texts provide examples of written Gan, including passages with names, quotations and glosses in other languages. An annotated treebank would provide a different kind of evidence, with explicit word boundaries, tags and dependency relations against which parser output could be scored.

| Package item | Current state for `gan` |
| --- | --- |
| Corpus text | Gan Wikipedia examples are available. |
| Grammar manual | Squid reads grammatical points as claims. |
| Language identification for Han script | Han-script spans fall under `other`. |
| Level-2 parser model | The Gan model is absent. |
| Annotated treebank | Mova holds no Gan treebank. |
| Parser baseline | No Gan attachment scores have been measured. |

The edition code `gan` identifies the language of the package. It can also be part of a corpus ID that records the origin of an excerpt. A label assigned to a span by the language identifier describes what that component recognized in the input. The corpus ID and the span label can therefore differ for the same text.

## Han-script spans and language identification

At level 1, `tools/langseg` assigns a language label to each sentence and span. Its supported distinctions include English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. For English and French, it uses a Latin table, a lexicon for each language and a character 4-gram model. Han script falls under `other`, as do scripts outside the supported set. A Han-script label of `other` leaves the identity of the language unresolved.

A further Latin-script language can be added with a lexicon and a `Lang` code. The `langseg latin-lexicon` command builds a lexicon from open Universal Dependencies (UD) training splits. That route extends the Latin-script distinctions. Han-script Gan lies outside its scope.

Gan Wikipedia gives examples of why the label for an entry and the labels for spans within it must be kept distinct. In the United Nations entry, a Han-script name appears alongside Latin-script renderings. The Korean form of the name in the Yi Gi entry appears in Hangul. The following short excerpts identify the forms in the supplied corpus. The romanization of the Han-script name is its Mandarin name reading, used here for identification.

| Corpus ID | Form | Romanization or original Latin spelling | Gloss | Translation |
| --- | --- | --- | --- | --- |
| `wiki:gan:聯合國` | 聯合國 | Liánhéguó | united.nations | ‘United Nations’ |
| `wiki:gan:聯合國` | Nations unies | Nations unies | nations united | ‘United Nations’ |
| `wiki:gan:李芑` | 이기 | I Gi | surname given.name | ‘Yi Gi’ |

The two names for the United Nations refer to the same organization. The Han-script form belongs to the `other` category under the current script coverage, while the French spelling uses a script for which the identifier has language-specific resources. The table records the languages and forms in the corpus, and gives no measured tagging result for either excerpt.

## Parser output without a Gan model

`tools/mova-parse` uses the level-1 labels to dispatch spans at level 2. Each span is parsed with the model for its assigned language when that model is available. A missing model is reported in the `# parse` comment. For a span without a model, the token rows carry the following field values.

| Field | Value | Information left unspecified or recorded |
| --- | --- | --- |
| `LEMMA` | `_` | Lemma |
| `UPOS` | `_` | Universal part of speech |
| `XPOS` | `_` | Language-specific part of speech |
| `FEATS` | `_` | Morphological features |
| `HEAD` | `_` | Syntactic head |
| `DEPREL` | `_` | Dependency relation to the head |
| `MISC` | `Parse=None` | Absence of a parse |

Gan has no level-2 model, so its tokens in this output are unannotated. A row makes the text visible in the output, while the fields above record the absence of analysis. In particular, an underscore in `HEAD` records an unspecified head. It cannot be counted as a root assignment. Likewise, the existence of rows gives no evidence that Mova has performed Gan word segmentation.

The Han-script coverage and the missing model affect different parts of this process. The first limits what level 1 can identify as Gan. The second leaves Gan without a parser at level 2 even when the language is known from the source.

## Treebank availability and baseline measurements

Mova holds no annotated Gan treebank. The Gan Wikipedia examples supply text for inspection, while the shared baseline requires annotated UD training and development splits. There is currently no train-to-development measurement for Gan.

Mova's own parser is in the `en` crate. For a language with the required data, `en xpos-fill` precedes training. `en train` uses the UD training split to train a tree parser and tagger. `en parse-eval` measures attachment on the development split. The shared package specification in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) asks for the same baseline for every language. Mova has models for English (`en.bin`) and French (`fr.bin`).

| Measure | What counts as a correct attachment | Gan result |
| --- | --- | --- |
| UAS, unlabeled attachment score | The predicted head agrees with the reference head. | Unmeasured |
| LAS, labeled attachment score | The predicted head and dependency relation both agree with the reference annotation. | Unmeasured |

An unmeasured score represents the absence of an evaluation. A measured score would require predicted analyses and development annotations to compare. In Gan, the text samples, the inventory of grammatical claims and the empty dependency fields all describe aspects of the package, but none provides that comparison.

## Frames, pragmatics and world data

Mova's frame, pragmatic and world processing reads English trees through `prag` and `world`. For another language, those stages have no tree to read until the language is parsed. Gan reaches that limit before those stages, since the parser supplies no Gan heads or dependency relations.

The language label, text of a span and provenance of an excerpt serve different purposes from a tree. A span label identifies the language as far as the identifier can determine it. Provenance identifies the text's source. A dependency analysis supplies the structural input required by the later stages. For example, the identity of the organization named by a corpus excerpt can be apparent to a reader even when the output has no Gan dependency tree for a frame or pragmatic analysis to read.

## Squid claims and priorities for segmentation, tagging and parsing

Squid turns each grammatical point in the manual into a claim. Formalizable claims, including rules, closed lists and statistics, wait in Squid's queue for a place in Mova's code. A queued claim records a grammatical point for implementation. The queue entry itself supplies no parser behavior, annotation or measured result.

For a language without its own model, the first priorities are the points needed by a tokenizer, a tagger and a UD treebank baseline. These priorities are related because tags attach to words and dependencies connect annotated units. A boundary decision can therefore change both what receives a tag and what can attach to a head.

| Priority | What the grammar can specify for future analysis |
| --- | --- |
| Segmentation | Where to place word boundaries in continuous Han text and how to treat punctuation, numbers, names and material in another script. A switch of script and a boundary between words answer different questions. |
| Tagging and lemmatization | Which categories apply to the segmented forms, which contexts distinguish uses of a shared written form, and which forms share a lemma when the grammar supports that analysis. |
| UD annotation and parsing | Which words serve as heads in defined constructions and which dependency relations link them to their dependents. Consistent annotation of these choices would support training and development evaluation. |

Claims about a written form should state the context in which the analysis applies. A statement about a particle, for example, becomes more useful for tagging and parsing when its conditions distinguish the contexts where the form takes that analysis. A corpus excerpt can illustrate those conditions. Its attestation alone gives neither a complete inventory nor an attachment score.

## How Mova handles Gan Chinese today

`tools/mova-parse` assigns languages to sentences and spans through `tools/langseg` at level 1 and uses the assigned language's model at level 2. The identifier distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Han script receives `other`, so this step does not identify Han-script Gan spans as `gan`.

Gan has no level-2 model. `tools/mova-parse` reports a missing model in the `# parse` comment and returns unannotated tokens for it. The fields `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD` and `DEPREL` contain `_`, with `Parse=None` in `MISC`. Gan has no implemented tokenization, tagging, lemmatization or parsing in this workflow.

Mova holds no Gan treebank, so it has no measured Gan baseline. The baseline in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) uses `en xpos-fill` before `en train` and measures UAS and LAS from training to development with `en parse-eval`. The available models are `en.bin` for English and `fr.bin` for French.

The frame, pragmatic and world processing in `prag` and `world` reads English trees. At present, those stages have no Gan tree as input. Squid reads the Gan manual as claims, and formalizable claims wait in its queue. The chapter's rules are still unimplemented. The first implementation priorities are the grammatical points needed for segmentation, tagging and a UD treebank baseline.

## Sources for this chapter

- No source was planned for this chapter; its points are to be checked against public-domain and open grammars (see [Sources](https://md.mova.elamur.ai/free/en/docs/languages/zh/gan/sources/)).
- [← previous 28. Register in speech and writing](https://md.mova.elamur.ai/free/en/docs/languages/zh/gan/28-register/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/zh/gan/sources/)
- [↑ back to Gan Chinese (gan) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/zh/gan/)

> 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)
