Mova0.6 pre-release

Sorbian: the Sorbian flag, blue, red and white 24. Lower Sorbian in Mova

Lower Sorbian has the language code dsb. Mova holds Lower Sorbian text, but it has no parser model or annotated treebank for the language. Language identification, the output of the multilingual parser, and the rules recorded by Squid each describe a different part of that coverage.

Language identification and Latin-script coverage

The multilingual parser first assigns a language to each sentence and span. This lets it choose a model by span when a sentence contains material in more than one language. The Lower Sorbian code identifies the language in the package and corpus. Recognition of that code in text depends on the coverage of the language identifier.

For Latin script, tools/langseg distinguishes English and French using a Latin-script table, a lexicon for each language, and a character 4-gram model. The route for adding another Latin-script language is to add a lexicon and a Lang code. The langseg latin-lexicon command derives a lexicon from an open Universal Dependencies (UD) training split. Lower Sorbian is outside the stated Latin-script coverage. Its use of the Latin alphabet alone supplies no basis for expecting a dsb assignment.

Corpus formGlossTranslationSentence ID
Běła źiśelinawhite.NOM.SG.F clover.NOM.SG‘White clover’wiki:dsb:Běła źiśelina

This noun phrase illustrates the difference between a known corpus language and a language assignment made from the text. The corpus identifies the phrase as Lower Sorbian. The letters ě, ź, and ś occur within its Latin-script words. The corpus label gives the language of this example independently of any classifier output.

Model lookup and unannotated token output

After language identification, tools/mova-parse looks for a model under the assigned language code. Each span uses the model for its own code. Thus the Lower Sorbian model lookup applies when the span's language is dsb. Since that model is absent, the # parse comment reports the missing model. The token rows for that span have the following values in the annotation fields.

FieldValueAnnotation left unavailable
LEMMA_Dictionary form
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation
MISCParse=NoneMarker for the absence of a parse

The marker describes the result for the span rather than a property of a particular word. The presence of a token row in this output gives no Lower Sorbian analysis of the form on that row. In particular, an underscore in FEATS leaves features unassigned even where the form itself provides morphological evidence.

Corpus formGlossTranslationSentence ID
w srjejźnej Aziskejin central.LOC.SG.F Asia.LOC.SG‘in Central Asia’wiki:dsb:Afghanistan

The gloss gives a human analysis of the locative forms. When this material is handled as a dsb span without a model, the output leaves the feature field blank and supplies no head or relation for any of the words. The model lookup and the earlier language assignment remain independent. A missing-model report follows from looking up the assigned code, so that report by itself gives no result about how well the identifier recognizes Lower Sorbian text.

Treebank availability and the unmeasured parsing baseline

Mova holds no annotated Lower Sorbian treebank. The available encyclopedia excerpts are examples of Lower Sorbian usage, including both sentence material and short items such as article titles. They supply forms in context. The parser baseline requires UD training and development splits with reference annotations.

The baseline in What every language gets uses Mova's en crate. After en xpos-fill, en train trains a tagger and a dependency parser on the language's UD training split. en parse-eval measures the trained parser on the development split. The two measures differ in what they require to match the reference analysis.

MeasureRequirement for a correct attachment
UAS, unlabeled attachment scoreThe predicted head matches the reference head.
LAS, labeled attachment scoreThe predicted head and dependency relation both match the reference.

Mova has parser models for English and French. The training and evaluation procedure is shared across languages, while the inputs and resulting models are language-specific. With no Lower Sorbian treebank in the package, there is no Lower Sorbian train-to-development result. UAS and LAS are both unmeasured. The unannotated rows produced for a missing model are an output status, so they supply no attachment score.

Frame and pragmatic analysis dependencies

A dependency tree identifies grammatical relations among words. A frame describes a predicate and the participants it relates. Pragmatic analysis concerns the use of the utterance in context, such as whether it functions as a greeting. Mova's frame, pragmatic, and world components, including prag and world, read English trees. Lower Sorbian currently supplies no parsed input to them.

Corpus formGlossTranslationSentence ID
Witajśowelcome.IMP.2PL‘Welcome!’wiki:dsb:Głowny bok

The excerpt comes from a welcome addressed to readers. The gloss identifies an imperative form, and the use on the page gives it the function of a greeting. A corpus example can illustrate both points in the manual. In Mova, assigning the language and returning the surface form leaves the tree required for subsequent analysis unavailable. The English-tree coverage of the downstream components is a separate limit from the absence of a Lower Sorbian model. A Lower Sorbian parse would supply a tree, while the stated coverage gives no Lower Sorbian frame or pragmatic analysis.

Grammar claims in Squid and their implementation status

Squid reads the grammar manual and records each grammatical point as a claim. Formalizable claims, including rules, closed lists, and statistics, wait in a queue for implementation in Mova. Queue membership records a grammatical statement in a form that can be considered for code. A claim reaches runtime coverage only when it has been implemented.

The same distinction applies to corpus illustrations. The locative gloss above records features of a form in its phrase. A corresponding tagger rule would have to assign those features under the conditions specified in the grammar. Evaluation of a dependency analysis would additionally need reference head and relation annotations. The manual can specify the linguistic conditions and give examples before either operation is available in the parser.

Lower Sorbian rules from the manual are still awaiting implementation. The first points for the package are those needed for tokenization, tagging, and a UD treebank baseline. For tokenization the relevant rules concern boundaries in the written text. For tagging they concern the word classes and morphological values assigned in context. For the treebank they concern the reference dependency analyses used to train and evaluate the parser. Recording those rules in Squid does not change the output fields of a dsb span.

How Mova handles Lower Sorbian today

Level 1 of tools/mova-parse uses tools/langseg to assign a language to each sentence and span. In Latin script, the identifier distinguishes English and French using its Latin table, language lexicons, and character 4-gram model. Adding a Latin-script language requires a lexicon and a Lang code. The langseg latin-lexicon command uses open UD training splits to derive lexicons. Lower Sorbian span identification depends on the identifier having coverage for the language.

At level 2, tools/mova-parse uses the model for the language assigned to each span. There is no level-2 dsb model. For a span assigned dsb, the # parse comment reports the absence of the model. The token rows carry _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, with Parse=None in MISC. This fallback provides no Lower Sorbian tokenization, tagging, lemmatization, or dependency parsing.

The package baseline in What every language gets calls for en xpos-fill followed by en train on a language's UD training split and measurement of UAS and LAS with en parse-eval on the development split. English and French have models. Mova holds no Lower Sorbian treebank, so the Lower Sorbian baseline is unmeasured.

Mova's frame, pragmatic, and world components, including prag and world, read English trees. There is no Lower Sorbian tree input for them. Squid records the manual's grammatical points as claims and queues the formalizable ones for implementation. The Lower Sorbian rules have no runtime implementation yet. The first claims for implementation are those needed by a tokenizer, a tagger, and the UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/dsb/24-lower-sorbian-in-mova/