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/fon/27-fon-in-mova/)

[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/) / [fon](https://md.mova.elamur.ai/free/en/docs/languages/fon/) / 27. Fon in Mova and Squid

# 27. Fon in Mova and Squid

Mova has Fon text samples under the code `fon`. The package has no annotated Fon treebank, no Fon parser model, and no measured parsing baseline. These gaps affect different stages of processing. Language identification assigns a language to a span, parsing assigns a grammatical analysis, and later components use that analysis to build frames and interpret pragmatics.

## The current Fon package and language identification

Mova uses `fon` as the package code for Fon. A corpus identifier containing `fon` gives the language of a stored example. When Mova processes new text, `tools/langseg` assigns language labels to sentences and spans at level 1. The corpus label and the label assigned to an input span have different sources.

The Latin-script identification resources described here cover English and French. They use a Latin table, language lexicons, and a character 4-gram model. The identifier also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage receive the label `other`. Fon uses Latin script, and a Latin-script span requires language-specific evidence to be identified as Fon. An unfamiliar word in Latin script does not by itself trigger the label `other`.

The route for adding a Latin-script language is to add a lexicon and a `Lang` code. The `langseg latin-lexicon` command builds lexicons from open Universal Dependencies (UD) training splits. Fon has no annotated training split in Mova. The Fon labels on the stored samples therefore establish the language of those samples without demonstrating level-1 recognition of Fon in new text.

| Corpus excerpt | Gloss | Translation | Sentence ID |
| --- | --- | --- | --- |
| “ɖo xwe 1946” | in year 1946 | “in 1946” | `wiki:fon:Abiola Félix Iroko` |
| “Benɛɛtò mɛ” | Benin inside | “in Benin” | `wiki:fon:Acɔnmɔ` |

The excerpts contain material a Fon baseline would encounter in ordinary text, including the letter `ɖ`, a written tone mark, a place name, and a year in digits. The corpus identifiers record where the excerpts come from.

## Output for Fon spans without a parser model

At level 2, `tools/mova-parse` selects a model using the language assigned to each span. A span labeled `fon` has no corresponding model. The `# parse` comment reports the missing model, and any token rows emitted for that span carry the following values.

| Field | Value | Interpretation |
| --- | --- | --- |
| LEMMA | `_` | Lemma unavailable |
| UPOS | `_` | Universal part of speech unavailable |
| XPOS | `_` | Language-specific part of speech unavailable |
| FEATS | `_` | Morphological features unavailable |
| HEAD | `_` | Syntactic head unavailable |
| DEPREL | `_` | Dependency relation unavailable |
| MISC | `Parse=None` | No model-based parse for the token |

Read these values together. An underscore in HEAD leaves the head unspecified. It does not designate the token as a root. The same absence of analysis accounts for the underscores on names, ordinary words, and digits. `Parse=None` is the status of the parse, so a count of rows bearing that value measures rows with missing parses.

The token rows are an output format and do not constitute Fon-specific tokenization. The missing-model behavior is conditional on the span's language label. In a text with several languages, each span goes through the model lookup for its own label. Spans labeled English or French can use their available models even when a span labeled Fon has no model.

## Treebank availability and baseline measurements

Mova holds Fon text samples, including samples drawn from Fon Wikipedia. It has no annotated Fon treebank. The samples illustrate the wording and spelling found in text, while a treebank would supply the reference token boundaries, tags, and dependency annotations needed to train and score a parser.

The package baseline uses a UD training split for fitting and a development split for evaluation. Its two parsing measures compare predicted dependencies with the development annotations.

| Measure | What must match for an evaluated token |
| --- | --- |
| Unlabeled attachment score (UAS) | The syntactic head |
| Labeled attachment score (LAS) | Both the syntactic head and the dependency relation |

For Fon, both measures are unmeasured. An output with `Parse=None` provides neither the predicted head nor the predicted relation needed to score an attachment. Likewise, the presence of a sentence in the corpus does not supply the reference head or relation. A first reported baseline needs both a trained Fon model and an annotated development split.

The baseline answers how well the parser recovers the development set's dependency analysis under the treebank's annotation conventions. Language identification is a separate stage, so attachment scores on the Fon development split do not establish how reliably the multilingual identifier finds Fon in mixed text.

## The multilingual training and evaluation workflow

[What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for the same baseline procedure for each language. The shared parser and tagger are in the `en` crate. English and French have trained models, `en.bin` and `fr.bin`. Applying that procedure to Fon would require an annotated Fon UD training split and a development split.

| Step | Command | Role in a Fon baseline |
| --- | --- | --- |
| Prepare the training annotations | `en xpos-fill` | Prepare XPOS before training. |
| Fit the model | `en train` | Train the tree parser and tagger on the UD training split. |
| Evaluate attachments | `en parse-eval` | Measure UAS and LAS on the development split with the model fitted on the training split. |
| Provide the Latin-script lexical resource | `langseg latin-lexicon` | Build a lexicon from an open UD training split for use with a Fon `Lang` code. |

Training and identification supply different inputs to multilingual parsing. The training workflow supplies a model for level 2. The lexicon and language code let level 1 assign the corresponding span label. In `tools/mova-parse`, that label determines which model is selected. Evaluating a trained model on identified Fon data and checking model selection in multilingual text therefore answer different questions.

## Frames and pragmatics coverage

Mova's frame processing and its `prag` and `world` components read English trees. An unparsed Fon span has no tree for them to read. A language label or an unannotated row supplies no predicate, argument structure, or other dependency information to those components.

The dependency baseline establishes the syntactic input that later processing would need. Its attachment measures test head and relation predictions. They do not test frame extraction, the interpretation of a speech act, or the recovery of a discourse referent. Fon coverage for those tasks cannot be inferred from the availability of a tree model alone.

## Squid claims and priorities for a first baseline

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists, and statistics, enter a queue for implementation in Mova. Queue entry records a candidate for implementation. The current Fon package implements none of the chapter's grammar rules.

The first priorities are the distinctions needed to tokenize and tag Fon text and to create a consistent UD treebank. Each priority should lead to a decision that can be applied to an observable form or construction.

| Baseline area | First decisions |
| --- | --- |
| Tokenization | Specify boundaries around punctuation, names, and digit strings. Test that Fon letters and their diacritics remain intact in the resulting tokens. |
| Tagging | Identify the forms and contexts that distinguish common word classes and grammatical particles. For each closed inventory used to assign a tag, specify all members and any context-dependent assignments. |
| Dependency annotation | Specify heads and relations for basic verbal and nonverbal predication, arguments, and noun-phrase modifiers. Include negation, questions, and serial verbs where they affect the dependency analysis. |
| Treebank preparation | Apply the same boundary, tag, and dependency conventions to the training and development splits. Use the development annotations as the reference for attachment evaluation. |

The samples give concrete material for checking these decisions. For “ɖo xwe 1946” (in year 1946, “in 1946”), the baseline needs to preserve the digit string and give it a consistent analysis in the year expression. For “Benɛɛtò mɛ” (Benin inside, “in Benin”), the annotation needs to represent the place name and decide the dependency analysis of the location expression. These are annotation targets drawn from `wiki:fon:Abiola Félix Iroko` and `wiki:fon:Acɔnmɔ`, respectively.

## How Mova handles Fon today

`tools/mova-parse` uses `tools/langseg` at level 1 to assign a language to each sentence and span. Identification depends on the script and lexical coverage of the identifier. Its Latin-script resources distinguish English and French using a Latin table, language lexicons, and a character 4-gram model. It also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts receive the label `other`. Adding a Latin-script language requires a lexicon and a `Lang` code. `langseg latin-lexicon` builds lexicons from open UD training splits.

At level 2, `tools/mova-parse` uses the model for each span's language. There is no level-2 model for `fon`. For a span labeled `fon`, the `# parse` comment reports the missing model. Its token rows have `_` in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL and `Parse=None` in MISC. Mova performs no Fon-specific tokenization, tagging, lemmatization, or parsing.

Mova has no annotated Fon treebank and no measured Fon baseline. The shared workflow in `en` prepares the training data with `en xpos-fill`, trains the tree parser and tagger with `en train`, and measures train-to-development UAS and LAS with `en parse-eval`. [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for that baseline for each language. The available models are `en.bin` and `fr.bin`.

Mova's frames, pragmatics, and world processing read English trees. For Fon, the absence of a parse leaves `prag` and `world` without a tree to read. Squid turns the manual's grammatical points into claims and queues formalizable claims for implementation. None of the Fon rules is implemented. The first implementation 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/fon/sources/)).
- [← previous 26. Reference, discourse, and dialogue](https://md.mova.elamur.ai/free/en/docs/languages/fon/26-reference-and-discourse/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/fon/sources/)
- [↑ back to Fon (fon) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/fon/)

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