Mova0.6 pre-release

the flag of North Macedonia 30. Macedonian in Mova

Mova serves a Macedonian grammar edition under the language code mk. The edition describes Macedonian and supplies grammatical claims for Squid. For the multilingual parser to analyze standard Macedonian input, language identification must assign the span mk and a level-2 model must be available for that code. An annotated corpus supplies the training data for the model and the reference analyses for its evaluation. All three prerequisites remain outstanding.

The mk edition and the current package state

The mk code identifies Macedonian in the manual and in the language package. The manual describes the language’s forms and constructions, including analyses in Universal Dependencies (UD).

Part of the packageCurrent state
Grammar editionMacedonian is served under mk.
Language identificationThe segmenter assigns standard written Macedonian the label other.
Annotated dataMova holds no annotated Macedonian corpus.
Level-2 parser modelNo model exists for mk.
Parser baselineNo Macedonian UAS or LAS has been measured.
Grammar claimsSquid reads the manual and queues claims that can be formalized.

The language assigned to an input span determines the model lookup. The annotated data serve two purposes. Training sentences supply examples for fitting the model, and a separate development split supplies reference analyses for measuring attachment scores.

Language segmentation and Cyrillic coverage

At level 1, the multilingual parser uses tools/langseg to assign languages to sentences and spans. For English and French in Latin script, the segmenter uses a Latin table, a lexicon for each language and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Input in unsupported scripts receives other. Standard written Macedonian uses Cyrillic, which is outside the segmenter’s current script coverage.

Form Марија чита.
Romanization Marija čita.
Gloss Marija read.PRS.3SG
Translation “Marija is reading.” (constructed)

Here PRS means present tense and 3SG means third-person singular. The form shown in Cyrillic receives other. The romanization is a reading aid.

The procedure for adding a Latin-script language uses a lexicon and a Lang code. The langseg latin-lexicon command draws on open UD training splits. Standard written Macedonian requires coverage of Cyrillic and a way to identify Macedonian among languages that use that script. In mixed-language input, level 2 selects a model for each span using the language assigned to that span.

Missing model behavior and CoNLL-U output

At level 2, tools/mova-parse looks up the model for the language already assigned to a span. If there is no model for that language, the # parse comment reports the missing model. Any token rows emitted for the span carry the following values.

CoNLL-U fieldValue when the model is missing
LEMMA_
UPOS_
XPOS_
FEATS_
HEAD_
DEPREL_
MISCContains Parse=None

The underscores leave the lemma, the universal and language-specific part-of-speech tags, the morphological features, the syntactic head and the dependency relation unspecified. In a basic UD tree, HEAD identifies the head by its word ID, with 0 for the root word, and DEPREL gives the relation. Parse=None records that the row has no parse.

Standard Macedonian Cyrillic reaches model selection with the label other. The missing-model behavior for mk applies when the span has actually been assigned mk. Any token rows emitted in that case report the status of the missing parse. The package has no Macedonian tokenization, tagging, lemmatization or dependency parsing.

Annotated data and the UAS and LAS baseline

The language package calls for a baseline using separate UD training and development splits. The en crate supplies the workflow. After en xpos-fill, en train trains a tagger and tree parser on the training split. en parse-eval compares the predicted attachments on the development split with the reference trees for those sentences. English and French have models. Mova holds no annotated Macedonian corpus, and no Macedonian baseline has been measured.

MeasureWhen a scored token counts as correct
Unlabeled attachment score (UAS)The predicted head matches the reference head.
Labeled attachment score (LAS)The predicted head and dependency relation both match the reference.

Each score is the proportion of scored tokens that satisfy its condition.

Form Марко чита книга.
Romanization Marko čita kniga.
Gloss Marko read.PRS.3SG book
Translation “Marko is reading a book.” (constructed)

In a basic UD analysis, чита (čita, “is reading”) is word 2 and is the root. The subject Марко (Marko) has head 2 and relation nsubj. The object книга (kniga, “book”) has head 2 and relation obj. A prediction of head 2 and obj for книга counts toward both scores. A prediction of head 2 and nsubj counts toward UAS only. A different head gives the token no credit under either measure, even if the predicted label is obj. Lemma and part-of-speech accuracy require separate measures.

Frames, pragmatics and language prerequisites

Mova’s frame, pragmatic and world components read English trees. A dependency tree identifies syntactic relations that later components can use to interpret a predicate and its dependents. For example, an obj relation links the object to its syntactic head. Assigning a semantic role to that object is a further step.

The parser supplies no Macedonian tree to these components. A Macedonian parse would supply the syntactic input, and the later components would also need to support Macedonian analyses. UAS and LAS measure dependency attachments. Frame selection, reference resolution and interpretation in context require separate evaluation.

Squid’s claim queue and priorities for implementation

Squid treats each grammatical point in the manual as a claim. It queues rules, closed lists and statistics that can be formalized. A queued claim awaits implementation in Mova. The first priorities are claims that support tokenization, tagging and a UD treebank baseline.

For tokenization, the relevant claims concern written word boundaries, punctuation and the treatment of elements written together. Tagging needs inventories and distributional rules for assigning word classes and morphological features. A UD baseline needs consistent reference analyses. For each basic dependency tree, the root word has head 0, and every other syntactic word has a head in the sentence and a dependency relation. Recurring constructions such as object doubling need consistent annotation.

Form Ја чита книгата.
Romanization Ja čita knigata.
Gloss 3SG.F.ACC.CL read.PRS.3SG book-DEF
Translation “She is reading the book.” (constructed)

Here F means feminine, ACC accusative, CL clitic and DEF definite. The separately written clitic ја (ja) doubles the overt direct object книгата (knigata). Its feminine singular features refer to the object. The Macedonian sentence has no overt subject, and the English translation supplies one possible subject from context. The definite ending -та (-ta) is part of the written noun. The annotation must account for the separate written clitic, the noun’s definiteness and the dependency relations of the clitic and the overt object. The multilingual parser also needs to assign ordinary Macedonian Cyrillic spans mk to select a Macedonian model when one is available.

How Mova handles Macedonian today

tools/mova-parse uses tools/langseg to assign languages to sentences and spans at level 1. Standard Macedonian Cyrillic receives other. At level 2, tools/mova-parse looks up a model using the assigned language. The available models are en.bin for English and fr.bin for French. For a span assigned mk, the lookup finds no model. The # parse comment reports the missing model. Any token rows emitted for the span have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. Macedonian tokenization, tagging, lemmatization and dependency parsing are unavailable.

The baseline workflow in What every language gets uses en xpos-fill before en train. Training uses the UD training split, and en parse-eval measures UAS and LAS on the development split. Mova holds no annotated Macedonian corpus and has no measured Macedonian baseline.

Mova’s frames and its prag and world components read English trees. They receive no Macedonian trees from the parser. Squid reads the manual’s grammatical points as claims and queues those that can be formalized.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/mk/30-macedonian-in-mova/