Mova0.6 pre-release

the flag of Iran 31. South Azerbaijani in Mova

Mova has South Azerbaijani example texts under the language code azb. It has no parser model or annotated treebank for the language, and its language segmenter does not identify South Azerbaijani by its Arabic-based script. These limits affect what Mova can report about a text, what it can measure, and what its frames and pragmatics components can read.

The South Azerbaijani package and its current state

The azb code identifies the South Azerbaijani edition of this manual and the language of the corpus examples used here. The example texts include place names, map captions and encyclopedic prose. Their corpus labels identify the language of the source material. Automatic language identification is a separate operation on the input text.

ItemCurrent state for azb
Grammar manualDescribes the language and supplies grammatical claims to Squid
Corpus examplesText excerpts with corpus identifiers
Automatic language identificationThe Arabic-based script falls under other
Level-2 parser modelAbsent
Annotated treebank in MovaAbsent
Universal Dependencies evaluation baselineUnmeasured

A source text can support an example of spelling or morphology without carrying the annotations needed for parser training or evaluation. In the following corpus excerpt, the gloss is a linguistic analysis for the reader. The corpus identifier locates the source text.

FormRomanizationGlossTranslationCorpus identifier
«موسیقیچی»musiqi-çimusic-AGTmusicianwiki:azb:تامی سیباچ

Here AGT marks a person associated with the activity. The romanization shows the stem and suffix with a hyphen. The written form joins them.

Script recognition and language segmentation

Level 1 of the multilingual parser assigns a language label to each sentence and span. Span labels matter because different parts of a sentence can be written in different scripts or belong to different languages. Level 2 uses the language assigned to a span to select a parser model.

The current distinctions made by tools/langseg are as follows.

InputRecognition available
Latin scriptDistinguishes English and French using a Latin table, a lexicon for each language and a character 4-gram model
Hebrew scriptDistinguishes Hebrew-script varieties
Scholarly transliterationRecognizes Hebrew or Aramaic
Other scripts, including the Arabic-based script used for South Azerbaijaniother

A further Latin-script language can be added with a lexicon and a Lang code. The langseg latin-lexicon command builds lexicons from open Universal Dependencies training splits. This addition applies to Latin-script recognition. The Arabic-based text of the South Azerbaijani corpus falls under the current rule for other scripts.

One South Azerbaijani article contains both an Arabic-script description and a Czech place name in Latin letters. The fragments below come from the same sentence. They show why a corpus language label applies at a different scope from the labels assigned to individual spans.

FormRomanizationGlossTranslationCorpus identifier
«چک اؤلکه‌سینده»çek ölkə-si-n-dəCzech country-POSS.3-LINK-LOCin the Czech Republicwiki:azb:سوویکوویتسه (روکیتسانی)
«Svojkovice»Svojkoviceplace nameSvojkovicewiki:azb:سوویکوویتسه (روکیتسانی)

POSS.3 marks third-person possession, LINK marks the linking consonant, and LOC marks the locative. A Latin-script name embedded in the sentence does not supply a South Azerbaijani language label for the Arabic-script span around it.

Parser model availability and Parse=None output

tools/mova-parse uses a separate level-2 model for each language. It looks for the model in the language’s model directory under $MOVA_DATA, using the language code as the base filename and .bin as the extension. English and French have models, en.bin and fr.bin. South Azerbaijani has no model.

When a span reaches level 2 with a language code whose model is missing, tools/mova-parse reports the missing model in the # parse comment. It leaves the following fields unannotated on the output token rows for that span.

FieldValue when the model is missingAnnotation the field would carry
LEMMA_Dictionary form
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Grammatical features
HEAD_Index of the syntactic head, or the root indicator
DEPREL_Dependency relation
MISCParse=NoneMissing-parse status for the token

This is the output for tokens presented to level 2 as azb. In raw Arabic-script input, the earlier segmentation stage can label the span other. The language label answers which model should be selected, and Parse=None records the absence of a parse on the output token. A row with HEAD and DEPREL both blank supplies no dependency attachment.

Treebank availability and the Universal Dependencies evaluation baseline

What every language gets calls for the same evaluation baseline for each language. It uses the language’s Universal Dependencies training split to train a parser and tagger, then evaluates predicted attachments on the development split. Mova’s parser and tagger are in the en crate.

StageCommandData and purpose
Preparationen xpos-fillPrepares the part-of-speech annotation before training
Trainingen trainTrains the tree parser and tagger on the UD training split
Evaluationen parse-evalMeasures UAS and LAS on the UD development split with the trained model

Unlabeled attachment score (UAS) measures how often an evaluated token has the correct syntactic head. Labeled attachment score (LAS) requires both the correct head and the correct dependency relation. Both scores require reference annotations for the development sentences. The training split supplies annotated examples from which the parser and tagger learn.

Mova holds no annotated South Azerbaijani treebank, so it has no measured azb value for either score. The absence of a score means that the baseline has not been measured. The corpus quotations attest written forms and constructions, while an evaluation treebank must specify the reference analysis of the evaluated sentences token by token. An output row with Parse=None records model availability rather than an attachment error against such a reference.

Frames, pragmatics and their English tree input

Mova’s frames, pragmatics and world components use English dependency trees. The prag and world components receive tree input with grammatical relations already expressed. A dependency attachment can connect a predicate to a participant, for example, and the relation label specifies the grammatical link that the downstream analysis can use.

South Azerbaijani supplies no such tree in the current pipeline. A level-1 span label identifies a span in the segmentation output. A level-2 row with Parse=None carries neither a head nor a dependency relation. Neither output provides the tree needed by the downstream components. A gloss or an English translation in this manual is an explanation for the reader and supplies no parser output to those components.

The immediate gap for azb is therefore the absence of parsed South Azerbaijani input. The current downstream input is specifically English trees. Parser availability and downstream language coverage are separate properties of the package.

Grammar claims and Squid's implementation queue

Squid reads the manual and represents each grammatical point as a claim. Formalizable claims, including rules, closed lists and statistics, enter the implementation queue. The queue records work awaiting a place in Mova’s code. A claim can be described precisely and remain queued.

For a language at this stage, the first implementation needs belong to tokenization, tagging and the Universal Dependencies baseline. Each need calls for different information from the grammar.

Implementation needInformation supplied by grammar claims
TokenizationConditions affecting written boundaries, including how surface forms are joined or separated
TaggingWord classes and the grammatical features that distinguish forms within a class
UD treebank baselineAnalyses that can be expressed as token annotations, syntactic heads and dependency relations

The distinction between a written word and a glossed morpheme is relevant at the first stage. In the corpus form «موسیقیچی», the explanatory romanization musiqi-çi marks the derivational boundary, while the source spelling presents a single written word. The grammatical analysis supplies a claim about word formation. The spelling supplies the form that a tokenizer would encounter. The corpus table above gives the gloss, translation and source identifier for this form.

A queue entry is a record of a formalizable grammatical claim. A measured baseline requires a trained model and evaluation against annotated development data. The current South Azerbaijani package has the grammar claims and example material, with the tokenizer, tagger and UD baseline still to be established for the language.

How Mova handles South Azerbaijani today

tools/mova-parse first uses tools/langseg to label sentences and spans. The segmenter distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Its Latin-script distinctions use a Latin table, language lexicons and a character 4-gram model. A further Latin-script language can be added with a lexicon from open UD training splits and a Lang code, using langseg latin-lexicon to build the lexicon. South Azerbaijani’s Arabic-based script falls under other.

At level 2, the parser selects the model for the span’s language. The available models are en.bin and fr.bin. When the span is identified as azb, the missing model is reported in # parse. Its output tokens have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Mova does not tokenize, tag, lemmatize or parse South Azerbaijani.

Mova holds no annotated South Azerbaijani treebank and has measured no UD baseline for the language. The common baseline specified in What every language gets uses en xpos-fill followed by en train on a UD training split and en parse-eval on the development split to measure UAS and LAS.

The frames, pragmatics and world components read English trees. prag and world have no parsed South Azerbaijani input. Squid reads the manual, turns its grammatical points into claims and queues the formalizable ones for implementation. The rules remain unimplemented. The first implementation needs are the points required by a tokenizer, a tagger and a UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/az/azb/31-mova-tools/