Mova0.6 pre-release

the Holy Roman Empire: the black eagle on gold 29. Old Saxon in Mova

Old Saxon has a grammar manual in Mova under the language code osx. It has no level-2 parser model or annotated treebank in Mova. Language identification, dependency parsing, and interpretation have separate prerequisites. The grammar supplies claims about the language that Squid can record and, where they can be formalized, queue for implementation.

The multilingual pipeline and its language identification coverage

tools/mova-parse uses two levels. At level 1, tools/langseg assigns a language to each sentence and span. The span assignment matters because a sentence can contain material in more than one language. At level 2, the parser uses the language assigned to each span to select its model. A language assignment therefore determines which model is sought, while the availability of that model determines whether the span can receive a parse.

For Latin-script input, tools/langseg distinguishes English and French. It uses a Latin-script 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. Scripts outside the supported coverage receive other. The script label other and the missing-model result describe different stages. The first concerns identification by script, and the second concerns model availability for an assigned language.

Old Saxon is written in Latin script and has no dedicated entry in the stated identification coverage. Recognizing the script of an Old Saxon span does not establish that the span is Old Saxon. The manual's use of osx identifies the language it describes. Automatic identification of a further Latin-script language requires adding a lexicon and a Lang code. langseg latin-lexicon builds lexicons from open Universal Dependencies training splits. This addition serves language identification. A level-2 parser model is a separate requirement.

Old Saxon model availability and parser output

The en crate contains Mova's own tree parser and tagger. English and French have model files, en.bin and fr.bin respectively. There is no level-2 model for osx. When a span is assigned to a language whose model is missing, tools/mova-parse records that condition in the # parse comment. For Old Saxon token rows in that case, the output has the following values.

FieldValueInformation absent from the row
LEMMA_Lemma
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneThe marker records that no parse was produced

The underscores have to be read in light of Parse=None. For example, _ in FEATS on such a row supplies no evidence about whether the form inflects. Likewise, _ in HEAD and DEPREL supplies no analysis of how the token attaches. The presence of a token row records material carried through to the output, with no Old Saxon tokenization, tagging, lemmatization, or dependency analysis supplied by Mova.

An Old Saxon clause illustrates the distinction between a manual analysis and the parser fields.

The gloss identifies the first-person singular nominative pronoun and the first-person singular present verb. Those are descriptions supplied by the example. In the missing-model output for osx, the morphological fields would still be underscores, and the clause would receive no dependency tree. The example also gives no prediction about the language label that level 1 would assign to the input.

The treebank baseline and available measurements

The package description in What every language gets calls for the same Universal Dependencies baseline for each language. The training split supplies annotated examples for learning. The development split supplies reference annotations for evaluating a parser trained on that material. In Mova's workflow, en xpos-fill precedes training, en train trains the tree parser and tagger on the training split, and en parse-eval measures dependency attachment on the development split.

MeasureCondition for a correct attachment
UAS, unlabeled attachment scoreThe predicted syntactic head agrees with the reference head.
LAS, labeled attachment scoreThe predicted head and dependency relation both agree with the reference annotation.

The two measures answer different questions about the same dependency analysis. If the parser selects the reference head but assigns the wrong relation, that attachment counts toward UAS alone. Both measures require a predicted attachment and a reference annotation. Their scope is dependency parsing on the evaluation split. They give no measurement of language identification, frame assignment, or pragmatic interpretation.

Mova holds no annotated Old Saxon treebank and has measured no Old Saxon treebank baseline. Consequently there is no Old Saxon UAS or LAS to report. Parse=None records the absence of a parse for a span and cannot be read as a measured score. Grammar examples may illustrate the distinctions that annotations would record, but the baseline requires annotated training and development material. The state of Mova's Old Saxon data says nothing about the availability of Old Saxon texts outside the package.

Frame and pragmatic processing prerequisites

Mova's frame processing, prag, and world read English trees. A dependency tree supplies token-level and structural information for these later stages. For a language without parsed output, there is no tree for them to read. A span label, the original words on token rows, or a grammar example with a gloss supplies no such input.

Two prerequisites must therefore be kept in view for Old Saxon. The first is a parser that can produce Old Saxon trees. The second is downstream processing that can read those trees. The current downstream readers take English trees, and the absence of an Old Saxon parser leaves them without an Old Saxon tree in the first place. Training a parser would address the first prerequisite. The existence of a parser or a dependency attachment score would give no evidence that frames, pragmatic interpretations, or world representations are available for Old Saxon.

Squid claims, implementation status and baseline priorities

Squid reads the manual and turns each grammatical point into a claim. Claims that can be formalized, including rules, closed lists, and statistics, wait in Squid's queue for a place in Mova's code. The queue records material that could be implemented. A queued claim has no effect on parser output by virtue of being queued. In particular, the Old Saxon manual's accounts of spelling, inflection, and syntax do not fill any of the fields left blank by the missing model.

The first implementation priorities are the grammatical points needed by a tokenizer, a tagger, and a Universal Dependencies treebank baseline. Each makes a different kind of decision about the text.

PriorityDecisions the grammar can inform
TokenizerWhere word boundaries fall in the edition's text and how punctuation and editorial spelling affect those boundaries.
TaggerWhich word class and morphological features a form has in context, including where an identical written form can support more than one analysis.
Treebank baselineWhich syntactic head and relation to assign in an annotated sentence and how to apply those decisions consistently across the training and development material.

The priorities concern the work required to obtain annotated Old Saxon text and measure a parser. Decisions about token boundaries establish the units to annotate. Decisions about categories and features determine what is recorded for each unit. Decisions about heads and relations determine the tree against which dependency predictions can be evaluated. A description in the manual can guide those decisions. Their presence in the manual or in Squid's queue supplies neither the annotated splits nor the trained model.

How Mova handles Old Saxon today

At level 1, tools/mova-parse uses tools/langseg to assign a language to each sentence and span. Its Latin-script coverage 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 Hebrew or Aramaic in scholarly transliteration. Other scripts receive other. An additional Latin-script language requires a lexicon and a Lang code. langseg latin-lexicon uses open Universal Dependencies training splits for the lexicon. Span identification is limited to the scripts and lexicons that tools/langseg knows.

At level 2, tools/mova-parse uses the model for the language assigned to each span. There is no model for osx. When that model is sought, the # parse comment reports the missing model. The token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, with Parse=None in MISC. Mova provides no Old Saxon tokenization, tagging, lemmatization, or parsing.

Mova holds no annotated Old Saxon treebank and has no measured Old Saxon baseline. The baseline requested in What every language gets uses en xpos-fill before en train, which trains a tagger and tree parser on a Universal Dependencies training split. en parse-eval measures UAS and LAS on the development split. The available models are en.bin for English and fr.bin for French.

Mova's frames, prag, and world read English trees. Unparsed Old Saxon supplies them with no tree. Squid records grammatical points as claims and queues those that can be formalized. The Old Saxon rules described in the manual are unimplemented. The first priorities are the points 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/de/osx/29-mova-tools/