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

# 23. Gun in Mova

Mova has Gun (`guw`) text in its corpora. The Gun package has yet to acquire an annotated treebank or a parser model. This chapter describes what the multilingual pipeline can report for Gun, what a treebank baseline would measure, and how Squid records grammar claims for future implementation.

## Multilingual language identification and model lookup

The multilingual pipeline has two levels. At level 1, `tools/langseg` assigns a language to each sentence and span. Its Latin-script identification uses a Latin table, a lexicon for each supported language, and a character 4-gram model to distinguish English and French. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage receive `other`.

Gun uses Latin script, which also serves the two languages in the current Latin-script inventory. Gun-specific identification requires an entry for the language. The route for adding a Latin-script language uses a lexicon and a `Lang` code. The `langseg latin-lexicon` command builds the lexicon from an open Universal Dependencies (UD) training split. The `guw` labels on Mova's Gun corpus excerpts identify their source language. They provide no measurements of automatic identification.

At level 2, `tools/mova-parse` looks up the model for the language assigned to each span. Each span uses the model for its own language code, so spans in a single text can require different models. Identification and model lookup answer different questions. The first assigns the language label and the second determines whether the pipeline has a parser to use for that label.

## Gun output with Parse=None

A span assigned `guw` has no level-2 model. The `# parse` comment reports the missing model, and each token row for that span carries `Parse=None` in MISC. The output uses `_` in all six annotation columns below.

| Column | What the column would contain in an annotated row | Value for `guw` |
| --- | --- | --- |
| LEMMA | Lemma | `_` |
| UPOS | Universal part of speech | `_` |
| XPOS | Language-specific part of speech | `_` |
| FEATS | Morphological features | `_` |
| HEAD | Index of the syntactic head | `_` |
| DEPREL | Dependency relation | `_` |

`Parse=None` records the missing-model condition for the assigned language. The underscores therefore leave the linguistic analysis unspecified. In particular, HEAD and DEPREL supply no dependency tree, and the presence of token rows supplies no evidence that a Gun tokenizer determined their boundaries.

The excerpts below illustrate surface forms available in the corpus. They are shown in the original Latin orthography, with glosses aligned to the words.

| Form | Gloss | Translation | Corpus ID |
| --- | --- | --- | --- |
| “To Afínplosun 1982” | in MONTH.NAME 1982 | ‘In Afínplosun 1982’ | `wiki:guw:Abba Musa Rimi` |
| “tòdaho Kaduna tọn” | city Kaduna GEN | ‘the city of Kaduna’ | `wiki:guw:Abba Musa Rimi` |
| “to azán 16tọ” | on day 16.ORD | ‘on the sixteenth day’ | `wiki:guw:Abibatu Mogaji` |

MONTH.NAME marks a month name, GEN a genitive marker, and ORD an ordinal. The glosses explain the excerpts for the reader. The pipeline leaves the corresponding annotation columns unspecified when the span is assigned `guw`.

## Treebank availability and the scope of baseline evaluation

Mova holds no annotated Gun corpus or treebank. The Gun Wikipedia excerpts supply running text with spellings, names, dates and punctuation. A treebank baseline needs reference annotations against which to score the parser, including a head and dependency relation for each token included in the scoring. The excerpts alone supply neither those annotations nor a train and development split.

The package specifies a train-to-development baseline with unlabelled attachment score (UAS) and labelled attachment score (LAS). UAS measures the proportion of evaluated tokens assigned the reference head. LAS measures the proportion assigned both the reference head and the reference dependency relation. Which tokens enter the denominator depends on the evaluation setup, so a reported score should identify the data and conditions under which it was obtained.

These attachment scores address dependency parsing. They do not measure language identification, and they do not by themselves give separate accuracy figures for tokenization, lemmatization, part-of-speech tagging or morphological features. Gun has no measured Mova treebank baseline. An output row marked `Parse=None` represents an unavailable analysis and contributes no measured attachment result.

## Training and evaluation for a future Gun treebank

A future Gun baseline would start with UD-annotated training and development data. Annotation decisions would cover sentence and word boundaries, lemmas, part-of-speech tags, morphological features, heads and dependency relations. The conventions need to be consistent across the two splits. For example, the treatment of `16tọ` in the date excerpt is a matter for the treebank's tokenization and annotation guidelines.

The documented sequence starts with `en xpos-fill` on the UD training data, followed by `en train` to train the tree parser and tagger. Despite its name, the `en` crate is Mova's parser implementation for this baseline across languages. The existing model files named in the package description are `en.bin` for English and `fr.bin` for French. With a Gun training split and a separate annotated development split, `en parse-eval` would measure UAS and LAS for the resulting Gun parser.

The split used for training and the split used for scoring should be identified with the result. A score obtained with reference token boundaries answers a question about attachment on those boundaries. Evaluating the multilingual pipeline on raw text would also require checking sentence and span identification and the token boundaries presented to the parser. The model file and the language identification entry serve separate parts of that pipeline.

## Frames and pragmatics coverage

Mova's frame, pragmatics and world processing reads English trees. The Gun corpus gives the system text, and the multilingual parser can report the missing model for a span assigned `guw`. Neither supplies the dependency structure that downstream processing would need. Mova therefore has no Gun frame or pragmatics analysis through this pipeline.

Parsing is a prerequisite for downstream work on Gun. A future Gun baseline would quantify head and relation accuracy on annotated Gun data. Coverage of frames and pragmatic interpretation would remain a separate question, since those outputs depend on how the downstream components use the tree.

## Grammar claims in the Squid queue

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, wait in Squid's queue for implementation in Mova. The queue records the claims available for that work. Its contents are distinct from the set of rules the parser can apply.

For Gun, the first claims relevant to tool development are those needed for tokenization, tagging and a UD treebank baseline. A claim about word boundaries can inform annotation guidelines. A closed list of forms can inform tagging decisions where those forms have a consistent grammatical function. Applying either in software requires a corresponding implementation. The manual and the queue provide no parser model and establish no measured accuracy.

## How Mova handles Gun today

`tools/mova-parse` uses `tools/langseg` at level 1 to assign languages to sentences and spans. The Latin-script inventory distinguishes English and French using a Latin table, language lexicons and a character 4-gram model. The identifier also covers Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration, with `other` for scripts outside its coverage. A further Latin-script language joins through a lexicon and a `Lang` code, with `langseg latin-lexicon` using an open UD training split. Gun span identification is limited by the identifier's script and lexicon coverage.

At level 2, `tools/mova-parse` needs a model for the assigned language. There is no model for `guw`. The `# parse` comment reports the absence, and Gun token rows receive `Parse=None` in MISC and `_` in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL. Gun-specific tokenization, tagging, lemmatization and parsing remain unsupported.

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` and uses `en parse-eval` to measure UAS and LAS from train to development data. The `en` crate has the English and French models `en.bin` and `fr.bin`. Mova has no annotated Gun treebank and no measured Gun baseline. The frame, pragmatics and world components read English trees, and `prag` and `world` receive no Gun tree.

Squid converts the manual's grammatical points into claims and queues those that can be formalized. Gun's grammar rules remain unimplemented. The first points for implementation are those 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/guw/sources/)).
- [← previous 22. Speech acts, address and pragmatic meaning](https://md.mova.elamur.ai/free/en/docs/languages/guw/22-speech-acts-and-pragmatic-meaning/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/guw/sources/)
- [↑ back to Gun (guw) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/guw/)

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