Mova0.6 pre-release

the Holy Roman Empire: the black eagle on gold 29. Middle Dutch in Mova

The Middle Dutch edition uses the language code dum. This chapter describes the current coverage of that code, how a missing parser appears in CoNLL-U, and what data Mova needs to train and evaluate a Middle Dutch parser. It also describes the inputs required for downstream interpretation and the status of grammatical rules in Squid.

Language segmentation and the current Latin-script coverage

The multilingual parser, tools/mova-parse, works in two levels. At level 1, tools/langseg assigns a language to each sentence and to each span. A sentence-level assignment describes the sentence as a whole. The span assignments guide level 2, where each span is parsed with the model for its assigned language. The two levels have separate requirements. Segmentation needs evidence for identifying the language, and parsing needs a model for the resulting language code.

In Latin script, tools/langseg distinguishes English and French. The decision uses a Latin table, a lexicon for each language, and a model based on sequences of four characters. Its remaining coverage includes varieties written in Hebrew script and Hebrew or Aramaic written in scholarly transliteration. Other scripts receive other. That value describes script coverage. Latin-script Middle Dutch falls within the script of the Latin classifier, whose current language coverage is English and French.

The route for adding a Latin-script language calls for a lexicon and a Lang code. The langseg latin-lexicon command derives lexicons from open Universal Dependencies (UD) training splits. Such a lexicon supplies evidence for the language assignment at level 1. The code identifies the language for that assignment and for the subsequent model lookup. The edition code dum identifies Middle Dutch in the manual. Recognition of Middle Dutch spans depends on coverage in tools/langseg.

Missing dum model and CoNLL-U output

At level 2, tools/mova-parse looks for <code>.bin, using the span's language code for both occurrences of <code>. There is currently no level-2 model for dum. When a span is identified as dum, the missing-model behavior applies. The # parse comment reports the absence of a model, and the affected token rows have the following values in the listed columns.

CoNLL-U columnValueInformation absent
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Index of the syntactic head
DEPREL_Relation to the syntactic head
MISCContains Parse=NoneRecords the absence of a parse

The status in MISC applies to the individual token row. The # parse comment makes the model gap visible at comment level. Both describe a missing annotation step. An underscore in HEAD, for example, leaves even root status unspecified, and an underscore in FEATS leaves feature values unspecified.

Form Die man leest.
Gloss DEF man read.PRS.3SG
Translation ‘The man reads.’ (constructed)

In this example, the gloss identifies leest as a present-tense third-person singular form. If a token row for leest belongs to a span identified as dum, its FEATS value is _ and its MISC contains Parse=None. The gloss is a grammatical illustration. The field values follow from the missing model. The existence of token rows with this status gives no evidence of a Middle Dutch tokenizer. Mova has no language-specific tokenization, tagging, lemmatization, or dependency parsing for dum.

Missing treebank and baseline measurements

Mova currently holds no annotated Middle Dutch corpus. The missing resource is a treebank, in which sentences carry reference annotations for their tokens and syntactic dependencies. The package baseline uses a UD training split to fit a parser and a development split to measure its output. A collection of Middle Dutch texts can provide linguistic evidence for the manual, but it can serve this workflow only with the required annotations and splits.

The two dependency measures in the baseline are unlabeled attachment score (UAS) and labeled attachment score (LAS). Both compare a parser's predictions with reference annotations on the development split. UAS checks whether the predicted head agrees with the reference head. LAS checks whether both the head and the dependency relation agree. Recovering the right head with the wrong relation therefore counts as correct for UAS and incorrect for LAS.

Mova has measured neither score for dum. A missing measurement has no numeric value. The underscores emitted when no model is available provide no parser predictions to compare with a reference tree. The status also says nothing about how well a future model would parse a given text. English and French model availability establishes the current coverage of the parser package, and the baseline for Middle Dutch remains pending.

The parser training and evaluation workflow

Mova's parser is implemented in the en crate. Its training and evaluation workflow uses the same baseline for each language, as specified in What every language gets. The language's own UD annotations supply the data for its parser and tagger.

OrderCommandRole in the baseline
1en xpos-fillPrepares the UD training data before training.
2en trainTrains a tree parser and tagger on the language's UD training split.
3en parse-evalMeasures UAS and LAS on the development split after training on the training split.

The training and development splits serve different purposes. The training split supplies the annotated analyses the parser and tagger learn from. The development split supplies the reference analyses for comparison with the trained parser's predictions. A model file can support parsing at level 2 once it is available at the location for the language code. The corresponding baseline records performance on the development data.

An open UD training split can also supply the lexicon used to extend Latin-script segmentation. In that use, the data help level 1 decide which language a span belongs to. In parser training, the annotations in the training split help level 2 predict grammatical structure within a span. For Middle Dutch, the immediate grammatical work concerns the points needed for tokenization, tagging, and a UD treebank baseline. Mova currently has parser models for English (en.bin) and French (fr.bin).

Inputs required by frames and pragmatics

Mova's frame processing and its pragmatics and world components, prag and world, read English trees. Trees provide an analyzed sentence structure for downstream interpretation. For any other language, parsing must first supply a tree before these components have an input of that kind.

A sentence or span labeled with a language code supplies the language assignment. A token row marked Parse=None supplies the status of parsing for that token. In such a row, the empty HEAD and DEPREL fields leave the connections between words unspecified. Consequently, the current Middle Dutch output supplies no dependency tree for frame, pragmatic, or world processing. The dependency gap arises before those components can use the sentence. Their current tree input is English.

Grammar claims in Squid's queue

Squid reads the grammar manual and turns each grammatical point into a claim. Claims that can be formalized wait in Squid's queue for a place in Mova's code. Formalizable material includes rules, closed lists, and statistics. A rule needs the conditions under which it applies and the exceptions to those conditions. A closed list needs all its members. A statistic needs a defined quantity and the scope within which it holds.

A claim in the queue records a point for possible implementation. The existence of that claim gives no evidence that tokenization, tagging, or parsing applies it. In particular, a description of a Middle Dutch construction in the manual supplies no tree for a text containing that construction. Processing requires code and the language resources used by that code.

The first Middle Dutch claims relevant to implementation are those needed to determine how text is tokenized, how its tokens are tagged, and how a UD treebank baseline is established. These tasks connect a grammatical description with an annotated corpus and measurable parser behavior. The current queue status and the current parser status describe separate things. The queue holds points awaiting implementation, while the parser needs an available language model to annotate a span.

How Mova handles Middle Dutch today

At level 1, tools/mova-parse uses tools/langseg to assign a language to each sentence and span. In Latin script, tools/langseg distinguishes English and French using a Latin table, language lexicons, and a character 4-gram model. It also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts receive other. A further Latin-script language requires a lexicon and a Lang code. The command langseg latin-lexicon can derive the lexicon from an open UD training split.

At level 2, the parser selects a model at <code>.bin according to the span's language. No model exists for dum. For a span identified as dum, the # parse comment reports the missing model, and the token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, with Parse=None in MISC. Mova currently has no Middle Dutch tokenization, tagging, lemmatization, or parsing.

Mova holds no Middle Dutch treebank and has measured no treebank baseline for dum. The baseline specified in What every language gets uses en xpos-fill before en train trains a tree parser and tagger on the UD training split. The next step, en parse-eval, measures UAS and LAS on the development split. Models exist for English (en.bin) and French (fr.bin).

Frame processing, pragmatics, and world processing (prag, world) read English trees. Middle Dutch currently supplies no parsed tree for them. Squid reads the manual as grammatical claims, and formalizable claims wait in its queue. The queued claims await implementation, with the points needed for a tokenizer, tagger, and UD treebank baseline coming first.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/nl/dum/29-mova-tools/