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

# 25. Guarani in Mova

Guarani has the language code `gn` in this manual. Mova has Guarani text samples, but it has neither an annotated Guarani treebank nor a Guarani parser model. The text samples illustrate what an analysis needs to account for. A treebank would supply the reference analyses needed to train and evaluate a parser.

## Guarani in the multilingual parsing workflow

Mova divides multilingual parsing into two levels. Level 1 assigns a language to each sentence and span. Level 2 uses the model for each span’s assigned language to produce its analysis. The span matters because a sentence can contain material in more than one language. Even with the correct language assignment, a span needs that language’s model before it can receive a dependency analysis.

The language code used for a corpus item identifies the material under which it was collected. An automatic language assignment depends on what the segmenter recognizes. Guarani uses Latin script, which it shares with languages already handled by the segmenter. Script alone therefore cannot identify a span as Guarani. A further Latin-script language can be added with a language code and a lexicon built from an open Universal Dependencies training split. That addition addresses language identification. Parsing requires a model in the second level.

The corpus includes short strings such as the following. Guarani uses Latin script, so the form lines give the corpus spelling directly. `LOC` marks the locative.

| Form | Gloss | Translation | Corpus sentence ID |
| --- | --- | --- | --- |
| “peteĩ táva guasu” | one town big | “a large town” | `wiki:gn:Salto (Uruguái)` |
| “ary 1939-pe” | year 1939-LOC | “in 1939” | `wiki:gn:Ñorairõ Guasu Mokõiha` |

The first excerpt gives a noun phrase in which the numeral precedes the noun and the property word follows it. The second gives a time expression in which the locative is written against the year numeral with a hyphen. A language assignment for either excerpt supplies no decision about its word boundaries, tags or dependencies.

## Parser model, annotated data and baseline status

Mova’s language package calls for a tree parser and tagger trained on the language’s Universal Dependencies (UD) training split and evaluated on its development split. The training and development data have different roles. Training supplies the reference annotations the model learns from. Evaluation compares the model’s output on the development data with the corresponding reference annotations.

The baseline reports unlabeled attachment score (UAS) and labeled attachment score (LAS). UAS credits an evaluated attachment when the predicted head matches the reference head. LAS requires both the head and the dependency relation to match. For example, a predicted link can attach to the reference head and still get the relation wrong. That attachment counts toward UAS alone. These measures concern the dependency tree. They do not by themselves measure the accuracy of language identification, lemmatization or downstream interpretation.

Mova has no annotated Guarani corpus and has measured no Guarani treebank baseline. The corpus sentence IDs record the provenance of excerpts, with no reference dependencies against which to compute attachment scores. Mova also has no level-2 model for `gn`. The missing model is a statement about parser availability, and the missing baseline is a statement about evaluation. Neither implies an attachment score of zero.

## Dependencies of frames and pragmatics

Mova’s frame and pragmatic analyses depend on parsed input. Its current components read English trees. For Guarani, the immediate missing input is a parsed tree. A dependency tree would make syntactic information available for downstream work. The availability of a tree alone would leave open how the English-oriented components should interpret Guarani constructions.

The following corpus excerpt illustrates information at different levels. `PURP` marks purpose.

| Form | Gloss | Translation | Corpus sentence ID |
| --- | --- | --- | --- |
| “opa hag̃ua ary” | end PURP year | “for the year to end” | `wiki:gn:8 jasypo` |

Within the excerpt, *ary* ‘year’ is the subject of *opa* ‘end’ and follows it. In the source sentence, the phrase gives the endpoint for the passage of the remaining days. A dependency analysis can represent the grammatical links within the phrase and its attachment to the larger sentence. An interpretation of the event would need to capture what ends and how that event relates to the passage of time. The gloss and translation are human analyses of the excerpt.

This distinction also applies to the manual’s descriptions of speech acts and discourse. They describe what a reader can infer from particular forms and contexts. Their presence in the manual supplies no pragmatic output for a Guarani span.

## Squid claims and priorities for language support

Squid reads the grammar manual and turns each grammatical point into a claim. Points that can be stated formally, including rules, closed lists and statistics, enter its queue for a place in Mova’s code. The queue records material available for implementation. Parser output reflects implemented behavior and the availability of a model.

The first Guarani claims to implement would be those needed for tokenization, tagging and a UD treebank baseline. The same written form can raise questions for more than one of these tasks. The corpus excerpts below show differences in the spelling of the glottal-stop letter. Each form is presented as it appears in its source sentence.

| Form | Gloss | Translation in context | Corpus sentence ID |
| --- | --- | --- | --- |
| “ha'e” | 3 | “is” in the statement identifying Salto as a town | `wiki:gn:Salto (Uruguái)` |
| “haꞌe” | 3 | “is” in the statement about the name *avañeꞌẽ* | `wiki:gn:Avañe'ẽ` |
| “ha’e” | 3 | “is” in the statement identifying a calendar day | `wiki:gn:11 jasypo` |

`3` indicates a third-person form. The English renderings are specific to the quoted contexts. The apostrophe-like character appears inside the form in each example. For tokenization, this is a case where a character that resembles punctuation occurs inside a word. For tagging, a gloss identifies the form for the reader, while the annotation needs to record the category appropriate to its use in the clause. For treebanking, each annotated occurrence needs a dependency analysis in its sentence context.

The hyphenated year expression and the purpose clause above illustrate further annotation decisions. The year expression calls for a consistent treatment of a numeral with attached locative marking. The purpose clause calls for a consistent treatment of the marker, the clause’s subject and the clause’s link to its context. A baseline depends on applying the same annotation decisions in the training and development splits, so that the scores compare the parser with a consistent reference.

## How Mova handles Guarani today

`tools/mova-parse` uses `tools/langseg` for level 1. The segmenter distinguishes English and French in Latin script using a Latin table, a lexicon for each language and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported set are labeled `other`. It identifies a language only where it knows the relevant script or lexicon. Adding a further Latin-script language requires a `Lang` code and a lexicon. `langseg latin-lexicon` builds the lexicon from an open UD training split.

Level 2 of `tools/mova-parse` looks for the model corresponding to each span’s assigned language. There is no model for `gn`. The `# parse` comment reports the missing model, and the following values appear for its tokens.

| Field | Value |
| --- | --- |
| LEMMA | `_` |
| UPOS | `_` |
| XPOS | `_` |
| FEATS | `_` |
| HEAD | `_` |
| DEPREL | `_` |
| MISC | `Parse=None` |

For Guarani, these entries report the absence of analysis. Mova does not perform Guarani tokenization, tagging, lemmatization or dependency parsing.

Mova’s own parser is in the `en` crate. After `en xpos-fill`, `en train` trains a tree parser and tagger on the UD training split. `en parse-eval` measures UAS and LAS on the development split. English and French have models, `en.bin` and `fr.bin`. [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for this baseline for every language. Mova holds no annotated Guarani treebank and has measured no Guarani baseline.

Mova’s frames, pragmatics and world components, `prag` and `world`, read English trees. Guarani supplies no parsed trees to them. Squid records the manual’s grammatical points as claims and queues the formalizable ones. The Guarani rules described in the manual are unimplemented. The first priorities are the points needed 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/gn/sources/)).
- [← previous 24. Speech acts, address and pragmatic inference](https://md.mova.elamur.ai/free/en/docs/languages/gn/24-speech-acts-and-pragmatic-inference/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/gn/sources/)
- [↑ back to Guarani (gn) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/gn/)

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