Mova0.6 pre-release

Church Slavonic: no flag; an emblem, an open manuscript book, gold on dark red 27. Church Slavonic in Mova

Mova uses the language code cu for Church Slavonic. Its multilingual parser has no Church Slavonic model, and Mova has no annotated Church Slavonic treebank or measured parsing baseline. This chapter explains how those gaps affect the output, how the tree is used by later stages, and what it means for a rule from this manual to enter Squid’s queue.

Script detection and language identification

Script recognition identifies the writing system of a span. Language identification assigns a language to the span. The distinction matters for Church Slavonic because Glagolitic and Cyrillic can represent the same language, and Cyrillic is shared with other languages. A change of alphabet can also occur within a Church Slavonic document, as when it gives a name in another language.

The first level of tools/mova-parse uses tools/langseg to assign a language to each sentence and span. For Latin script, the segmenter distinguishes English and French using its Latin table, language lexicons and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew and Aramaic in scholarly transliteration. Scripts outside its supported range fall into other. Both Glagolitic and Cyrillic fall into that category, which supplies no cu identification. Mova’s Latin-script mechanism for adding a language uses a lexicon from an open UD training split and a Lang code, with langseg latin-lexicon for the lexicon. The romanizations used to explain examples in this manual have no Church Slavonic identification support in that mechanism.

FormRomanizationGlossTranslationCorpus ID
ⰳⰾⰰⰳⱁⰾⰻglagoliletter.name‘Glagoli’wiki:cu:Словѣньска аꙁъбоукꙑ
глаголиglagoliletter.name‘Glagoli’wiki:cu:Словѣньска аꙁъбоукꙑ
ѲєссалонїкаThessalonikaplace.name‘Thessaloniki’wiki:cu:Ѳєссалонїка
ΘεσσαλονίκηThessaloníkēplace.name‘Thessaloniki’wiki:cu:Ѳєссалонїка

The alphabet entry gives Glagolitic and Cyrillic spellings of one letter name. The place-name entry supplies a Greek form alongside a Church Slavonic form. Both entries illustrate why the language of a document and the language of an individual span are separate assignments. The corpus IDs identify the entries from which the forms are taken. They supply no automatic span labels.

The cu model gap and Parse=None output

The second level of tools/mova-parse selects a parser model for each span by its assigned language. A span identified as cu would require its own Church Slavonic model. The English and French model files serve their respective languages. A language assignment alone leaves the second level without a model whenever the file for that language is absent.

Mova reports the language with the missing model in the # parse comment. The table gives the complete set of fields specified for this condition on the affected token rows.

FieldValue when the model is missingAnnotation represented by the field
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation to the head
MISCParse=NoneExplicit status of the parse

Parse=None marks the absence of a parse for the row. In this condition, an underscore in FEATS leaves the morphological analysis unspecified. It supplies no evidence about whether the form has case, number or any other feature. Likewise, underscores in HEAD and DEPREL leave both parts of the dependency annotation unspecified. Any rows present in this output carry no evidence of a Church Slavonic tokenizer or of a grammatical decision about word boundaries.

The characters in a corpus excerpt remain available to a reader even when the analysis fields are empty. For example, Словѣньскъ ѩꙁꙑкъ (Slověnĭskŭ językŭ, Slavonic.NOM.SG.M language.NOM.SG, ‘the Slavonic language’) contains a masculine nominative singular adjective agreeing with its noun. That reading is a gloss of the excerpt. A cu row with Parse=None carries neither the agreement features nor a dependency for the modifier. (wiki:cu:Словѣньскъ ѩꙁꙑкъ)

Treebank availability and the unmeasured UAS and LAS baseline

Mova has Church Slavonic text samples, including alphabet entries and running text. It holds no annotated Church Slavonic treebank. Text samples preserve spelling and usage. A UD treebank also records token boundaries, morphological annotations and dependency heads and relations, so that a predicted tree can be compared with a reference tree. The absence of such a resource here describes the contents of Mova’s package.

The package specification in What every language gets calls for the same train-to-development baseline for every language. Mova’s parser and tagger are in the en crate. The training procedure runs en xpos-fill before en train and uses the language’s UD training split. The evaluation command, en parse-eval, measures the resulting parser against the development split.

MeasureWhat counts as a correct attachment
Unlabeled attachment score (UAS)The predicted head agrees with the reference head.
Labeled attachment score (LAS)The predicted head and the predicted dependency relation both agree with the reference annotation.

Both scores require reference dependencies. LAS also requires reference relation labels. Neither score measures lemma or part-of-speech accuracy directly, although tagging can inform attachment decisions. The two Church Slavonic scores are unmeasured. Missing annotations in multilingual output are a record of missing model coverage and provide no attachment scores. English and French model availability likewise supplies no measurement for Church Slavonic.

Frames, pragmatics and their tree input

Mova’s frames, pragmatics and world components read English dependency trees. A tree supplies structural relations that downstream analysis can use to distinguish a subject, complement or modifier. Church Slavonic text currently supplies no parsed tree to those components. Language identification, where supported, supplies a language assignment and cannot supply those syntactic relations.

A nominal predicate illustrates the kind of distinction that tree input would need to represent. The Thessaloniki entry contains главьнъ градъ ѥстъ (glavĭnŭ gradŭ jestŭ, chief.NOM.SG.M city.NOM.SG be.PRS.3SG, ‘is the chief city’). In its clause, ‘chief city’ is the nominal predicate and the finite form of ‘be’ is the copula. A dependency analysis would represent the copula’s relation to the nominal predicate and attach the subject in the full clause. The excerpt demonstrates the structure for a reader, while Church Slavonic output supplies no head or relation annotations for it. (wiki:cu:Ѳєссалонїка)

A Church Slavonic parse is a prerequisite for supplying Church Slavonic tree input. The frames, pragmatics and world behavior described for the existing system applies to English trees. There is consequently no Church Slavonic frame or pragmatic analysis to read from the unannotated parser output.

Squid claims and the implementation queue

Squid reads the grammar manual and turns every grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, wait in its queue for a place in Mova’s code. A queued claim records something that can be given a formal treatment. Implementation requires that the relevant code actually use it.

A grammatical rule in the manual includes the conditions under which it applies and any exceptions to those conditions. Those details determine how far its claim extends. A closed list gives the full membership of a specified class. A statistic concerns the data and measure that define it. The status of each kind of claim is independent of the evidence in a particular unannotated text sample. For example, a listed form in the grammar can help describe a word in an excerpt while its UPOS and FEATS fields remain empty in Mova’s output.

For Church Slavonic, the first points for implementation are the ones needed by a tokenizer, a tagger and a UD treebank baseline. For text like the samples above, token boundaries bear on how words and written signs are represented, tag and feature assignments bear on morphological annotation, and head and relation assignments provide the reference for attachment evaluation. The manual and its claim queue supply descriptions of grammatical points. Mova’s Church Slavonic processing currently has no implementation of those rules.

How Mova handles Church Slavonic today

The multilingual parser tools/mova-parse uses tools/langseg at level 1 to assign a language to sentences and spans. The segmenter distinguishes English and French in Latin script through its Latin table, language lexicons and a character 4-gram model. It covers Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts receive other, which covers the Cyrillic and Glagolitic used for Church Slavonic. The extension mechanism for another Latin-script language uses a lexicon from an open UD training split and a Lang code. The lexicon is produced with langseg latin-lexicon.

Level 2 uses the model file for the language of each span. There is no Church Slavonic model. The missing model is reported in the # parse comment, and the affected rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. Church Slavonic has no tokenization, tagging, lemmatization or dependency parsing support in this setup.

Mova’s own parser is the en crate. Its training procedure uses en xpos-fill followed by en train on a UD training split, and en parse-eval measures UAS and LAS on the development split. English has en.bin and French has fr.bin. What every language gets asks for the same baseline for every language. Mova holds no Church Slavonic treebank and has measured no Church Slavonic baseline.

The frames, pragmatics and world components, including prag and world, read English trees. They have no Church Slavonic tree input. Squid turns the manual’s grammatical points into claims and queues the formalizable ones for implementation. The Church Slavonic rules remain unimplemented. The first points for implementation are those needed for tokenization, tagging and a UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/cu/27-church-slavic-in-mova/