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/pcm/28-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/) / [pcm](https://md.mova.elamur.ai/free/en/docs/languages/pcm/) / 28. Nigerian Pidgin in Mova

# 28. Nigerian Pidgin in Mova

Mova has unannotated Nigerian Pidgin text, but it has neither a parser model nor an annotated treebank for the language. This chapter describes what the multilingual pipeline can report, how to read missing analyses, and what data a Nigerian Pidgin training and evaluation baseline requires.

## Language identification and mixed-language spans

Mova uses two levels of processing. At level one, `tools/langseg` assigns a language to each sentence and span. At level two, `tools/mova-parse` selects a parser model by the language assigned to each span. The sentence label and the span labels therefore answer different questions. To determine which model a part of a mixed-language sentence calls for, use its span label.

For English and French in Latin script, `tools/langseg` uses a Latin table, a lexicon for each language and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes scholarly transliteration of Hebrew or Aramaic. Other scripts are classified as `other`. The stated route for adding a Latin-script language is to add a `Lang` code and a lexicon built from an open Universal Dependencies (UD) training split with `langseg latin-lexicon`. Nigerian Pidgin uses Latin script in the examples here. The listed identification coverage does not establish that `tools/langseg` recognizes `pcm`.

Titles and names illustrate why sentence-level and span-level identification need to be kept distinct. In the Nigerian Pidgin text about 2Baba, an English award title appears after a Nigerian Pidgin predicate. The fragments below show the contrast in the input. They give no observed span boundaries or language labels from Mova. All the examples in this chapter use Latin script.

| Form | Gloss | Translation |
| --- | --- | --- |
| *win award laik* | win award like | ‘won an award like …’ (`wiki:pcm:2baba`) |
| *“Best African Act”* | best African act | ‘Best African Act’, an award category (`wiki:pcm:2baba`) |

The same distinction applies to names inside a clause. The Abraka text has a predicate introduced by *na* and a location phrase containing *Delta State*. The presence of that name alone provides no evidence about the boundaries that the language identifier would return.

| Form | Gloss | Translation |
| --- | --- | --- |
| *na town for Delta State* | COP town in Delta State | ‘is a town in Delta State’ (`wiki:pcm:Abraka`) |

In the glosses, `COP` marks a copula, `REL` a relative marker, `PL` plural, `3PL` third-person plural and `IPFV` imperfective aspect. Where the form is a fragment, the translation supplies the reading in its source context.

## Level-two model availability and Parse=None output

For each labeled span, level two looks for the corresponding language model. The model convention is <code>.bin. A span labeled `pcm` calls for the model for that code. Mova currently has models for English and French and has no level-two model for Nigerian Pidgin.

When the model for a span is missing, `tools/mova-parse` reports the language in a `# parse` comment. The token rows for that span carry the following values.

| Field | Value when the span's model is missing | Annotation represented by the field |
| --- | --- | --- |
| `LEMMA` | `_` | Lexical base form |
| `UPOS` | `_` | Universal part of speech |
| `XPOS` | `_` | Language-specific part of speech |
| `FEATS` | `_` | Morphological features |
| `HEAD` | `_` | Index of the syntactic head |
| `DEPREL` | `_` | Dependency relation to the head |
| `MISC` | Contains `Parse=None` | Records that the parse is unavailable |

The underscores give no analysis of the individual forms. For example, `_` in `FEATS` leaves open whether an annotator would record number, and `_` in `HEAD` leaves the head unassigned. The fallback rows likewise supply no Nigerian Pidgin tokenization analysis. Their presence preserves material in the output while the model is unavailable.

The condition applies span by span. A mixed-language sentence can contain material labeled for a language that has a model and material labeled for one that lacks a model. The columns for the latter have the fallback values even when the former can be parsed. `Parse=None` identifies that outcome for a span already assigned a language. A mistaken or missing language identification is a separate issue at level one.

## External UD research and Mova's treebank inventory

Caron, Courtin, Gerdes and Kahane describe a surface-syntactic UD treebank for Naija. Their paper provides an external reference for representing the language's syntax with Universal Dependencies. Mova holds no annotated Nigerian Pidgin corpus, so this research and Mova's own treebank inventory have different coverage. (Caron et al. 2019, § 1)

Mova's unannotated corpus includes Nigerian Pidgin biographical and geographical text. The sentence IDs in this chapter identify examples from that material. A corpus example shows an attested form and its context. For training and evaluation, a UD treebank must also identify the token boundaries, tag the tokens and record their heads and dependency relations according to consistent annotation conventions.

Forms such as *wife-dem* and *pikin-dem* illustrate what a treebank has to specify. The hyphen is visible in the input. The annotation would have to specify the syntactic word or words represented by the written form and where to record plural marking. The examples attest the written forms and their plural readings. A tokenization or feature policy for Mova cannot be inferred from those spellings alone.

| Form | Gloss | Translation |
| --- | --- | --- |
| *five wife-dem* | five wife-PL | ‘five wives’ (`wiki:pcm:9ice`) |
| *nine pikin-dem* | nine child-PL | ‘nine children’ (`wiki:pcm:9ice`) |

## The training and evaluation baseline and its measurement status

The language package specification in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for the same UD baseline for every language. Mova's parser and tagger are in the `en` crate. The baseline prepares tags with `en xpos-fill`, trains on a language's UD training split with `en train`, and measures attachment on its development split with `en parse-eval`. The training split supplies the examples from which the model learns. The development split supplies the reference dependencies for scoring.

| Measure | What counts as a correct attachment |
| --- | --- |
| UAS, unlabeled attachment score | The predicted head matches the reference head. |
| LAS, labeled attachment score | The predicted head and dependency label both match the reference annotation. |

A token with the right head and the wrong relation label can count as correct for UAS only. Both scores depend on a reference analysis. The printed words of a corpus sentence alone cannot establish whether a predicted attachment is correct. For example, the string *wey dey rait song* is attested as part of a description of a person. A reference analysis must identify the dependencies inside the relative clause and its attachment to the rest of the sentence before those decisions can be scored.

| Form | Gloss | Translation |
| --- | --- | --- |
| *wey dey rait song* | REL IPFV write song | ‘who writes songs’ (`wiki:pcm:9ice`) |

There are no measured UAS or LAS values for `pcm` in Mova. The language has neither the annotated corpus required for the train-to-development comparison nor a level-two model. The `Parse=None` rows represent missing predictions, so they do not constitute a measured baseline. The reported status is **unmeasured**.

## Frames and pragmatics dependencies

Frames, pragmatics and world processing in Mova read English trees. A Nigerian Pidgin sentence identified at level one still needs a syntactic tree before it can provide tree input to those components. For a `pcm` span with no model, the blank `HEAD` and `DEPREL` fields leave the syntactic relations unavailable. The language label and `Parse=None` describe the processing outcome and supply no relations for these components to read.

For example, the fragments *dem bon am* and *dey rait song* contain material that a reader can relate to events and their participants. In the birth expression, *am* refers to the person born. In the writing expression, *song* names what is written, and the writer is recovered from the surrounding relative construction. Glosses can describe those readings for a grammar reader. They do not supply the annotated trees that Mova's downstream components require.

| Form | Gloss | Translation |
| --- | --- | --- |
| *dem bon am* | 3PL give.birth 3SG.OBJ | ‘he was born’ (literally, ‘they gave birth to him’) (`wiki:pcm:9ice`) |
| *dey rait song* | IPFV write song | ‘writes songs’ (`wiki:pcm:9ice`) |

Parsing is the first missing dependency. The downstream components are described as readers of English trees, so the existence of a Nigerian Pidgin tree would establish the availability of syntactic input. It would leave open what those components could do with that input.

## Squid claims and priorities for tokenization, tagging and parsing

Squid reads the grammar manual and makes a claim from each grammatical point. Formalizable claims, including rules, closed lists and statistics, enter a queue for a place in Mova's code. Queue membership records a claim awaiting implementation. The priorities for Nigerian Pidgin are the decisions needed to prepare tokens, tag them and build an annotated UD baseline. The relevant decisions depend on one another. A tag is assigned to an annotated token, and the dependency tree specifies relations between the annotated syntactic words.

### Tokenization

Tokenization needs a consistent treatment of written forms such as *wife-dem* and *pikin-dem*. An annotation policy must state when the written form corresponds to one syntactic word or more and how to represent the hyphen. A different question arises with *wel wel*. The two written elements are separated by a space, and the expression intensifies the preceding predicate in the example. A tokenization policy needs to identify the units that later stages will tag and relate.

| Form | Gloss | Translation |
| --- | --- | --- |
| *sabi wel wel* | know well well | ‘know very well’ (`wiki:pcm:9ice`) |

### Tagging

Tagging decisions need enough context to distinguish the uses of a form. The example from Abraka has *na* before a predicative noun phrase. In the Barber text, *na* introduces an emphasized location phrase. These contexts are evidence for distinguishing the functions in annotation. The label for either use is a decision to document in the treebank's tagging conventions. Multiword contexts also make forms such as *dey* and *wey* available for annotation in their predicate and clause environments.

| Form | Gloss | Translation |
| --- | --- | --- |
| *na town* | COP town | ‘is a town’ (`wiki:pcm:Abraka`) |
| *Na for St Peter's Anglican School* | FOC at St Peter's Anglican School | ‘It was at St Peter’s Anglican School …’ (`wiki:pcm:Abayomi Barber`) |

Here `FOC` marks focus. The copular and focus glosses characterize the uses in these examples. They are functional glosses, independent of the eventual UD tags.

### Dependency parsing

A treebank baseline needs reference trees that settle which words head the phrases and clauses and which dependency labels describe their relations. The relative construction in the 9ice text, for example, requires an analysis of the clause headed by the writing predicate and of its link to the nominal it modifies. Comparable constructions in the training and development splits need the same annotation conventions so that a score reflects a comparison to a consistent reference. The sentences alone provide evidence for the construction, while the treebank supplies the attachments against which to evaluate predictions.

A claim about a form can therefore serve different purposes at different stages. A spelling claim can guide segmentation, a distributional claim can inform tagging, and a syntactic claim can guide dependency annotation. Their implementation status is separate from their status as grammatical claims. With no Nigerian Pidgin model and no treebank baseline, none of these chapter rules is implemented for the language.

## How Mova handles Nigerian Pidgin today

`tools/mova-parse` uses `tools/langseg` at level one to assign a language to every sentence and span. The identifier distinguishes English and French in Latin script using its Latin table, a lexicon for each language and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes scholarly transliteration of Hebrew or Aramaic. It classifies every other script as `other`. Adding another Latin-script language requires a lexicon and a `Lang` code. `langseg latin-lexicon` builds lexicons from open UD training splits. Identification of a language's spans depends on the identifier knowing its script or lexicon.

At level two, `tools/mova-parse` uses the assigned language's model at <code>.bin. There is no level-two model for `pcm`. When a span is labeled `pcm`, Mova reports the missing parse in the `# parse` comment and leaves `_` in `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD` and `DEPREL`, with `Parse=None` in `MISC`. Mova has no Nigerian Pidgin tokenization, tagging, lemmatization or parsing for those spans.

Mova's parser is in the `en` crate. `en train` trains a tree parser and tagger on a language's UD training split after `en xpos-fill`. `en parse-eval` measures UAS and LAS on the development split after training. The available models are English (`en.bin`) and French (`fr.bin`). [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for the same baseline for each language. Mova holds no Nigerian Pidgin treebank, and no treebank baseline has been measured for `pcm`.

The frames, pragmatics and world components, including `prag` and `world`, read English trees. Nigerian Pidgin supplies no trees for them to read until it can be parsed. Squid turns the manual's grammatical points into claims and queues the formalizable ones for implementation. None of the chapter's rules is implemented for `pcm`. The first priorities are the points needed by a tokenizer, a tagger and a UD treebank baseline.

## Sources for this chapter

- Caron, Bernard, Marine Courtin, Kim Gerdes and Sylvain Kahane. 2019. A Surface-Syntactic UD Treebank for Naija. In Proceedings of the 18th International Workshop on Treebanks and Linguistic Theories (TLT, SyntaxFest 2019). Paris, France: Association for Computational Linguistics. — CC BY 4.0; not held in the library, to verify
- [← previous 27. Register and style](https://md.mova.elamur.ai/free/en/docs/languages/pcm/27-register-and-style/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/pcm/sources/)
- [↑ back to Nigerian Pidgin (pcm) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/pcm/)

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