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/pt/pt-x-african/27-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/) / [Portuguese](https://md.mova.elamur.ai/free/en/docs/languages/pt/) / [pt-x-african](https://md.mova.elamur.ai/free/en/docs/languages/pt/pt-x-african/) / 27. African Portuguese in Mova

# 27. African Portuguese in Mova

The `pt-x-african` edition describes African Portuguese. Mova currently has neither a parser model nor an annotated corpus for this edition. This chapter explains what a reader can determine from Mova’s output, what measurements are available, and which parts of the grammar matter first for a parsing baseline.

## The edition and the language package

The edition identifier is `pt-x-african`. The manual uses it for a scope that includes multiple national varieties of Portuguese. A grammatical observation can apply across that scope or be restricted to a particular variety, register, or context. Those restrictions belong with the observation when it is considered for implementation.

Mova’s language package specification, [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/), asks for the same parser baseline for every language. The baseline uses an annotated Universal Dependencies (UD) training split to train a tagger and a dependency parser, then evaluates the result on a development split. For `pt-x-african`, the current state is as follows.

| Component | Current state |
| --- | --- |
| Grammar edition | `pt-x-african` |
| Language segmentation | Latin-script support covers English and French. Recognition of an additional Latin-script language requires a lexicon and a language code in the segmenter. |
| Tagger and dependency parser | No model for `pt-x-african` |
| Annotated corpus in Mova | No treebank for `pt-x-african` |
| Dependency evaluation | No measured baseline for `pt-x-african` |
| Formalizable grammar claims | Await implementation in Squid’s queue |

## Language segmentation and current coverage

`tools/mova-parse` handles multilingual input in two levels. At level 1, `tools/langseg` assigns a language to each sentence and span. A span is the unit passed on to level 2, where the parser selects a model by the span’s language code. Language assignment supplies the routing decision. The availability of a model under that code determines whether the span can receive a parse.

For Latin-script text, the segmenter distinguishes English and French using a Latin table, a lexicon for each language, and a character 4-gram model. It also recognizes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts receive the label `other`. Portuguese shares the Latin script with English and French, so the script alone cannot identify a span as `pt-x-african`.

An additional Latin-script language enters the segmenter with a lexicon and a `Lang` code. The `langseg latin-lexicon` command builds the lexicon from an open UD training split. This is a separate part of coverage from parsing. Reliable assignment of `pt-x-african` would allow level 2 to look for that edition’s model, and the model would still have to exist for parsing to proceed.

## Parser model availability and unannotated output

At level 2, `tools/mova-parse` looks for the model associated with the language assigned to each span. The installed models described here are `en.bin` for English and `fr.bin` for French. There is no model for `pt-x-african`. When a span reaches level 2 under that code, the `# parse` comment reports the missing model. Its token rows carry the following values.

| Field | Value | Annotation that is unavailable |
| --- | --- | --- |
| LEMMA | `_` | Dictionary form |
| UPOS | `_` | Universal part-of-speech tag |
| XPOS | `_` | Language-specific part-of-speech tag |
| FEATS | `_` | Morphological features |
| HEAD | `_` | Index of the syntactic head |
| DEPREL | `_` | Dependency relation to the head |
| MISC | `Parse=None` | The marker that the parser supplied no analysis |

Read the underscores together with the `# parse` comment and `Parse=None`. For example, `_` in FEATS under this condition leaves number, gender, and other features unanalyzed. `_` in HEAD leaves the head unassigned, including the decision about which token is the root. The presence of token rows in this output does not establish that Mova tokenized the span according to Portuguese conventions. The package lacks language-specific tokenization as well as tagging, lemmatization, and dependency parsing.

## Treebank availability and the unmeasured baseline

Mova holds no annotated African Portuguese corpus. A UD treebank would supply the reference tokenization, tags, features, and dependency trees needed to train and evaluate the parser. The baseline specified by [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) uses the training split for model fitting and the development split for scoring. A corpus without reference trees can supply examples of written usage, but it cannot supply the heads and relations against which the parser’s output is scored.

In the `en` crate, `en train` trains a tree parser and tagger on the UD training split after `en xpos-fill`. The `en parse-eval` command measures the resulting parser on the development split.

| Measure | What is scored against the reference tree | Status for `pt-x-african` |
| --- | --- | --- |
| UAS, unlabeled attachment score | Whether the predicted head matches the reference head | Unmeasured |
| LAS, labeled attachment score | Whether both the predicted head and the dependency relation match the reference | Unmeasured |

Missing-model output is a report about model availability. It cannot serve as an evaluation result. A baseline would describe performance on the development data used to compute it. Its interpretation across the edition’s national varieties and registers would depend on which of them those data represent.

## Grammar claims and Squid's implementation queue

Squid reads the manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists, and statistics, wait in Squid’s queue for a place in the code. A claim’s presence in the queue records work awaiting implementation.

The conditions on a grammatical claim determine its scope. A closed list needs all its members and the context in which the list is closed. A rule needs the environments where it applies and any exceptions. A statement restricted to a national variety or a register needs to retain that restriction. A statistic needs the population or sample it describes. These distinctions matter when choosing whether a claim should guide a token boundary, a tag, or the analysis of a dependency.

A grammar claim and a parser score answer different questions. A claim can specify how to annotate a construction in a given context. A score measures how often a trained model recovers the reference annotations in held-out data. The manual supplies claims, while the train-to-development evaluation requires an annotated corpus and a trained model.

## Treebank, tagger and tokenizer priorities

The first priorities are the decisions that let a tokenizer produce consistent units, a tagger assign annotations to those units, and a treebank record the reference trees. These decisions also make evaluation reproducible. A change in token boundaries can change which heads and relations are available to compare.

| Priority | Decisions needed for a baseline |
| --- | --- |
| Treebank | Set the text coverage and the train and development splits. Document the annotation of forms that vary by national variety or register and of material from another language within a sentence. Assign reference heads and relations consistently. |
| Tokenizer | Specify sentence and token boundaries. Define how the written form is retained when a contraction represents separate syntactic words, how to handle hyphenated clitics, and how punctuation and numerical notation affect boundaries. |
| Tagger | Specify lemmas, universal and language-specific part-of-speech tags, and morphological features. Annotate recurrent ambiguities in context, including forms whose function varies across constructions. |

The constructed example below illustrates the distinction between the written form and the syntactic words a treebank can represent. The single written form *da* combines the preposition *de* and the feminine singular article *a*.

| Form | Gloss | Translation |
| --- | --- | --- |
| *As alunas chegaram da escola.* (constructed) | DEF.F.PL student.F.PL arrive.PRET.3PL from=DEF.F.SG school.F.SG | “The students arrived from school.” |

DEF marks the definite article, F feminine, SG singular, PL plural, PRET preterite, and 3PL third-person plural. A reference annotation for this sentence would preserve *da* in the text and specify how its preposition and article are represented in the dependency analysis. The same convention would need to apply in training and development data.

## How Mova handles African Portuguese today

`tools/mova-parse` first assigns languages to sentences and spans through `tools/langseg`, then looks up a parser model for the language of each span. Latin-script segmentation currently distinguishes English and French. Adding a Latin-script language requires a lexicon and a `Lang` code, and `langseg latin-lexicon` builds a lexicon from an open UD training split. Recognition of a span depends on the script or lexicon coverage of the segmenter.

There is no level-2 model for `pt-x-african`. For a span assigned that code, `tools/mova-parse` reports the missing model in the `# parse` comment. The token rows receive `_` in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL and `Parse=None` in MISC. Mova has no tokenizer, tagger, lemmatizer, or dependency parse for African Portuguese.

Mova holds no annotated African Portuguese treebank and has no measured UAS or LAS baseline for the edition. The baseline requested 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, followed by `en parse-eval` on the development split. Mova’s frames, pragmatics, and world components read English trees. African Portuguese currently supplies no parsed input for these components.

Squid records the manual’s grammatical points as claims and queues the formalizable ones. The queued rules await implementation. The first priorities are the claims 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/pt/pt-x-african/sources/)).
- [← previous 26. Register, schooling, media and multilingual use](https://md.mova.elamur.ai/free/en/docs/languages/pt/pt-x-african/26-register-and-use/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/pt/pt-x-african/sources/)
- [↑ back to African Portuguese (pt-x-african) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/pt/pt-x-african/)

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