Mova0.6 pre-release

the flag of Armenia 25. Western Armenian in Mova

Western Armenian has the language code hyw and a reference grammar in Mova. Its text can pass through the multilingual pipeline, but Armenian script alone does not identify it as Western Armenian. There is no hyw parser model or annotated treebank in Mova, so there are no dependency scores or Western Armenian frames and pragmatic analyses to report.

Armenian script at the language identification stage

Level 1 assigns a language label to each sentence and span. tools/langseg uses a script distinction and, for the Latin-script languages it supports, a Latin table, a lexicon for each language and a character model based on sequences of four characters. It distinguishes English and French in Latin script, distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its recognized set fall under other. Armenian script falls in that category.

The distinction between a script and a language matters in mixed text. A span in Armenian script and a span in Latin script can receive different labels. A Latin-script name or quotation in an Armenian passage supplies no Western Armenian label for the surrounding Armenian-script text. The coverage condition for language identification is that the segmenter knows the relevant script or lexicon. There is an extension procedure for a further Latin-script language using an open Universal Dependencies training split, a lexicon made with langseg latin-lexicon and a Lang code. Armenian-script recognition falls outside that procedure.

Parser model availability and Parse=None output

At level 2, tools/mova-parse selects a model for each span by language code. Western Armenian has no level-2 model. When the pipeline encounters a language for which a model is missing, it reports the missing model in the # parse comment. The token rows for that case carry the following values.

CoNLL-U columnValueAnnotation unavailable
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=NoneStatus marking the absence of a parse

Parse=None marks the missing-model case. The underscores in HEAD and DEPREL therefore supply no dependency analysis, and the other underscores supply no lexical or morphological decisions. The existence of token rows in this output also gives no evidence of Western Armenian tokenization. The model lookup and the assignment of a Western Armenian language label have separate prerequisites.

Treebank availability and the unmeasured UAS and LAS baseline

Mova holds Western Armenian text excerpts, including the Wikipedia material cited below. It holds no annotated Western Armenian treebank. The excerpts supply written forms in context. Measuring dependency accuracy requires reference tokenization and dependency annotations against which predictions can be compared.

The baseline specified in What every language gets uses a Universal Dependencies training split and a development split. The workflow runs en xpos-fill before en train, which trains the tagger and tree parser on the training split. en parse-eval evaluates the resulting model on the development split.

MeasureWhat counts as a correct attachment
UAS, unlabeled attachment scoreThe predicted head matches the reference head.
LAS, labeled attachment scoreBoth the predicted head and the predicted dependency relation match the reference.

For hyw, neither score has been measured. Parse=None records an unavailable parse, so it cannot be read as a score. The missing treebank and model also leave the baseline without a measured result for the displayed forms or for any particular construction.

Frames, pragmatics and current input requirements

Mova's frame, pragmatics and world processing in prag and world reads English trees. Western Armenian currently supplies no parsed trees to these components. A language label or a row containing the written form and Parse=None supplies no syntactic head or relation for this processing.

For example, the corpus phrase below contains a locative expression. Its translation gives a reader the location expressed by the phrase. The current output for Western Armenian supplies no attachment from which a downstream component could determine the role of that phrase in its clause.

FormTransliterationGlossTranslation
«Երեւանի մէջ»Erewani mēǰYerevan.GEN in‘in Yerevan’

Corpus id wiki:hyw:Կապի Թանգարան (Երեւան).

A Western Armenian dependency parse would supply a syntactic input for that language. The current downstream input remains English trees.

Squid claims and the implementation queue

Squid reads the grammar manual and represents each grammatical point as a claim. Rules with explicit conditions, closed lists and statistics can be formalized and queued for a place in Mova's code. A queued claim has the status of an implementation candidate. Publication in the manual and entry in the queue supply no runnable tokenizer, tagger or parser behavior.

For a rule to guide a later implementation, its conditions need to identify the relevant form and context, and its exceptions need to identify the readings or environments that require different treatment. A closed list needs all the members that the rule refers to. A statistic needs a specified population or dataset and a measure. The unmeasured attachment baseline supplies no statistic to record for Western Armenian.

Requirements for a tokenizer, tagger and parser baseline

A tokenizer baseline needs consistent boundaries for sentences and tokens. For Western Armenian prose, annotation decisions need to cover Armenian punctuation alongside punctuation used in mixed text, changes of script, and written expressions containing digits and a suffix. They also need to distinguish morphology written within a word from forms written separately. The corpus excerpts illustrate several decisions that annotation must make consistently.

FormTransliterationGlossTranslationCorpus id
«Թանգարանը»T‘angaranəmuseum.DEF‘the museum’wiki:hyw:Կապի Թանգարան (Երեւան)
«կը գտնուի»kə gtnuiIPFV be.located.PRS.3SG‘is located’wiki:hyw:Կապի Թանգարան (Երեւան)
«հիմնադրուած է»himnadruac ēfound.PTCP be.PRS.3SG‘was founded’wiki:hyw:Կապի Թանգարան (Երեւան)
«2012-ին»2012-in2012-TEMP‘in 2012’wiki:hyw:Կապի Թանգարան (Երեւան)

The definite ending in «Թանգարանը» is attached in writing, whereas the verbal marker «կը» and the auxiliary «է» appear as separate written forms in their respective phrases. The dated expression combines digits, a hyphen and Armenian letters without spaces. These examples concern the treatment of corpus forms in a prospective baseline.

A tagger baseline needs reference part-of-speech labels and morphological features aligned with the chosen tokenization. Lemma annotation also needs to relate inflected forms to dictionary forms. Recurring written markers, auxiliaries and nominal endings need consistent treatment in context so that equivalent constructions receive comparable annotations.

A parser baseline needs reference heads and dependency relations. For the data represented here, that includes consistent treatment of a verbal marker, a participle with an auxiliary and the attachment of a phrase that expresses place or time. The training split must supply the analyses from which the model learns. The development split must supply annotated examples against which the trained model's head and relation choices can be scored.

How Mova handles Western Armenian today

tools/mova-parse uses tools/langseg at level 1 to label sentences and spans. tools/langseg distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Armenian script falls under other. Identifying a language span depends on coverage of its script or lexicon.

At level 2, tools/mova-parse uses a model for the span's language. There is no hyw model. The missing-model output reports the absence in the # parse comment, gives _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and records Parse=None in MISC. Mova has no Western Armenian tokenizer, tagger, lemmatizer or parser in this workflow.

The en crate provides en xpos-fill, en train and en parse-eval for the baseline called for in What every language gets. Training uses the UD training split, and evaluation measures UAS and LAS on the development split. English and French have models, en.bin and fr.bin. Mova has no Western Armenian treebank, so neither baseline score is available for hyw.

prag and world read English trees. There are no parsed Western Armenian trees for them to read. Squid turns the manual's grammatical points into claims and queues formalizable rules, closed lists and statistics for implementation. The queued claims have yet to become code. The first requirements concern 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/hy/hyw/25-mova-tools/