Mova0.6 pre-release

the flag of Haiti 29. Haitian Creole in Mova

Mova processes multilingual text in two levels. The first assigns languages to sentences and spans. The second looks up a parser model for each span’s assigned language. Haitian Creole has the language code ht, but Mova currently holds neither a parser model nor an annotated Haitian Creole treebank. The manual’s grammatical claims enter a separate workflow through Squid.

Latin-script language identification and lexicon requirements

Haitian Creole uses the Latin script. Script recognition can therefore place Haitian Creole text in the same broad category as English and French. Identifying the language within that category requires evidence from the text. Accented letters, individual words and proper names can occur in more than one language, and a span may be too short to provide much evidence.

At level one, tools/langseg assigns a language to every sentence and span. Its Latin-script identification uses a Latin table, a lexicon for each supported language and a character 4-gram model. A character 4-gram is a sequence of four consecutive characters. The lexicons provide evidence from word forms, and the 4-gram model provides evidence from sequences within the text. The supported Latin-script distinction is between English and French. To add another Latin-script language, the system needs a lexicon and a Lang code. The langseg latin-lexicon command uses open Universal Dependencies training splits as its source.

A sentence and a span can have different language assignments. This distinction matters when a passage includes a title in another language. A Haitian Creole corpus entry, for example, includes the French film title excerpt “Au revoir les enfants” (wiki:ht:Arnaud Henriet).

FormGlossTranslation
Au revoir les enfantsgoodbye DEF.PL child.PL‘Goodbye, children’

The corpus ID identifies the entry that contains the title. Level-one assignments are outputs of the identifier, so the ID alone gives no result for how that title or its surrounding text would be segmented.

Level-two model lookup and Parse=None output

At level two, tools/mova-parse works span by span. For a span assigned a language code, it looks under $MOVA_DATA, in that code’s language directory and its models subdirectory, for the file formed by appending .bin to the code. The language assignment drives the lookup. In a text with several assigned languages, each span needs the model for its own assignment.

If the model file is missing, the # parse comment reports the language without a model. For tokens in a span handled this way, the parser output uses the following values.

Output fieldValueAnnotation absent
LEMMA_Lexical base form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneMarks the missing parse

For a span assigned ht, this is the current level-two outcome. A token row with these values carries the text through the output without adding Haitian Creole linguistic tokenization or analysis. In particular, the empty HEAD and DEPREL fields supply no dependency tree, and the empty tag and feature fields supply no grammatical analysis of individual words.

Haitian Creole treebank and model status

Mova has Haitian Creole corpus text, including the cited Wikipedia entries. It holds no annotated Haitian Creole treebank. A corpus entry supplies a text sample and a source identifier. A Universal Dependencies treebank also records token boundaries and grammatical annotations, including the relations that connect tokens to their heads.

The excerpt “Yon chemiz gen yon kòlèt” shows the distinction (wiki:ht:Chemiz).

FormGlossTranslation
Yon chemiz gen yon kòlètINDF shirt have INDF collar‘A shirt has a collar’

The gloss makes the words readable and indicates how the phrase is interpreted. A treebank analysis would have to record the corresponding decisions explicitly, including the attachment of each yon and the dependencies of the nouns with respect to gen. This excerpt carries no such annotation in Mova. Mova also has no level-two model file for ht and no measured Haitian Creole treebank baseline. These are statements about the data and models held by Mova.

Training and measuring a Universal Dependencies baseline

The language package asks for a common baseline using Mova’s en crate. The procedure starts with a Universal Dependencies training split and a separate development split. The training split provides examples from which the parser and tagger learn. The development split provides annotated sentences against which the resulting parser can be evaluated.

StageDataOperation
Prepare training dataUD training splitRun en xpos-fill before training.
TrainPrepared UD training splitUse en train to train the tree parser and tagger.
EvaluateUD development splitUse en parse-eval to measure UAS and LAS for the trained parser.

Unlabeled attachment score, or UAS, is the proportion of evaluated tokens whose predicted syntactic head matches the annotated head. Labeled attachment score, or LAS, is the proportion whose predicted head and dependency relation both match the annotation. For example, if the parser attaches a noun to the correct verb but assigns an object relation where the reference tree gives a subject relation, that attachment counts toward UAS alone.

A Haitian Creole baseline needs training and development annotations whose token boundaries and dependency analyses can serve as the reference for this workflow. Decisions that affect the analysis, such as how to represent grammatical markers and predicate sequences, have to be applied consistently across the two splits. The en crate has models for English and French. Haitian Creole has no UAS or LAS result in Mova because it has no treebank baseline.

Dependencies of frames and pragmatics on parsed input

A dependency tree supplies head and relation information that can help connect a predicate with its arguments. The frame layer can use such connections to represent who or what participates in the situation described by a clause. A pragmatic interpretation may also need information from the wider discourse, such as the referent of a pronoun.

The excerpt “moun monte li tou” contains a subject, a verb, a pronoun and an additive expression (wiki:ht:Cheval).

FormGlossTranslation
moun monte li touperson ride 3SG also‘People ride it too’

In the passage, li refers to the horse. A syntactic analysis could link li to monte as its object. Interpreting li as the horse and understanding what tou adds depend on the surrounding discourse. This is a reading of the corpus excerpt, which has no Haitian Creole parse in Mova.

Mova’s frames, pragmatics and world components currently read English trees. Parsed input is a prerequisite for work on another language. With Parse=None, a Haitian Creole span supplies neither the heads nor the dependency relations that these components would need as input.

Squid claims and the implementation queue

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable rules, closed lists and statistics enter the implementation queue. A claim’s presence in the queue records a point awaiting a place in Mova’s code. Implementation requires the corresponding behavior in that code, and evaluation of a parser baseline requires a separate annotated development split.

The first Haitian Creole points for implementation are those needed for a tokenizer, a tagger and a Universal Dependencies baseline. Tokenization establishes the units to annotate. Tagging assigns categories to those units. Treebank annotation establishes their heads and dependency relations. For example, the excerpt “gadyen yo” (wiki:ht:Simbi) contains a noun followed by a plural determiner.

FormGlossTranslation
gadyen yoguardian DEF.PL‘the guardians’

For this occurrence, a tokenizer needs to represent gadyen and yo as separate words, a tagger needs to distinguish determiner yo from pronominal yo, and a treebank needs to record how the determiner attaches to the noun. A grammatical claim can specify the distinction. The current Haitian Creole output has no tag or dependency annotation for it.

How Mova handles Haitian Creole today

tools/mova-parse uses tools/langseg at level one to assign a language to each sentence and span. In Latin script, tools/langseg distinguishes English and French using its Latin table, language lexicons and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Other scripts are classified as other. Span identification for a language without a parser model is limited to what tools/langseg knows from its script or lexicon. Adding a Latin-script language requires a lexicon and a Lang code, using open UD training splits with langseg latin-lexicon.

At level two, tools/mova-parse looks for the model corresponding to each span’s language. Mova has no model for ht. When a span is assigned ht, the # parse comment reports the missing model. Its tokens have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. Mova currently performs no Haitian Creole linguistic tokenization, tagging, lemmatization or dependency parsing.

Mova holds no annotated Haitian Creole treebank and has measured no Haitian Creole baseline. The shared baseline in What every language gets uses en xpos-fill before en train on the UD training split, then en parse-eval to measure UAS and LAS on the development split. The existing models are en.bin for English and fr.bin for French.

The frame, pragmatic and world components, including prag and world, read English trees. Haitian Creole supplies no parsed input to them. Squid turns the manual’s grammatical points into claims and queues formalizable rules, closed lists and statistics for implementation. The Haitian Creole rules await implementation, beginning with the points needed by a tokenizer, a tagger and a UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/ht/29-haitian-creole-in-mova/