Mova0.6 pre-release

the flag of Bulgaria 32. Bulgarian in Mova

Mova accepts Bulgarian Cyrillic text as input. Its multilingual pipeline labels Bulgarian Cyrillic other and has no Bulgarian dependency parser model. These are separate limits at language segmentation and parsing. The Bulgarian grammar manual supplies claims for Squid. Mova has no annotated Bulgarian corpus of its own and no measured Bulgarian Universal Dependencies (UD) baseline.

Cyrillic input and language segmentation

At level 1, tools/mova-parse uses tools/langseg to label sentences and spans. A sentence can contain spans with different labels. At level 2, the label of each span determines which language model the parser looks for.

tools/langseg distinguishes English and French in Latin script using a Latin 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. Bulgarian Cyrillic falls under other, the generic segmentation label for scripts outside the supported categories. bg is the language code for Bulgarian.

A Bulgarian Cyrillic passage embedded in English or French text can receive other while recognized spans are routed according to their respective labels. For a constructed example of mixed input, consider The note reads “Мария чете книга.” The English context gives Mova no Bulgarian label for the Cyrillic passage. The example illustrates span-level routing without specifying the treatment of the quotation marks or sentence boundaries.

Bulgarian written in Latin letters also has no Bulgarian identification. The documented procedure for adding a Latin-script language uses a lexicon and a Lang code. The langseg latin-lexicon command builds the lexicon from an open UD training split. That procedure applies to Latin-script input. Bulgarian Cyrillic requires support for identifying Bulgarian in Cyrillic script.

The following sentence is constructed. Its romanization, gloss and translation are supplied by hand.

FormRomanizationGlossTranslation
Мария чете книга.Marija čete kniga.Maria read.PRS.3SG book.SGMaria is reading a book.

PRS means present, 3SG means third-person singular and SG means singular.

Missing Bulgarian parser model and CoNLL-U output

At level 2, tools/mova-parse looks for a model file based on the language label of each span. English has en.bin and French has fr.bin. Bulgarian Cyrillic reaches this stage with the generic other label. A span labeled bg would also lack a parser because Mova has no Bulgarian level-2 model.

The # parse comment reports a missing model. When the output includes token rows for an unparsed span, the fields in the table carry the values shown. In these rows, _ marks an unavailable annotation. Parse=None records parse status in MISC.

CoNLL-U fieldOutputAnnotation that would go in the field
LEMMA_Lemma of the token
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Morphological feature values
HEAD_Token ID of the syntactic head, or 0 for a token attached to the root
DEPREL_Dependency relation associated with that head
MISCParse=NoneParse status alongside any other miscellaneous information

In the constructed sentence, a row for чете with UPOS set to _ leaves its part of speech unspecified. A row for книга with _ in HEAD and DEPREL leaves both its attachment and its relation unspecified. An underscore in FEATS on these rows leaves morphological feature values unavailable for assessment. The rows record input forms without Bulgarian-specific tokenization.

Corpus status and the unmeasured UD baseline

Mova holds no annotated Bulgarian corpus and reports no Bulgarian UD baseline scores. Bulgarian parsing accuracy is unmeasured in Mova.

What every language gets calls for the same baseline procedure across languages. The en crate supplies the training and evaluation commands. On a language’s UD train split, en xpos-fill precedes en train. Training fits the tagger and tree parser from the training annotations. en parse-eval uses the reference trees in the dev split to score the predicted attachments.

MeasureWhat must match the reference annotation
UAS, unlabeled attachment scoreThe syntactic head
LAS, labeled attachment scoreBoth the syntactic head and the dependency relation

For the constructed sentence Мария чете книга., suppose the reference tree attaches книга to чете as obj. A prediction that attaches книга to чете as obl counts as correct for UAS on that token and incorrect for LAS. A prediction with the wrong head counts as incorrect for both measures, even if its relation is obj. The underscores in HEAD and DEPREL in Mova’s unparsed Bulgarian output mark missing predictions. There is no Bulgarian evaluation run associated with those rows.

Frame and pragmatics dependencies

Mova’s frames, pragmatics and world components, including prag and world, read English trees. A span label identifies the route through the parser. A token row can record an input form. The downstream components require the syntactic structure supplied by a tree.

In the constructed sentence Мария чете книга., a dependency analysis would identify чете as the predicate and link Мария and книга to it as subject and object. Those links give downstream analysis the structure from which to identify the reader and what is read. Mova’s Bulgarian output lacks these links, so the frame, pragmatics and world components receive no Bulgarian tree. The manual can describe the expected links for an example sentence. In the pipeline, downstream Bulgarian analysis requires both a Bulgarian parse and components that can interpret it. The current components read English trees.

Grammar claims and the Squid queue

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, wait in Squid’s queue for a place in Mova’s code. A queued claim records a candidate for implementation. Processing behavior comes from the implemented pipeline.

The first claims for a language without a model concern tokenization, tagging and the UD treebank baseline. Tokenization claims specify where token boundaries fall. Tagging claims specify word classes and morphological feature values for forms in context. Treebank claims specify syntactic heads and dependency relations so the parser has reference annotations for training and evaluation. A single grammatical point can bear on several of these outputs.

A rule specifies the forms or constructions it covers, the conditions under which it applies and any exceptions. A closed list specifies what counts as a member and gives all members within that scope. A statistic identifies the data it describes and what was counted. A proportion also identifies its denominator. A constructed example can illustrate a claim with the relevant form or relation identified. In Мария чете книга., the manual can illustrate the present third-person singular form чете for tagging and the object relation between книга and чете for treebank annotation. The Bulgarian rules described in the manual await implementation.

How Mova handles Bulgarian today

At level 1, tools/mova-parse uses tools/langseg to label sentences and spans. Bulgarian Cyrillic receives other, so level 1 supplies no Bulgarian language label. At level 2, the parser uses a model for the span’s label when one is available. Mova has no Bulgarian model.

The # parse comment reports missing models. If the output includes CoNLL-U token rows for the unparsed Bulgarian input, LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL contain _, and MISC contains Parse=None. Mova has no Bulgarian-specific tokenization, tagging, lemmatization or parsing.

Mova holds no annotated Bulgarian corpus and reports no measured Bulgarian UD baseline. In the procedure specified by What every language gets, en xpos-fill precedes en train on the UD train split, and en parse-eval measures UAS and LAS on the dev split. The frame, pragmatics and world components read English trees. Bulgarian input supplies no tree to those components. Squid extracts claims from the grammar manual and queues the formalizable claims.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/bg/32-mova-tools/