Mova0.6 pre-release

the flag of France 26. Arpitan in Mova

Mova uses frp as the language code for Arpitan. The package contains Arpitan text and a reference grammar. It has neither a parser model nor an annotated corpus for Arpitan. This chapter describes what appears in multilingual output, what a parsing baseline would measure, and how grammatical descriptions reach Squid’s implementation queue.

Language identification and model selection

Language identification assigns a language to each sentence and span. Model selection uses the label of the span being parsed. This matters in multilingual text because the language assigned to a sentence and the languages assigned to its individual spans can differ. Each span needs the model for its own assigned language.

Arpitan uses the Latin script. Mova’s Latin-script identifier distinguishes English and French using lexical and character evidence. Adding another Latin-script language requires a lexicon and a Lang code in the identifier. The package code frp identifies the language in this manual and in the corpus IDs. Those IDs describe the source language of the examples. They give no measurement of which label the identifier assigns to running text.

Corpus IDFormWord-by-word glossTranslation
wiki:frp:Lengoua“Una lengoua”INDF.F.SG language‘a language’
wiki:frp:Èsperanto“por facilitar la comunicacion”for facilitate.INF DEF.F.SG communication‘to facilitate communication’

INDF means indefinite article, DEF definite article, F feminine, SG singular and INF infinitive. The forms retain their corpus spelling.

The frp model and annotated corpus status

The Arpitan excerpts in Mova’s corpus provide attested forms in context. A Universal Dependencies (UD) treebank would supply reference analyses for the words in such contexts, including parts of speech, morphological features, and syntactic heads and relations. Mova holds no annotated Arpitan corpus. The corpus excerpts therefore provide no reference trees for training or evaluating a parser.

The parser model is a separate resource from the text or treebank. The second stage of multilingual parsing requires a model file for the span’s language. Mova has model files for English and French. For a span assigned to frp, the Arpitan model lookup has no file to load. The presence of an Arpitan document in the corpus consequently gives no syntactic analysis of that document in the multilingual pipeline.

Unannotated output and the Parse=None marker

When output includes a span whose assigned language has no model, the # parse comment reports the missing model for that language. The affected token rows carry Parse=None in MISC. The comment records the condition for the language, while the marker makes it visible on each affected row.

FieldValue on an affected rowInformation the row supplies
LEMMA_No lemma
UPOS_No universal part-of-speech tag
XPOS_No language-specific part-of-speech tag
FEATS_No morphological feature annotation
HEAD_No syntactic head
DEPREL_No dependency relation
MISCParse=NoneThe span’s language has no parser model

Read the underscores together with Parse=None. For instance, FEATS gives no evidence about a form’s gender or number, and HEAD gives no attachment, including attachment to the root. The presence of a row in the output supplies no Arpitan tokenization analysis. The same missing-model condition applies to all affected rows, regardless of how readily a reader can identify their lemmas, tags or syntactic roles.

Universal Dependencies training and evaluation baselines

What every language gets calls for the same train-to-development baseline for each language. The workflow first applies en xpos-fill to the UD training split, then uses en train to train the tree parser and tagger. en parse-eval measures dependency attachment on the development split. The reference analysis on that split supplies the head and relation against which a prediction is checked.

MeasureNameWhat must agree with the reference
UASUnlabeled attachment scoreThe predicted syntactic head
LASLabeled attachment scoreBoth the predicted syntactic head and the dependency relation

An attachment can count toward UAS when its head is correct even if its relation is wrong. LAS requires agreement on both. These scores measure attachment on annotated development data. They do not measure how often the multilingual identifier recognizes Arpitan or how often unannotated text receives a row in the output.

For frp, the train-to-development baseline is unmeasured. Mova has no annotated Arpitan data for either side of that evaluation and no Arpitan parser model to score. Rows marked Parse=None record a missing model and cannot supply a baseline score.

Frames and pragmatics input requirements

Mova’s frames, pragmatics and world components read English trees. Their input is downstream of parsing. A language label identifies the span’s language, but it supplies no predicate, argument attachment or clause structure for those components to read. The same limitation applies to a corpus excerpt whose construction is described in the grammar.

For example, the gloss of “por facilitar la comunicacion” identifies an infinitive and the phrase it combines with. In unannotated output, the fields for syntactic heads and relations are empty, so the gloss has no corresponding dependency input to the downstream components. Arpitan has no parsed trees for those components to read. The documented tree input for frames, pragmatics and world is English. (wiki:frp:Èsperanto)

Squid claims and implementation status

Squid reads the reference grammar and turns each grammatical point into a claim. Formalizable claims include rules with stated conditions and exceptions, closed lists and statistics. They enter Squid’s queue for a place in Mova’s code. A claim can therefore exist in the manual and the queue while its implementation is still pending.

The first candidates for implementation are the points needed by a tokenizer, a tagger and a UD treebank baseline. These have different roles. Tokenization establishes the units for annotation. Tagging assigns parts of speech and associated features. A UD treebank supplies the reference heads and relations for training and evaluation. The manual describes the language that those resources would have to cover. Squid’s queue records formalizable claims from that description. The Arpitan rules in the manual are pending implementation.

How Mova handles Arpitan in the multilingual pipeline

At level 1, tools/mova-parse uses tools/langseg to label every sentence and span with a language. For Latin script, tools/langseg distinguishes English and French using a Latin table, a lexicon for each language and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Every other script is labeled other. A further Latin-script language joins by adding a lexicon and a Lang code. langseg latin-lexicon builds lexicons from open UD training splits. Mova can identify Arpitan spans only where the identifier knows the requisite script or lexicon.

At level 2, tools/mova-parse selects the model file for each span’s assigned language. An assigned frp span has no model. The # parse comment reports the absence, and its token rows have Parse=None in MISC and _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL. Arpitan tokenization, tagging, lemmatization and dependency parsing are unavailable.

Mova’s en crate provides the parser workflow. 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 from training to development data. English has en.bin and French has fr.bin. The language package specification, What every language gets, calls for that baseline for every language. Arpitan has no annotated corpus in Mova, so it has no measured treebank baseline.

The frames, pragmatics and world components read English trees. Without Arpitan parses, prag and world have no Arpitan tree input. Squid reads the manual as grammatical claims and queues the formalizable ones for implementation. The Arpitan rules remain unimplemented, with the requirements of tokenization, tagging and a UD treebank baseline first in scope.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/frp/26-mova-tools/