Mova0.6 pre-release

the flag of Germany 27. Colognian in Mova

Mova’s multilingual pipeline assigns language labels before it applies a parser. Colognian has the edition code ksh, but Mova has neither a Colognian parser model nor an annotated Colognian treebank. This chapter describes the output available today and the decisions needed for a first Universal Dependencies (UD) baseline.

The ksh package and its current coverage

The ksh code identifies the Colognian edition of this manual. The manual records grammatical claims, and Mova’s corpora supply examples of written usage. The parser requires a separate resource, a trained model for the language of the span. The language package specification in What every language gets calls for a parser baseline for every language.

ResourceCurrent state for Colognian
EditionThe grammar manual is published under ksh.
Text examplesMova’s corpora include material from the Ripuarian Wikipedia.
Annotated corpusMova holds no Colognian UD treebank.
Parser modelNo level-2 model is available for ksh.
Parser evaluationNo treebank baseline has been measured.

The Wikipedia material includes regional spellings, names, quotations and short entries as well as running prose. A treebank assembled from such material would need to define which varieties it covers and how it handles passages in other languages. The language of an article and the language of a passage within it are separate annotation decisions.

Language segmentation and per-span model selection

Level 1 of tools/mova-parse uses tools/langseg to assign a language to each sentence and span. For Latin-script text, the segmenter distinguishes English and French using a Latin character table, language lexicons and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Other scripts receive other. The route for adding a Latin-script language is to add a lexicon and a Lang code. The langseg latin-lexicon command builds the lexicon from open UD training splits.

Level 2 selects a model using the language assigned to the span. A sentence that contains material from several languages can therefore contain spans sent to different models. A ksh label, where available, identifies the model the parser would need for that span. Reliable assignment of that label depends on language recognition, and producing a tree depends on the model being present.

FormGlossTranslationCorpus sentence ID
Tour de Francetour of France“Tour de France”wiki:ksh:Tuur d Frongß
uss Kanadafrom Canada“from Canada”wiki:ksh:G8-Jipfl 2008 ä Tōyako

The first excerpt is a French title quoted within a passage. The second contains a place name governed by a preposition in the surrounding text. These are examples for evaluating span boundaries. They carry no claim about the labels the segmenter actually returns for those strings.

Unannotated output and Parse=None

When level 2 has no model for a span’s assigned language, tools/mova-parse reports the missing model in the # parse comment. Each token row for that span has the following values in the affected columns.

ColumnValueUnavailable annotation or status recorded
LEMMA_Lemma
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Index of the syntactic head
DEPREL_Dependency relation to that head
MISCParse=NoneNo parse was produced for the token

The comment reports the model problem, and the token-level marker identifies the rows affected by it. For example, an underscore in HEAD supplies no head index. A downstream reader needs to check Parse=None before using such rows as a dependency tree. The presence of token rows in this output also supplies no evidence that their boundaries have been analyzed by a Colognian tokenizer.

The missing treebank and parser baseline

An annotated treebank would supply the word boundaries, tags, features, lemmas and dependencies needed for training and evaluation. The corpus excerpts in this manual illustrate written forms. A baseline requires a training split and a development split with consistent annotation so that predicted analyses can be compared with reference analyses.

Mova’s parser and tagger are trained with en train on a UD training split after en xpos-fill. The en parse-eval command evaluates the resulting parser on the development split. Unlabeled attachment score (UAS) measures how often the predicted head agrees with the reference head. Labeled attachment score (LAS) requires agreement on both the head and the dependency relation. A reported baseline should identify the splits and the evaluation conditions so that a later score can be compared with it. For Colognian, neither score is available.

Language identification and attachment scores answer different questions. A study of mixed text would need reference span boundaries and language labels to evaluate segmentation. A parser evaluated on the Colognian development split would measure attachment on that split. A baseline should record which of these evaluations was run and what input it used.

Proposed tokenization and Universal Dependencies priorities

The first annotation guidelines should settle which written strings contain more than one syntactic word and how to represent those words while preserving the attested spelling. For example, a fused preposition and article can be analyzed as two syntactic words under one surface token when both parts have a syntactic role. Separators in corpus text need a source-specific decision. An underscore may record a convention of the text or its preparation, so splitting at every underscore would assume an analysis before those conventions have been checked.

FormGlossTranslationCorpus sentence ID
vum Ootof.DEF.DAT place“of the place”wiki:ksh:Kirchroa
aan_e_ner Jrenzat INDF.DAT.F boundary“at a boundary”wiki:ksh:Äärdbävve en d'r Kölner Bucht
dä Druck wiggerleite deijtDEF pressure pass.on.INF do.PRS.3SG“passes the pressure on”wiki:ksh:Äärdbävve en d'r Kölner Bucht

DEF marks a definite article, INDF an indefinite article, DAT dative, F feminine, INF infinitive, and PRS.3SG third-person singular present. The glosses indicate grammatical readings. In aan_e_ner Jrenz, the printed separators are preserved while the indefinite article receives a single gloss.

Early tag and feature decisions should cover articles and pronouns, including their reduced forms, and the features supported by the nominal and verbal paradigms. Lemma guidelines should specify when different spellings share a lemma and preserve the attested form in FORM. The guidelines should also cover punctuation, abbreviations, dates, names, quoted material and compounds, since these affect the boundaries on which the syntactic analysis depends.

Early dependency decisions should cover subjects, objects, obliques, adpositions, auxiliaries and clause linkage. The last excerpt illustrates a decision about the verb chain. If the finite form of ‘do’ functions as an auxiliary in this construction, the infinitive is the lexical predicate and the finite form attaches to it as aux. Uses of ‘do’ as a lexical predicate need their own analysis. The distinction belongs in the annotation guidelines so that the same construction receives the same treatment in training and evaluation.

Frames, pragmatics and their dependence on parsed trees

Mova’s frames, pragmatics and world components read English trees. A parsed Colognian tree would supply the syntactic input needed to investigate their coverage for Colognian. At present there is no such input from the ksh pipeline.

A proposed frame analysis of the pressure example would need to identify the predicate and its participants. A pragmatic analysis of an utterance would need evidence for its interpretation in context. UD annotation supplies syntactic relations that can support these analyses. The frame inventory, the mapping from trees to frames and the treatment of pragmatic readings remain separate questions for Colognian.

Squid claims and the implementation queue

Squid reads the grammar manual and turns each grammatical point into a claim. Rules, closed lists and statistics that can be expressed formally enter the implementation queue. A queued claim records a point to be implemented. Its presence in the queue supplies no evidence of parser coverage or accuracy.

The first claims to implement are those needed for tokenization, tagging and a UD treebank baseline. A rule for a reduced article, for example, needs to specify its written forms, the environments in which the analysis applies and any exceptions. The treebank gives those decisions a consistent representation against which a trained model can be evaluated. Claims about frames and pragmatics depend on having parsed Colognian input.

How Mova handles Colognian text today

At level 1, tools/mova-parse uses tools/langseg to label sentences and spans. The segmenter distinguishes English and French in Latin script using a Latin table, language lexicons and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Other scripts receive other. Adding a Latin-script language requires a lexicon and a Lang code. The langseg latin-lexicon command uses open UD training splits. Recognition of a language span is limited to the scripts and lexicons the segmenter knows.

At level 2, tools/mova-parse selects the model for the language assigned to each span. There is no ksh model and no Colognian-specific tokenization, tagging, lemmatization or parsing. For a span assigned ksh, the output reports the missing model in the # parse comment. The token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and Parse=None in MISC.

The en crate provides Mova’s parser and tagger. After en xpos-fill, en train trains them on a language’s UD training split. The en parse-eval command measures UAS and LAS on the development split. Mova has models for English (en.bin) and French (fr.bin), and What every language gets calls for the same baseline for each language. Mova holds no annotated Colognian treebank and has measured no Colognian baseline.

The frames, pragmatics and world components, prag and world, read English trees and have no parsed Colognian input. Squid records the manual’s grammatical points as claims and queues the formalizable ones for implementation. The Colognian rules described here await implementation. The first priorities are the claims needed for 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/de/ksh/27-mova-tools/