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

# 26. Frafra in Mova

Mova’s multilingual parser assigns language labels before it looks for a model to analyze each span. Frafra (`gur`) has no parser model or annotated treebank in Mova. The package therefore has no measured parsing baseline. The manual records grammatical claims that can guide the work on tokenization, tagging and dependency annotation.

## Language identification and the scope of Latin-script segmentation

Language identification operates at two levels. In the first stage, `tools/langseg` assigns a language to each sentence and span. In the second stage, `tools/mova-parse` uses the span’s label to select the corresponding language model. A sentence may contain spans of different languages, so the sentence label alone does not determine the models used within it.

For Latin script, the current language distinctions cover English and French. The segmenter uses a Latin table, one lexicon per supported language and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside the supported range receive `other`. To add a Latin-script language, the segmenter needs a `Lang` code and a lexicon. The `langseg latin-lexicon` command builds lexicons from open Universal Dependencies (UD) training splits.

The package code `gur` identifies Frafra in the manual. Reliable identification in running text requires coverage in the segmenter. Frafra uses Latin script, which it shares with the two languages already distinguished there. The letters in a span, a proper name or a numeral can contribute evidence, but none guarantees a Frafra label. The grouping of tokens into language spans also leaves open how their words are to be analyzed for UD.

| Frafra form | Gloss | Translation | Corpus sentence ID |
| --- | --- | --- | --- |
| `Cape Coast tiŋa puan` | Cape Coast town inside | ‘in the town of Cape Coast’ | `wiki:gur:Abena Osei Asare` |
| `1979 yuunɛ la puan` | 1979 year DEF inside | ‘in 1979’ | `wiki:gur:Abena Osei Asare` |

`DEF` means definite marker. In the first phrase, an English place name occurs inside a Frafra locative expression. In the second, the numeral gives little evidence about the language of the surrounding words. Both examples are in Latin script and use the spelling found in the corpus. The glosses describe the phrases and do not represent predictions by the segmenter.

## Parser model availability and Parse=None output

The second stage of `tools/mova-parse` looks up a model for each span’s language. The missing-model behavior applies when the language assigned to the span lacks its model file. There is no model for `gur`. The `# parse` comment reports the missing model, and the token rows for the affected span carry the following values.

| Field | Value without a model | Analysis left open |
| --- | --- | --- |
| `LEMMA` | `_` | Dictionary form |
| `UPOS` | `_` | Universal part of speech |
| `XPOS` | `_` | Language-specific part of speech |
| `FEATS` | `_` | Morphological features |
| `HEAD` | `_` | Syntactic head |
| `DEPREL` | `_` | Dependency relation |
| `MISC` | `Parse=None` | Records the absence of a parse |

`Parse=None` describes the state of the output. An underscore in `FEATS` leaves the token’s morphology unspecified. An underscore in `HEAD` supplies no attachment, including no decision about whether the word is the root. The presence of token rows is likewise insufficient evidence that their boundaries follow Frafra tokenization rules. A usable dependency analysis requires both words with established boundaries and a tree over those words.

## Treebank requirements and current measurement status

A UD baseline requires an annotated training split and a separate development split. The annotation establishes sentence and syntactic word boundaries, lemmas, parts of speech, features where applicable, and a head and dependency relation for each syntactic word. If one written token represents several syntactic words, the treebank must record the correspondence between the written token and those words. Training and evaluation depend on applying the same annotation decisions across both splits.

Mova has text examples for Frafra, including the Wikipedia excerpts cited here, and holds no Frafra treebank. A text example supplies an attested form in context. A reference tree also supplies decisions such as whether a marker is a separate word, which word heads a phrase, and which dependency links them. Those decisions are the reference against which a predicted tree is scored.

There is no measured Frafra treebank baseline. The missing-model marker counts as a status in the output, and its occurrence supplies no measurement of attachment accuracy. A baseline becomes measurable once there is a model trained on the training split and a development split with reference annotations to score it against.

## Tagger and parser training and evaluation

The `en` crate provides Mova’s parser training workflow. The package described in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for the same baseline procedure for each language. The available models are `en.bin` for English and `fr.bin` for French. A Frafra run of this workflow would require Frafra UD data.

| Step | Command | Role in the baseline |
| --- | --- | --- |
| 1 | `en xpos-fill` | Prepare the UD training split by filling language-specific part-of-speech tags. |
| 2 | `en train` | Train the tagger and dependency parser on the prepared training split. |
| 3 | `en parse-eval` | Measure dependency attachment on the development split. |

The tagger and parser answer different questions. Tagging assigns categories to individual words. Parsing assigns heads and dependency relations between words. The train-to-development evaluation measures unlabeled attachment score (UAS) and labeled attachment score (LAS). UAS is the proportion of scored words assigned the correct head. LAS requires both the correct head and the correct relation label. A prediction with the correct head and the wrong relation earns credit in UAS only. These are attachment metrics. They do not measure language identification or give a separate tagger accuracy figure.

The baseline depends on keeping the development annotations separate from training and using a consistent reference for word boundaries, heads and labels. A change in the treatment of a common construction can change the reference attachments. Scores from different annotation conventions therefore need to be interpreted against the conventions used to produce them.

## Frames and pragmatics in the current pipeline

Mova’s frame, pragmatic and world components, including `prag` and `world`, read English trees. For Frafra, the first missing input is a dependency tree. A language label tells the parser which model to look for. It does not identify a predicate, its arguments or the relations that later stages would use as input. A span marked `Parse=None` supplies no such tree.

A Frafra tree would provide syntactic input for future work. The current frame and pragmatic components have English trees as their input, and there is no Frafra frame or pragmatic analysis available through the pipeline. Attachment scores, once available, would describe the quality of predicted dependency trees. They would give no direct measure of frame or pragmatic analysis.

## Squid’s claim queue and the rules needed for a baseline

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, wait in its queue for a place in Mova’s code. For a rule, the claim should retain the conditions under which it applies and any exceptions. For a closed list, it should give all members and identify the category they belong to. A queued claim is pending implementation.

The first priorities for a Frafra baseline are the claims needed for tokenization, tagging and UD annotation. The examples below identify decisions the baseline would need to make. Their specific treatment belongs in the corresponding spelling or grammatical rule and in the treebank’s annotation conventions.

| Area | Decisions needed for the baseline |
| --- | --- |
| Sentence and word boundaries | Determine how punctuation, numerals and apostrophes affect boundaries. Establish when a written form corresponds to one syntactic word and when it represents several. |
| Lemmas, tags and features | Specify how inflected forms are linked to lemmas, how context distinguishes words with more than one grammatical use, and when distinctions such as noun number or verbal aspect receive features. |
| Dependencies within phrases | Specify the head and dependent relations for determiners, modifiers and locative expressions. |
| Dependencies within and between clauses | Establish consistent heads and relations for predicates and their arguments, serial verb constructions, coordination and subordinate clauses. |

The phrase `1979 yuunɛ la puan` illustrates the distinction between describing a construction and annotating it. Its gloss identifies the year expression and the locative meaning. A treebank entry also needs the word boundaries, a tag for each word, the attachments within the expression, and its attachment to the rest of the sentence. A rule in the claim queue can inform those decisions. Its presence in the queue does not change the current parser output. (`wiki:gur:Abena Osei Asare`)

## How Mova handles Frafra today

`tools/langseg` assigns languages to sentences and spans. For Latin script it currently distinguishes English and French using a Latin table, lexicons and a character 4-gram model. Its other coverage includes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts receive `other`. Frafra span identification requires coverage in the segmenter. The route for adding a Latin-script language is a `Lang` code and a lexicon from an open UD training split, using `langseg latin-lexicon`.

`tools/mova-parse` selects the model for each span’s language. Mova has no level-2 model for `gur`, so it reports the missing model in the `# parse` comment and leaves `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD` and `DEPREL` as `_`, with `Parse=None` in `MISC`. Frafra tokenization, tagging, lemmatization and dependency parsing remain unimplemented.

Mova holds no Frafra treebank and has no measured Frafra baseline. [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for the common baseline in which `en xpos-fill` prepares the UD training split, `en train` trains a tree parser and tagger, and `en parse-eval` measures UAS and LAS on the development split. The available models are `en.bin` and `fr.bin`. Mova’s frames, pragmatics and world components, including `prag` and `world`, read English trees and have no Frafra tree as input.

Squid turns the manual’s grammatical points into claims. Formalizable rules, closed lists and statistics can wait in its queue for implementation. Frafra’s first priorities are the rules needed for 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/gur/sources/)).
- [← previous 25. Speech acts, address and figurative language](https://md.mova.elamur.ai/free/en/docs/languages/gur/25-speech-acts-and-figurative-language/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/gur/sources/)
- [↑ back to Frafra (gur) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/gur/)

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