Mova0.6 pre-release

the flag of Iran 22. Gilaki in Mova

Gilaki (glk) has text examples in Mova’s corpora. It has no level-2 model or annotated treebank in Mova, so the multilingual pipeline supplies no Gilaki dependency analysis and there is no measured Gilaki baseline. This chapter describes the output available today and the work needed to obtain a first baseline.

Language identification in the multilingual pipeline

tools/mova-parse operates at two levels. At level 1, tools/langseg assigns a language label to each sentence and span. At level 2, the parser looks up a model for the language assigned to each span. A corpus label such as glk identifies the language of the corpus entry. Automatic identification depends on the languages and scripts covered by the segmenter.

For Latin script, tools/langseg distinguishes English and French using 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. Other scripts receive other. The Arabic-derived script used in the supplied Gilaki examples falls under that fallback. For an additional Latin-script language, the documented route is to add a lexicon from open UD training data with langseg latin-lexicon and add a Lang code.

Language identification matters within a Gilaki entry as well as across entries. The corpus includes an English term inside a parenthesis introduced by a Gilaki phrase. The two portions illustrate why the language of an entry and the language of a span are separate decisions.

FormRomanizationGlossTranslation
اينگيليسي مئنingilisi miənEnglish in‘in English’

The phrase immediately precedes the English term “Globalization” in wiki:glk:جهانيأبؤن (Gilaki Wikipedia, CC BY-SA 4.0). The extract illustrates the mixed-script input. It gives no evidence about the span boundaries assigned by the segmenter.

Current model availability and parse output

Level 2 uses the model file corresponding to the span’s language code. Mova has models for English and French, stored as en.bin and fr.bin. No level-2 model exists for glk. For a span assigned a language with no model, tools/mova-parse reports the absence in the # parse comment and leaves the token rows unannotated as follows.

Output columnValue without a modelAnnotation left unspecified
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=NoneThe row records the absence of a parse

The rows represent the input in the output format. Their presence gives no Gilaki-specific segmentation analysis. Likewise, an underscore in FEATS gives no basis for deciding whether a form expresses a morphological feature, and an underscore in HEAD gives no basis for identifying a clause root. Parse=None records model availability at this stage, without making a judgment about the grammatical structure of the text.

Treebank availability and baseline measurements

Mova holds no annotated Gilaki corpus. The Wikipedia examples provide text for inspection, but no reference token boundaries, tags or dependency trees are supplied with them. Mova therefore has no Gilaki treebank baseline.

The baseline requested in What every language gets uses the en crate. After en xpos-fill, en train trains a tagger and tree parser on the language’s UD training split. en parse-eval evaluates the resulting parser on the development split. Unlabeled attachment score (UAS) measures how often the predicted head matches the reference head. Labeled attachment score (LAS) requires both the head and the dependency relation to match. Both measures require reference analyses against which to compare the output.

For Gilaki, the missing inputs are the annotated training and development splits. Until those exist in Mova, there is no train-to-development score to report. A future measurement should identify its splits so readers can tell which material contributed to training and which material was used for evaluation.

Frames and pragmatics

Mova’s frame, pragmatics and world components read English trees. The absence of Gilaki trees leaves these components without Gilaki input. A span label supplies a language identity, and an unannotated token row supplies no dependency structure. Neither supplies the predicate and argument relations needed as input to tree-based interpretation.

The manual can describe how speakers use a construction in context and how a reader interprets it. Such a description is a grammatical claim. A frame output or a pragmatic analysis produced by Mova would require an analysis of the input that the relevant component can read. A Gilaki dependency model would address the missing trees. The stated input coverage of the downstream components is English.

Manual claims and the implementation queue

Squid reads the manual and turns each grammatical point into a claim. Points that can be represented formally, including rules, closed lists and statistics, enter the implementation queue. A queued claim is pending. Its presence provides no evidence that the behavior it describes appears in Mova’s output.

For Gilaki, a claim about the spelling of a linker can inform tokenization, while a claim about the syntactic role of that linker can inform annotation. These decisions have different conditions. The spelling claim needs to specify the visible forms and the environments where they occur. The annotation claim needs to specify the unit receiving an analysis and its relation to the surrounding words. A corpus occurrence can establish that the spelling appears in that passage. Establishing a general rule or a closed inventory takes evidence about the contexts and forms it covers.

Priorities for tokenization, tagging and a UD baseline

Start with token boundaries in the writing found in the corpus. The examples give material for examining spacing around a written linker, punctuation next to words and changes of script inside parentheses. Record the original spelling when making boundary decisions so that the analysis can be checked against the source text.

FormRomanizationGlossTranslation
لندن ٚ سامرست ٚ مئنLondon LNK Sāmerest LNK miənLondon LINK Somerset LINK in‘in Somerset, London’

The extract is from wiki:glk:مارگؤ رابي (Gilaki Wikipedia, CC BY-SA 4.0). LNK in the romanization and LINK in the gloss stand for the written linking sign. The signs are visibly spaced in this passage. An annotation convention needs to settle how to represent each sign in the tokenization and in the analysis of the phrase.

FormRomanizationGlossTranslation
شؤن-أمأنšon-amāngo–come‘coming and going’

The hyphenated form is from wiki:glk:جهانيأبؤن (Gilaki Wikipedia, CC BY-SA 4.0). The written hyphen identifies a boundary to consider. A convention needs to say when forms joined this way are represented together and when their parts receive separate syntactic analyses. The same convention should give consistent results across comparable occurrences.

Once token boundaries are defined, specify how lemmas, universal part-of-speech tags, language-specific tags and morphological features are assigned. The initial annotation should cover ordinary predicates and their dependents, alongside the linking signs, place names and mixed-language material found in the corpus. Head selection and dependency labels need explicit conventions for the constructions included in the baseline.

A first UD baseline needs annotated training and development splits prepared under the same conventions. The recurring place-entry wording in the supplied material is relevant when choosing the splits. Keeping closely repeated passages together would make the development evaluation less dependent on recurring templates. With the splits in place, the package’s training and evaluation procedure can measure UAS and LAS for Gilaki.

How Mova handles Gilaki today

At level 1, tools/langseg assigns language labels to sentences and spans within its script and lexicon coverage. It distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Other scripts receive other. The route for adding a Latin-script language uses a Lang code and a lexicon made from open UD training splits with langseg latin-lexicon.

At level 2, tools/mova-parse looks up each span’s language model. For glk, the model is absent. The missing model is reported in the # parse comment. The rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. Gilaki-specific tokenization, tagging, lemmatization and dependency parsing are unavailable.

Mova has no Gilaki treebank or measured Gilaki baseline. What every language gets calls for training on a UD training split with en train after en xpos-fill, then measuring UAS and LAS on the development split with en parse-eval. The available models are en.bin and fr.bin. The frame, pragmatics and world components read English trees, and prag and world have no Gilaki trees to read.

Squid records the manual’s grammatical points as claims and queues those that can be formalized. Implementation of the chapter’s rules is pending. The first claims to address are those needed for 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/glk/22-mova-tools/