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/gl/33-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/) / [Galician](https://md.mova.elamur.ai/free/en/docs/languages/gl/) / 33. Galician in Mova

# 33. Galician in Mova

Mova uses `gl` as the language code for Galician. Squid reads the Galician grammar manual and extracts grammatical claims. Mova holds neither an annotated Galician corpus nor a Galician parser model. The package therefore has no measured Galician parsing baseline, and level 2 cannot produce a parse for a span assigned `gl`.

## The Galician package and its current state

The language package specification in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for a common Universal Dependencies (UD) parsing baseline for each language. The baseline uses a model trained on the language's annotated training split and evaluated against the reference annotations in a separate development split. The grammar manual describes Galician forms and constructions and supplies grammatical claims to Squid.

| Component | Current state for Galician |
| --- | --- |
| Language code used by the manual | `gl` |
| Grammar claims | Squid extracts claims from the Galician grammar manual |
| Automatic identification in Latin script | The segmenter's Latin-language distinction covers English and French |
| Annotated corpus held by Mova | Absent |
| Level-2 parser model | Absent |
| UAS and LAS baseline | Unmeasured |
| Input to frames and pragmatics | Level 2 produces no Galician dependency trees, and downstream processing reads English trees |

The package code identifies the language covered by the manual. Automatic language identification depends on the segmenter's coverage. Model lookup depends on the language assigned to each span.

## Language identification and multilingual parsing

`tools/mova-parse` uses two levels. At level 1, `tools/langseg` assigns languages to sentences and spans. At level 2, the parser looks up a model using each span's assigned language. Different spans in one document can therefore be routed to different models.

For Latin script, `tools/langseg` distinguishes English and French using a Latin table, a lexicon for each language and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported coverage receive the label `other`.

Galician uses the Latin alphabet and falls within the script handled by the Latin branch. That branch distinguishes English and French and has no Galician distinction. The label `other` described above concerns script coverage. Level 2 uses the assigned label even when it differs from the language of the text. The missing-model behavior for Galician applies when a span reaches level 2 with the label `gl`.

Extending the Latin-language distinction to Galician requires a lexicon and a `Lang` code. The `langseg latin-lexicon` command builds a lexicon from an open UD training split for use in language identification. Tagging and dependency parsing require a separate model.

## Missing model and unannotated output

When the model for a span's assigned language is missing, `tools/mova-parse` reports the missing model in the `# parse` comment. The following values apply to the affected output token rows.

| Field | Value | Interpretation |
| --- | --- | --- |
| `LEMMA` | `_` | Lemma unspecified |
| `UPOS` | `_` | Universal part-of-speech tag unspecified |
| `XPOS` | `_` | Language-specific part-of-speech tag unspecified |
| `FEATS` | `_` | Morphological features unspecified |
| `HEAD` | `_` | Syntactic head unspecified |
| `DEPREL` | `_` | Dependency relation unspecified |
| `MISC` | `Parse=None` | The parser produced no parse for the row |

The comment reports the missing model and `Parse=None` marks the affected rows. An underscore in `HEAD` leaves open whether the word is a root or a dependent. The presence of a token row with this marker does not establish that a Galician tokenizer determined its boundaries. Mova has no Galician tokenization, tagging, lemmatization or dependency parsing in this configuration.

| Galician form | Gloss | Translation |
| --- | --- | --- |
| *Hoxe chove.* | today rain.PRS.IND.3SG | ‘It is raining today.’ |

(constructed)

*Hoxe* is a temporal adverb, and *chove* is a finite verb. If this sentence is in a span passed to level 2 as `gl`, any output token rows for that span have the missing-model values listed above. The gloss gives a grammatical analysis of the example. The output rows leave its grammatical annotations unspecified.

## Treebank requirements and the unmeasured UAS and LAS baseline

The package baseline uses an annotated UD training split and a separate annotated development split. The parser and tagger learn from the training split. The development split provides reference heads and dependency relations for evaluating the trained model.

The `en` crate contains Mova's tree parser and tagger. In the baseline workflow, `en xpos-fill` precedes `en train`, which trains on the UD training split. `en parse-eval` evaluates the resulting model on the development split. Models exist for English (`en.bin`) and French (`fr.bin`).

| Measure | What counts as correct for an evaluated token |
| --- | --- |
| Unlabeled attachment score (UAS) | The predicted syntactic head matches the reference head |
| Labeled attachment score (LAS) | The predicted head and dependency relation both match the reference |

Each score is the proportion of evaluated tokens that meet its criterion. A token with the correct head and an incorrect relation counts as correct for UAS only. A token with an incorrect head fails both criteria even if the relation label matches.

For example, suppose the reference attaches *hoxe* ‘today’ to *chove* ‘it is raining’ with the relation `advmod`. A prediction that attaches *hoxe* to *chove* with the relation `obl` meets the UAS criterion only. (constructed)

Mova has neither the annotated Galician splits nor a Galician parser model, so neither score has been measured for Galician. A missing-model row provides no predicted attachment to compare with a reference.

## Dependencies of frames and pragmatics

Mova's frame, pragmatic and world processing, including `prag` and `world`, reads English trees. Language identification supplies the label used to route a span. Dependency parsing supplies the syntactic heads and relations needed for tree-based downstream processing. Galician missing-model rows leave both `HEAD` and `DEPREL` unspecified.

Using Galician syntax downstream requires two capabilities. The parsing stage must produce Galician dependency trees, and the downstream components must interpret those trees. The missing `gl` model leaves the first capability unavailable in level 2. The current downstream input is English trees.

## Grammar claims in Squid and implementation status

Squid reads the grammar manual and turns every grammatical point into a claim. It queues formalizable claims, including rules, closed lists and statistics, for implementation in Mova. A rule claim states what happens, where it applies and which exceptions it has. A closed-list claim defines the class and gives all its members. A statistical claim identifies what is counted or measured, the population it describes and the conditions that apply. For a proportion, it specifies the numerator and denominator.

A claim in the implementation queue is pending. Parser and tagger behavior depends on the implementation they run. Training and evaluation depend on annotations in the corresponding data splits.

The first points to formalize for implementation are those needed by a tokenizer, a tagger and a UD treebank baseline. A tokenization claim specifies which boundaries to assign and under what conditions. A tagging claim specifies a category and the contexts in which to assign it. A dependency annotation claim specifies the head and relation to assign in a construction. The same reference annotation decisions apply across the training and development splits.

In *Hoxe chove.* ‘It is raining today’, assigning `ADV` to *hoxe* is a tagging decision. Attaching *hoxe* to *chove* with `advmod` is a dependency annotation decision. (constructed)

## How Mova handles Galician today

At level 1, `tools/mova-parse` uses `tools/langseg` to assign languages to sentences and spans. The Latin-script distinction covers English and French. The `langseg latin-lexicon` command builds a lexicon for language identification from an open UD training split.

At level 2, `tools/mova-parse` looks up a model for the language assigned to each span. There is no model for `gl`. If a span reaches level 2 with that label, `tools/mova-parse` reports the missing model in `# parse`. Any affected output token rows have `_` in `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD` and `DEPREL`, and `Parse=None` in `MISC`. Mova has no Galician tokenization, tagging, lemmatization or dependency parsing in this configuration.

The baseline workflow runs `en xpos-fill` before `en train`. Training uses the UD training split, and `en parse-eval` evaluates UAS and LAS on the development split. Mova holds no annotated Galician corpus and has no measured Galician UAS or LAS. The frame, pragmatic and world components read English trees.

Squid reads the Galician grammar manual into claims and queues claims that can be formalized. A queued claim is pending implementation.

## Sources for this chapter

- [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) specifies the common UD parsing baseline for language packages.
- `tools/langseg` and `tools/mova-parse` are the implementation references for language assignment, model selection and missing-model output.
- The `en` crate contains the tree parser and tagger used in the baseline workflow.
- The Galician examples in this chapter are constructed. [Sources](https://md.mova.elamur.ai/free/en/docs/languages/gl/sources/) records the manual's approach to public-domain and open grammar sources.
- [← previous 32. Register and stylistic variation](https://md.mova.elamur.ai/free/en/docs/languages/gl/32-register-and-style/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/gl/sources/)
- [↑ back to Galician](https://md.mova.elamur.ai/free/en/docs/languages/gl/)

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