Mova0.6 pre-release

the flag of Ghana 23. Ghanaian Pidgin English in Mova

Mova has Ghanaian Pidgin English (gpe) text examples, but it has neither an annotated treebank nor a level-2 parser model for the language. This chapter describes what the multilingual pipeline can report for a gpe span, what measurements are available, and which annotation decisions matter for a first parser baseline.

Language identification and Latin-script coverage

Mova assigns languages at two scales. At level 1, tools/langseg assigns a language to the sentence and to its constituent spans. At level 2, tools/mova-parse selects a parser model by the language of each span. The language assigned to a span and the availability of its parser model therefore determine different parts of the output.

Within Latin script, tools/langseg distinguishes English and French using a Latin table, a lexicon for each language, and a character 4-gram model. Adding another Latin-script language requires a lexicon and a Lang code. The langseg latin-lexicon command builds a lexicon from an open Universal Dependencies (UD) training split. The gpe label attached to a corpus example specifies the language of the source material. Automatic identification is limited to languages the segmenter can recognize from its script or lexical coverage.

The supplied Ghanaian Pidgin English samples include the phrase “de event,” glossed DEF event and translated ‘the event’ (wiki:gpe:2010 Ghana Movie Awards). Here DEF marks the definite article. The phrase pairs de with a spelling shared with English. It illustrates why a Latin-script match or the presence of an English word alone cannot establish the language of a span.

Span parsing and Parse=None output

At level 2, tools/mova-parse looks for the model corresponding to the language of the span. When that model is missing, the # parse comment reports the language with no model, and the token rows for that span carry the following values. Since there is no gpe model, this is the output for a span assigned gpe.

CoNLL-U fieldValue for a span with no model
LEMMA_
UPOS_
XPOS_
FEATS_
HEAD_
DEPREL_
MISCParse=None

The underscores leave the lemma, universal and language-specific part-of-speech tags, morphological features, dependency head, and dependency relation unspecified. In particular, _ in HEAD supplies no attachment, including no attachment to the root. Parse=None records the status of the parse. The presence of rows in this output does not establish that Mova has applied Ghanaian Pidgin English tokenization rules. Model selection is per span, so the missing-model output applies to the span whose language lacks a model.

The treebank and parser model status

Mova’s examples from Ghanaian Pidgin English Wikipedia are text samples. They include running prose as well as titles and bibliographic material. The samples provide forms in context for deciding what to annotate. Mova has no gpe treebank with reference tags and dependency trees, and it has no trained gpe model.

The package specification in What every language gets calls for the same train-to-development baseline for each language. Mova’s parser and tagger are in the en crate, which already has models for English (en.bin) and French (fr.bin). Its training procedure uses a language’s UD training split. The immediate data requirement for a Ghanaian Pidgin English baseline is an annotated training split and a separate annotated development split.

The train-to-dev baseline and UAS and LAS

The baseline first runs en xpos-fill on the UD training split, then uses en train to train the tree parser and tagger. en parse-eval measures the trained parser against the reference trees in the development split. The training trees are the learning data and the development trees supply the reference attachments for scoring.

MeasureWhat counts as correct for a scored token
Unlabeled attachment score (UAS)The predicted head matches the reference head.
Labeled attachment score (LAS)The predicted head and dependency relation both match the reference annotation.

A token attached to the right head with the wrong relation counts toward UAS alone. A token with the wrong head is incorrect under both measures, even when the relation label matches. These measures describe the parser’s agreement with the dependency annotation. Language identification, lemma accuracy and part-of-speech accuracy are separate questions. No train-to-dev baseline has been measured for gpe, so the package has no UAS or LAS result for the language.

Frames and pragmatics coverage

Mova’s frame processing and its pragmatics and world components (prag, world) read English trees. A Ghanaian Pidgin English span with Parse=None has no dependency tree to pass to those components. The span label and the original words supply no syntactic analysis for identifying a predicate and its dependents. A parsed tree is a prerequisite for processing another language through these components.

The phrase “wey dey Accra” illustrates an annotation problem upstream of interpretation. Its form-by-form gloss is REL LOC Accra, with REL for the relative marker and LOC for the locative predicate in this use. The translation is ‘which is in Accra’ (wiki:gpe:2023 Vodafone Ghana Music Awards). A tree would need to represent the relative clause and its attachment to the expression it modifies. The gloss describes the corpus phrase and supplies no frame or pragmatic analysis from Mova.

Claims in Squid and priorities for tokenization, tagging and annotation

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 possible implementation in Mova. A queued claim records what could be implemented. Parser support requires corresponding code or data in the pipeline.

Tokenization comes first in preparing treebank examples. The annotation needs consistent boundaries for ordinary written forms, punctuation, names, and dates, including those embedded in otherwise continuous Ghanaian Pidgin English prose. Multiword names require both a decision about the boundaries of their written tokens and a decision about dependency relations within the name. The corpus includes prose, headings and bibliographic fragments, so the preparation of a training or development split also needs a consistent decision about which text units to include.

Tagging needs distinctions based on the construction. Compare the following short corpus phrases. All forms are in Latin script. PROG marks progressive aspect, COORD a coordinator, SUBJ subject use, and OBJ object use. The glosses identify functions in these examples, independently of any eventual tag inventory.

FormGlossTranslationCorpus ID
“dey Accra”LOC Accra‘be in Accra’wiki:gpe:2023 Vodafone Ghana Music Awards
“dey live den work”PROG live COORD work‘be living and working’wiki:gpe:Moridja Kitenge Banza
“dem born am”3PL.SUBJ bear 3SG.OBJ‘they gave birth to her’wiki:gpe:Aba Andam

In the locative phrase, dey contributes the predication of location. In the second phrase, it precedes lexical predicates and contributes progressive aspect. The two environments need to be represented consistently in the tag and dependency guidelines. The third phrase gives a case for recording the subject and object roles of the pronouns alongside their person and number. The English translation selects ‘her’ from the context of the corpus example.

The treebank must also make attachment decisions consistently across sentences. For the relative clause above, the annotation needs to identify the clause head and the expression the clause modifies. For coordinated predicates, it needs to record the link between the predicates and the attachment of the coordinator. Applying the same decisions in train and dev gives the attachment scores a common reference.

How Mova handles Ghanaian Pidgin English today

tools/mova-parse uses tools/langseg at level 1 to assign a language to each sentence and span. For Latin script, the segmenter distinguishes English and French using its Latin table, language lexicons, and character 4-gram model. Another Latin-script language requires a lexicon and a Lang code. langseg latin-lexicon builds a lexicon from an open UD training split. Identification of a language without its own model is limited to coverage available in the segmenter.

At level 2, tools/mova-parse selects a model for each span by language. There is no model for gpe. For a span assigned gpe, the # parse comment reports the missing model. LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL have _, and MISC has Parse=None. Ghanaian Pidgin English has no implemented tokenization, tagging, lemmatization or dependency parsing in Mova.

The en crate trains the parser and tagger with en train on a UD training split after en xpos-fill. en parse-eval measures UAS and LAS on the development split. English and French have models, and What every language gets specifies this baseline for every language. Mova has no annotated Ghanaian Pidgin English treebank and has measured no baseline for it.

Mova’s frames, pragmatics and world components (prag, world) read English trees. Ghanaian Pidgin English supplies no parsed tree for those components. Squid records the manual’s grammatical points as claims and queues the formalizable ones. The chapter’s rules have no implementation yet. The first implementation priorities are the points needed for tokenization, tagging and a UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/gpe/23-ghanaian-pidgin-in-mova/