Mova0.6 pre-release

Kurdish: the Kurdish flag, red, white and green with the sun 28. Central Kurdish in Mova

The ckb edition documents Central Kurdish (Sorani). This chapter describes what Mova can identify in Sorani text, what appears in its parser output, and what data a measured parsing baseline would require.

The ckb edition and package state

The edition code ckb identifies the language described by this manual and the Central Kurdish material in Mova’s corpus. A corpus entry supplies text that can be cited and examined. A treebank supplies text with reference annotations against which a parser can be trained and evaluated. Mova has Central Kurdish corpus examples, but it holds no annotated Central Kurdish treebank and has no parser model for the language.

The language package specification in What every language gets calls for the same Universal Dependencies (UD) baseline for each language. Mova’s parser is provided by the en crate, which has trained models for English (en.bin) and French (fr.bin). The edition code and the presence of Sorani text in the corpus do not establish that the corresponding language package can parse it.

Script recognition and multilingual language segmentation

The multilingual parser, tools/mova-parse, begins with language segmentation. At level 1, tools/langseg assigns a language label to each sentence and span. At level 2, the parser uses the span’s assigned language to select a model. A language label describes the text span and does not supply a word’s part of speech or syntactic head.

For Latin-script text, the segmenter distinguishes English and French using its Latin table, a lexicon for each language, and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported set receive other. The Arabic-derived script of ordinary Sorani writing falls in that category. A ckb label already attached to a corpus entry is therefore different from a label inferred by the segmenter from raw text.

Another Latin-script language can be added with a Lang code and a lexicon built from open UD training splits using langseg latin-lexicon. That route applies to Latin-script input. It supplies no recognition of the Arabic-derived script used in the ckb edition.

A Sorani passage can include a Latin-script title, as in the following corpus fragment. A change of script is visible at the title, but the segmenter’s treatment of Latin text does not establish the language of the surrounding Sorani span.

FormRomanizationGlossTranslation
بە ئینگلیسی: Open Broadcaster Softwarebe Înglîsî: Open Broadcaster Softwarein English: Open Broadcaster Software‘In English: Open Broadcaster Software’

wiki:ckb:نەرمامێری پەخشەری کراوە

Parser model availability and Parse=None output

At level 2, tools/mova-parse looks for a model under the assigned language’s data directory. The model is in the models subdirectory and takes the language code as its basename with the extension .bin. There is no level-2 model for ckb. When a language model is missing, the # parse comment reports it. Central Kurdish token rows in the output are left as follows.

FieldOutput
LEMMA_
UPOS_
XPOS_
FEATS_
HEAD_
DEPREL_
MISCParse=None

The six underscores mark absent annotations. In particular, an underscore in HEAD leaves the head unspecified, so the row cannot be used to identify a root or recover a dependency arc. Parse=None records the absence of a parse. The existence of output rows does not establish that Mova has applied Sorani word-boundary rules or identified the morphemes within a written word.

In multilingual text, processing is span by span. A span assigned to a language with an available model can receive a parse even when the surrounding text has no model. Its dependency annotations apply to that span.

Treebank availability and the unmeasured UAS and LAS baseline

Mova holds no Central Kurdish treebank, so it reports no baseline for unlabeled attachment score (UAS) or labeled attachment score (LAS). Both scores compare predicted dependency attachments with reference annotations. UAS is the proportion of evaluated tokens assigned the correct head, including the root assignment where applicable. LAS requires both the correct head and the correct dependency relation. The two scores are unmeasured for ckb.

The package baseline uses a UD training split and a development split. After en xpos-fill, en train trains the tree parser and tagger on the training split. en parse-eval measures attachment against the development split. A run requires reference trees on both sides of that division. The source sentences in Mova’s Sorani corpus provide examples of written usage, but they supply no reference head or relation for an attachment comparison.

Frame, pragmatic and world analysis inputs

Mova’s frame, pragmatic, and world analyses take English trees as input. The pragmatic and world components are prag and world. A Sorani passage with Parse=None supplies no dependency tree for those analyses. A language label, a corpus identifier, and a manual gloss each identify something about the text, but none supplies the dependency structure those components read.

Producing a Sorani tree is a prerequisite for giving the downstream analyses syntactic input from Sorani. The current English tree input also limits what can be inferred from parser availability alone. A measured Sorani attachment score would describe dependency parsing, and would give no measurement of frame, pragmatic, or world analysis.

Tokenizer and tagger requirements for a future baseline

A Central Kurdish baseline needs consistent rules for moving from the written string to the syntactic words in the treebank. Whitespace and punctuation provide some boundaries. The annotation must also specify how to handle attached material, including Ezafe, nominal endings, pronominal clitics, and attached forms of the copula. Where a written token contains material assigned to more than one syntactic word, the treebank must record the correspondence between the written token and its syntactic words. A morpheme boundary shown in a gloss is evidence about the form’s internal structure, and does not by itself determine a UD word boundary.

The tokenizer also needs a consistent treatment of spelling and character variants, digits within Sorani text, and punctuation next to a change of script. If characters are normalized for lookup or tagging, the representation used by the pipeline must still preserve the correspondence with the input. The following corpus fragments illustrate two boundary decisions that an annotation scheme must document. In the glosses, EZ marks Ezafe and LOC marks a locative ending.

FormRomanizationGlossTranslationCorpus ID
دوورگەی کیشdûrge-y Kîşisland-EZ Kish‘Kish Island’wiki:ckb:دوورگەی کیش
لە ساڵی ١٩٤٣داle sał-î 1943-dain year-EZ 1943-LOC‘in 1943’wiki:ckb:ڕەمزی نافیع

In the first fragment, the written ending on ‘island’ links it to the name. In the second, the numeral and the locative ending occur in the same uninterrupted written form. An annotation policy must let an annotator recover those analyses consistently wherever the same patterns occur, including in the development split.

The tagger needs reference lemmas, universal part-of-speech tags, the language-specific tag field used in the training workflow, and consistent morphological features where applicable. The annotation guidelines must resolve category decisions in context. For example, they need to specify how to annotate an attached copula in a predication and how to treat the elements of a complex predicate. The dependency layer then needs explicit attachment conventions, including for clause arguments in Sorani’s split alignment. Training and development data must use the same conventions so that an attachment score measures predictions against a common analysis.

How Mova handles Central Kurdish today

tools/langseg assigns ordinary Sorani script to other. tools/mova-parse has no ckb model for level 2. It reports missing model coverage in the # parse comment and leaves Central Kurdish token rows with _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL and Parse=None in MISC. Mova provides no Sorani-specific tokenization, tagging, lemmatization, or dependency parsing. With no Central Kurdish treebank, it has no measured UAS or LAS baseline. Its frame, pragmatic, and world analyses, including prag and world, read English trees and receive no Sorani tree.

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists, and statistics, wait in its queue for implementation. A queued claim has no effect on the parser. The first points needed for Central Kurdish are those that support 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/ku/ckb/28-mova-tools/