Mova0.6 pre-release

the flag of Azerbaijan 22. Talysh in Mova

Mova’s Talysh edition uses the language code tly. The multilingual parser has no Talysh model, and Mova has no annotated Talysh treebank or measured parsing baseline. This chapter describes the output available today and the data needed to add Talysh analysis.

Language segmentation and script coverage

The multilingual parser works in two levels. Level 1 assigns languages to sentences and spans of text. A span can receive a different assignment from the sentence that contains it. Level 2 uses the model for the language assigned to each span. Talysh needs both a way to identify its spans and a model to analyze them.

The Latin-script inventory in tools/langseg distinguishes English and French. It uses a table for Latin script, a lexicon for each supported Latin-script language, and a character model based on four-character sequences. To add a Latin-script language through this route, the segmenter needs a Lang code and a lexicon. langseg latin-lexicon builds the lexicon from an open Universal Dependencies (UD) training split. The segmenter also distinguishes Hebrew-script varieties and recognizes Hebrew and Aramaic in scholarly transliteration. Scripts outside its Latin and Hebrew script coverage are classified as other. The availability of a Talysh edition code does not establish Talysh recognition in either script.

Talysh corpus entries illustrate why script and language assignments have to work within a sentence. A Latin-script article may include an Arabic-script name or another Latin spelling of a name. The following forms come from the corpus as written.

FormRomanizationGlossTranslationCorpus ID
“العبادلة”al-ʿAbādilaAbadla (place name)‘Abadla’wiki:tly:Abadla
“Abraham Linkoln”—Abraham Lincoln (personal name)‘Abraham Lincoln’wiki:tly:Abraham Linkoln
“Abraham Lincoln”—Abraham Lincoln (personal name)‘Abraham Lincoln’wiki:tly:Abraham Linkoln

The two Latin spellings occur together in the same entry. The Arabic-script name illustrates a span whose script falls under other. These examples show what the input contains. Language labels are assigned separately by the segmenter.

Talysh output and the Parse=None marker

For a span assigned to tly, tools/mova-parse has no level-2 model to load. The # parse comment reports the language whose model is missing. The token rows for that span have the following values in the analysis fields.

FieldValueReading
LEMMA_No lemma supplied
UPOS_No universal part-of-speech tag supplied
XPOS_No language-specific part-of-speech tag supplied
FEATS_No morphological features supplied
HEAD_No syntactic head supplied
DEPREL_No dependency relation supplied
MISCParse=NoneThe span’s language has no parser model

Read the six underscores together with Parse=None. An underscore in FEATS here leaves features unassigned. An underscore in HEAD leaves the head unassigned, including the decision about which word is the root. The rows preserve text for which grammatical analysis is unavailable. Their presence does not establish that the row boundaries follow Talysh tokenization rules. In multilingual input, the missing model affects the Talysh span. Each other span is handled according to the model available for its own language.

Treebank data, model status and the unmeasured UAS and LAS baseline

The supplied corpus entries provide running text. Mova has no annotated Talysh treebank from which to obtain a UD training split and a development split. There is no tly model, and both attachment scores are unmeasured.

MeasureWhat counts as correct for an evaluated wordTalysh baseline
UAS, unlabeled attachment scoreThe predicted head matches the reference headUnmeasured
LAS, labeled attachment scoreBoth the predicted head and the predicted dependency relation match the referenceUnmeasured

A correct head with a wrong dependency relation counts toward UAS only. Both measures require a reference tree. Parse=None records model availability and supplies neither a predicted attachment nor a reference attachment for evaluation.

The language package asks for the same train-to-development baseline for each language. In Mova’s parser workflow, en xpos-fill precedes en train, which trains a tree parser and tagger on the UD training split. en parse-eval measures UAS and LAS against the development split. The training split supplies the examples the model learns from. The development split supplies the annotated sentences on which its predictions are scored.

Tokenizer, tagger and treebank requirements

The tokenizer needs explicit rules for determining the units that will receive annotations. These include how to handle punctuation and numbers, how to represent hyphenated forms, and whether any single written unit has to be represented by more than one syntactic word under UD conventions. The decisions need to apply consistently to both the treebank and the input analyzed by a model. The language segmenter supplies span boundaries and language assignments. Word boundaries within a Talysh span require their own conventions.

FormRomanizationGlossTranslationCorpus ID
“3-inə rəhbər”—three-ORD leader‘third leader’wiki:tly:Abdullah Rahmən Ibn Fajsal
“16-minə prezident”—sixteen-ORD president‘sixteenth president’wiki:tly:Abraham Linkoln

ORD marks an ordinal. Both examples write an ordinal with digits, a hyphen and a letter sequence. They give the tokenizer concrete input to account for and the annotator a construction whose ordinal and noun must be represented consistently. These two forms alone leave the full ordinal paradigm undetermined.

The tagger needs annotated examples that establish the parts of speech and morphological features used for Talysh. The annotation conventions must also specify how to choose lemmas and how to record distinctions that depend on context. For dependency annotation, the treebank must establish a head and a relation for each annotated syntactic word, with a root for each tree. That requires consistent treatment of constructions such as possession, adpositional phrases, and clauses with different patterns of argument marking. The treebank puts the decisions about word boundaries, categories, and syntactic relations into a common representation that can be used for training and evaluation.

Squid claims and implementation status

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable rules, closed lists and statistics enter its queue for a place in Mova’s code. A queued claim is pending implementation. The manual can therefore describe a Talysh construction even when runtime output for the words in that construction consists of unannotated rows.

A rule that determines a word boundary would concern tokenization. A closed inventory of forms can support tagging once the annotation conventions specify which features to assign and under what conditions. A rule about which word depends on which other word can guide treebank annotation. These are the points needed first for a tokenizer, a tagger and a UD baseline. For Talysh, the rules described in the manual have yet to be implemented.

Dependencies for frames and pragmatics

Frames, pragmatics and the world component currently read English trees. A dependency tree supplies syntactic relations that downstream analysis can use to identify predicates, arguments and modifiers. Raw corpus text supplies the written forms. The Talysh rows with Parse=None have no head or relation annotations for downstream processing.

Talysh parsing is therefore a prerequisite for downstream analysis of Talysh. A parsed tree would provide the syntactic input. The current tree-reading components operate on English, so the existence of a future Talysh dependency tree alone would leave Talysh frame and pragmatic analysis unspecified.

How Mova handles Talysh today

tools/mova-parse uses tools/langseg to assign languages to sentences and spans, then looks for a model for each span’s language. Talysh span identification is limited to what the segmenter knows from script or lexicon coverage. Its Latin-script support distinguishes English and French, and a further Latin-script language requires a lexicon and a Lang code. The segmenter also distinguishes Hebrew-script varieties and recognizes scholarly transliteration of Hebrew and Aramaic. Other scripts receive other.

There is no level-2 model for tly. For spans identified as Talysh, tools/mova-parse reports the missing model in # parse and emits _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. Talysh-specific tokenization, tagging, lemmatization and dependency parsing are unavailable.

Mova holds no annotated Talysh treebank, so UAS and LAS remain unmeasured. The parser has English and French models. The package calls for a Talysh baseline using the same workflow of en xpos-fill, en train and train-to-development evaluation with en parse-eval. Squid queues formalizable claims from the manual. The Talysh rules are pending implementation, beginning with what a tokenizer, a tagger and a UD treebank baseline need. The frame, pragmatics and world components read English trees and have no Talysh trees to read.

Sources for this chapter

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