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/pl/pl-x-goral/23-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/) / [pl](https://md.mova.elamur.ai/free/en/docs/languages/pl/) / [pl-x-goral](https://md.mova.elamur.ai/free/en/docs/languages/pl/pl-x-goral/) / 23. Goral in Mova

# 23. Goral in Mova

`pl-x-goral` is the edition code for Goral in Mova. The edition has a reference grammar. Automatic language identification, Universal Dependencies (UD) parsing, evaluation, and interpretation each depend on resources or inputs of their own. Goral currently lacks a parser model and an annotated corpus in Mova.

## 1. The pl-x-goral edition and package state

The edition code identifies Goral in the manual and is the language code under which the multilingual parser would look for a Goral model. A model is a separate package resource. The existence of the edition establishes the scope of the reference grammar. Running the parser requires a model for the language assigned to the input.

The package requirements in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) call for the same train-to-development parsing baseline for each language. For Goral, the annotated corpus needed for that baseline and the model needed for parsing are both absent. The state of the edition can be read by resource or result.

| Resource or result | State for `pl-x-goral` |
| --- | --- |
| Reference grammar | Present for the edition |
| Latin-script identification | Goral is outside the current Latin-script language inventory |
| Level-2 parser model | Absent |
| Annotated corpus in Mova | Absent |
| UAS and LAS baseline | Unmeasured |

These entries describe the Mova package. The inventory of supported language labels is relevant when reading the results for raw input. The model and treebank entries are relevant when reading parse output and evaluation results, respectively.

## 2. Language identification and the Latin-script lexicon requirement

Language identification is the first level of multilingual parsing. `tools/langseg` assigns a language to each sentence and span. A span label matters even when a sentence already has a language label, because model selection at the next level applies to each span.

In the Latin-script branch, identification draws on a Latin table, a lexicon for each supported language, and a character model based on sequences of four characters. The current Latin-script inventory consists of English and French. Goral uses Latin script and requires its own entry in that inventory for the segmenter to identify it as `pl-x-goral`. Adding a Latin-script language requires both a lexicon and a `Lang` code. `langseg latin-lexicon` builds the lexicon from an open UD training split.

| Form | Gloss | Translation |
| --- | --- | --- |
| *jo* | first-person singular nominative pronoun | ‘I’ |

(constructed)

The form illustrates the distinction between recognizing Latin characters and assigning a Goral language label. Script recognition puts the form in the Latin-script branch. Assignment of a Goral label requires the Goral resources for that branch.

The segmenter also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. `other` is the category for scripts outside its script coverage. That category describes script coverage. A Latin-script language can be outside the language inventory even though the segmenter recognizes its script.

## 3. Model lookup and unannotated output

At level 2, `tools/mova-parse` selects a model for each span using the span's language code. Under `$MOVA_DATA`, it looks in the directory for that code, in the `models` subdirectory. The model filename consists of the language code and the `.bin` extension. The lookup therefore depends on the label actually assigned to the span. A span assigned a different language code goes through lookup for that code.

When the model for a span's language is absent, `tools/mova-parse` reports the missing model in the `# parse` comment. Any token rows emitted for that span carry the following values.

| Field | Value | Information left unannotated |
| --- | --- | --- |
| `LEMMA` | `_` | Dictionary form |
| `UPOS` | `_` | Universal part of speech |
| `XPOS` | `_` | Language-specific part of speech |
| `FEATS` | `_` | Morphosyntactic features |
| `HEAD` | `_` | Syntactic head |
| `DEPREL` | `_` | Dependency relation |
| `MISC` | `Parse=None` | The marker that parsing did not take place |

For a span labeled `pl-x-goral`, this is the current level-2 outcome. The comment reports the model availability problem. The token fields show which analyses are unavailable, and `Parse=None` records the absence of a parse on the token rows. In particular, an underscore in `HEAD` supplies no head assignment, including the assignment that would identify a root. The presence of a row alone supplies no evidence of a Goral tokenization analysis.

## 4. Treebank requirements and the unmeasured UAS and LAS baseline

The baseline uses an annotated UD training split and a development split for the language being evaluated. The training annotations supply the examples from which the tagger and parser learn. The development annotations supply the reference heads and relations against which the trained parser's output is scored.

Mova's own parser is in the `en` crate. The training sequence applies `en xpos-fill` before `en train`, which trains the tree parser and tagger on the UD training split. `en parse-eval` then measures attachment on the development split. The crate has models for English (`en.bin`) and French (`fr.bin`). The package calls for this same train-to-development baseline for Goral.

| Measure | What counts as a correct attachment for a scored token |
| --- | --- |
| Unlabeled attachment score (UAS) | The predicted head matches the reference head. |
| Labeled attachment score (LAS) | The predicted head and the predicted relation both match the reference annotation. |

A correct head with a different relation counts toward UAS only. A correct relation attached to a different head counts toward neither measure. The two scores therefore answer different questions about the same dependency output.

Mova holds no annotated Goral treebank, so it has no Goral training and development splits on which to run this baseline. Both scores are unmeasured. A missing-model report or a token row with empty dependency fields is a record of unavailable analysis and supplies no score.

## 5. Parsed input requirements for frames and pragmatics

Mova's frame, pragmatic, and world processing, including `prag` and `world`, reads English dependency trees. The relevant input for those stages is the tree, with its syntactic attachments and relations. Sentence and span labels identify the language selected upstream. They supply neither attachment nor relation information. For Goral, the unannotated `HEAD` and `DEPREL` fields leave the later stages without a tree to read.

Parsing is therefore a prerequisite for later processing of Goral. The existing consumers are described for English trees. A Goral parser baseline would measure the parser's agreement with the Goral development treebank on heads and relations. Frame analysis and pragmatic interpretation fall outside those attachment measures.

## 6. Grammar claims and the Squid queue

Squid reads the reference grammar and turns each grammatical point into a claim. The scope of a claim follows the scope of the point in the manual. For example, a statement restricted to a particular variety or construction carries that restriction, and a rule with an exception includes the exception. Formalizable claims wait in Squid's queue for a place in Mova's code. The formalizable kinds named here are rules, closed lists, and statistics.

A queued rule has yet to be implemented. A closed list recorded as a claim specifies the membership of a category in the grammar. Entering that list in Squid's queue leaves runtime recognition of its members pending. A statistical claim from the grammar likewise concerns what the statement describes. The parser's UAS and LAS baseline comes from evaluation on a development treebank.

For Goral, the first grammatical points relevant to implementation are those needed for tokenization, tagging, and a UD treebank baseline. Tokenization concerns where units begin and end. Tagging concerns the grammatical labels assigned to units. The treebank baseline needs annotated examples for training and development. These needs determine which points in the descriptive grammar matter first for the parsing pipeline.

## 7. How Mova handles Goral end to end

`tools/mova-parse` starts with sentence and span identification by `tools/langseg`. For a Latin-script language, recognition at this level depends on a supported language code and lexicon. The Latin-script branch currently distinguishes English and French. Incorporating Goral here requires a `Lang` code and a lexicon built from an open UD training split with `langseg latin-lexicon`.

The second level looks up the model for each span by its assigned language. Goral has no such model. If the assigned code is `pl-x-goral`, the `# parse` comment reports the missing model, and the span's token rows have `_` in `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD`, and `DEPREL`, with `Parse=None` in `MISC`. Goral tokenization, tagging, lemmatization, and dependency parsing are unavailable in this state.

The baseline specified by [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) uses `en xpos-fill` before `en train` on the UD training split and `en parse-eval` on the development split. Mova currently holds no annotated Goral treebank, so UAS and LAS remain unmeasured. Its frames, pragmatics, and world processing read English trees, and the absence of a Goral parse leaves `prag` and `world` without a Goral tree to read.

The manual reaches Mova through Squid's claims. Formalizable rules, closed lists, and statistics wait in the queue for implementation. The initial implementation needs are the grammatical points required by a tokenizer, a tagger, 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/pl/pl-x-goral/sources/)).
- [← previous 22. Goral registers and domains of use](https://md.mova.elamur.ai/free/en/docs/languages/pl/pl-x-goral/22-register-and-usage/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/pl/pl-x-goral/sources/)
- [↑ back to Goral (pl-x-goral) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/pl/pl-x-goral/)

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