Mova0.6 pre-release

the flag of El Salvador 19. Pipil in Mova

Mova has Pipil (ppl) corpus excerpts and a grammar manual. It has no annotated Pipil treebank, parser model, or measured parsing baseline. This chapter explains how to read multilingual output in that state, what a first baseline would measure, and how Squid records grammatical claims before they are implemented.

Pipil package status

The language and edition code is ppl. The corpus excerpts associated with that code provide attested text, including names, dates, and quotations embedded in Pipil prose. The code on a corpus example identifies the language assigned to that example in the corpus. It does not show that the language segmenter recovered that label from the text.

Resource or resultStatus for Pipil
Grammar manualAvailable to Squid as a source of grammatical claims
Corpus examplesAvailable as attested text with corpus identifiers
Annotated Universal Dependencies treebankAbsent from Mova
Level-2 parser modelAbsent
Parser baseline on a development splitUnmeasured

The distinctions matter when using examples from this manual. A corpus excerpt can illustrate the spelling or use of a form. Its gloss is a reading supplied by the manual. A treebank would supply reference annotations for individual words and dependencies, and a parser would produce its own annotations for comparison with that reference.

Language segmentation and output without a parser model

Mova's multilingual pipeline has two levels. Level 1 assigns a language to sentences and spans. Level 2 uses each span's assigned language to select its parser model. Model selection follows the language label. The presence of Pipil text in an input therefore does not guarantee that the pipeline identifies a Pipil span. For Latin-script text, the currently described segmentation support distinguishes English and French. Adding a Latin-script language requires a lexicon and a language code in the segmenter.

When the multilingual output contains token rows for a span assigned to a language with no model, the # parse comment reports the missing model and the rows carry the following values. These rows do not establish that a Pipil tokenizer has analyzed word boundaries.

Output fieldValueInformation left unspecified
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Dependency head
DEPREL_Dependency relation
MISCParse=NoneRecords the absence of a parse

For example, the following excerpt contains a pronoun followed by a past-tense verb. Those identifications come from the gloss, independently of any fields in parser output.

FormGlossTranslation
Yaja nesik3SG appear.PST‘He was born.’

The excerpt is from wiki:ppl:- Michael Jackson -. Even if both forms appear in output rows for a span labeled ppl, the missing-model output supplies neither the pronoun's person and number nor the verb's tense.

Treebank requirements and the unmeasured parsing baseline

The language package specifies a baseline that trains a tagger and dependency parser on the Universal Dependencies training split and evaluates the resulting parser on the development split. The training workflow runs en xpos-fill before en train. It uses en parse-eval to measure unlabeled attachment score (UAS) and labeled attachment score (LAS) on development data.

MeasureWhat counts as a correct attachment
UASThe predicted head matches the reference head.
LASThe predicted head and dependency relation both match the reference.

For a Pipil baseline, the treebank would need consistent sentence and word boundaries, part-of-speech tags, and reference heads and relations. The annotation decisions that determine which units get their own word rows need to be applied consistently in both splits. Head and relation scores alone would leave other questions unanswered, such as whether the parser chose the correct lemma or morphological features. Likewise, evaluation on prepared Pipil input would not measure whether the language segmenter can identify Pipil in running text.

There is no Pipil treebank in Mova from which to take the training and development splits. There is consequently no Pipil UAS or LAS to report. Neither the number of corpus excerpts nor the number of unannotated token rows measures dependency accuracy.

Availability of frames and pragmatics

Mova's frame, pragmatics, and world components read English dependency trees. A span labeled ppl supplies no Pipil dependency tree for those components to read. A Pipil model would supply the missing syntactic input. Support for reading that input and producing Pipil frame or pragmatic analyses would still need to be established.

A gloss can explain an interpretation that the current pipeline does not supply. In the birth sentence quoted above, the verb is glossed ‘appear’ and translated ‘was born’. The biographical context supports the English translation. Neither the gloss nor the translation is evidence of a frame assigned by Mova.

Claims in Squid and priorities for a first baseline

Squid reads each grammatical point in the manual as a claim. Formalizable claims, including rules, closed lists, and statistics, wait in its queue for a place in Mova's code. A queued claim records something that can be formalized. Its presence does not indicate that a tokenizer, tagger, or parser applies it.

The claims most relevant to a first baseline concern the units and labels that the training and development data would use.

FormGlossTranslation
tik ne shiwit 1981in DET year 1981‘in the year 1981’

This excerpt from wiki:ppl:Adriana Lima illustrates a development-data decision. The numeral belongs to the time expression, and the time expression modifies the event described in the surrounding sentence. A reference annotation must specify the dependencies within the expression as well as its attachment to the clause. The gloss and translation alone do not specify those dependencies.

Language identification is a separate requirement for running the baseline model through the multilingual pipeline. Building the Pipil lexicon and adding its language code would address model routing. Preparing the annotated splits would address training and dependency evaluation. Neither task supplies the result of the other.

How Mova handles Pipil with the tools currently available

tools/mova-parse uses tools/langseg at level 1 to assign languages to sentences and spans. At level 2 it looks for the parser model for each span's language. tools/langseg distinguishes English and French in Latin script through its Latin table, language lexicons, and a character 4-gram model. It also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage are labeled other. The route for adding another Latin-script language is to add a lexicon and a Lang code. langseg latin-lexicon builds lexicons from open Universal Dependencies training splits.

Mova has no level-2 model for ppl. For a span labeled ppl, tools/mova-parse reports the missing model in the # parse comment and leaves LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL as _, with Parse=None in MISC. Pipil span identification depends on coverage in tools/langseg. Mova does not tokenize, tag, lemmatize, or parse Pipil.

The en crate provides the shared parser workflow. en train trains a tree parser and tagger on a Universal Dependencies training split after en xpos-fill, and en parse-eval measures UAS and LAS on the development split. English and French have models, en.bin and fr.bin. What every language gets asks for the same baseline for every language. Mova has no annotated Pipil treebank and no measured Pipil baseline.

prag and world read English trees and have no Pipil parse to read. Squid records the manual's grammatical points as claims and queues the formalizable ones. The rules described in the manual are not implemented for Pipil. The first claims to address are those needed for tokenization, tagging, and a Universal Dependencies treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/ppl/19-pipil-in-mova/