32. Uyghur in Mova and Squid
Mova’s Uyghur package uses the language code ug. The available Wikipedia excerpts show several kinds of text that an Uyghur parser would need to handle. The package has neither a parser model nor an annotated treebank, so it has no measured parsing baseline. This chapter describes the output available today and the evidence needed to extend it.
Script coverage in language segmentation
Language segmentation assigns a label to each sentence and span before parsing. In Latin script, tools/langseg distinguishes English and French using a Latin table, a lexicon for each language and a character 4-gram model. It also distinguishes varieties written in Hebrew script and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage receive other. Arabic-script Uyghur therefore falls under other on script grounds.
Uyghur also occurs in Latin script in the supplied corpus. The Latin recognizer has a procedure for adding a language through a lexicon and a Lang code. The lexicon can be built from an open Universal Dependencies (UD) training split with langseg latin-lexicon. This route concerns recognition in Latin script. Arabic-script Uyghur requires coverage of its own script. A label at either level of script coverage is separate from the availability of a parser model.
| Corpus fragment | Form | Romanization | Gloss | Translation |
|---|---|---|---|---|
Latin-script Uyghur, wiki:ug:Uyghur tili | Uyğur tili | — | Uyghur language-POSS.3 | “the Uyghur language” |
Han-script name in an Uyghur entry, wiki:ug:جۇڭخۇا خەلق جۇمھۇرىيىتى | 中华人民共和国 | Zhōnghuá Rénmín Gònghéguó | China people republic | “People’s Republic of China” |
Arabic presentation forms, wiki:ug:ئىككى ھەرەم خاتىرىسى (2) | ﭘﺎﺳﭙﻮﺭﺗﯘﻡ | pasportum | passport-POSS.1SG | “my passport” |
These fragments illustrate three different problems. The Latin-script phrase must be recognized through language evidence within a shared script. The Chinese name requires a span boundary within an Uyghur entry. The presentation-form word raises a character representation question within Arabic-script Uyghur. A document’s language label alone cannot settle those boundaries or character identities. In the glosses, POSS marks possession and the following person and number refer to the possessor.
Uyghur parse output and model availability
tools/mova-parse runs language segmentation at level 1. At level 2 it parses each span with the model for the span’s language, loaded from <code>.bin. The model choice is per span, so the fallback applies to a span whose language lacks a model. Mova has English (en.bin) and French (fr.bin) models. There is no level-2 model for ug.
For a language without a model, the # parse comment reports the missing model. The table gives the complete set of specified fallback annotations for the token rows of that span.
| Output field | Value | Annotation left unavailable |
|---|---|---|
LEMMA | _ | Dictionary form |
UPOS | _ | Universal part of speech |
XPOS | _ | Language-specific part of speech |
FEATS | _ | Morphological features |
HEAD | _ | Syntactic head |
DEPREL | _ | Dependency relation |
MISC | Parse=None | A marker that the token has no parse |
An underscore in HEAD supplies no attachment, including attachment to a sentence root. An underscore in FEATS supplies no feature decision, even for a form that visibly contains an inflection. The fallback describes how the output represents tokens with unavailable annotations. The token rows do not constitute verified Uyghur word segmentation, and the presence of those rows supplies no Uyghur tree for later processing.
The Uyghur corpus inventory and baseline status
The available Mova corpus excerpts come from Uyghur Wikipedia. They include running prose, article titles, a portal list, names, date expressions and text in more than one script. The scripts and character forms vary within the sample. For example, alongside Arabic-script and Latin-script material, one excerpt ends in a Cyrillic fragment and another contains an Arabic rendering of a personal name. The examples are attributed to Uyghur Wikipedia under CC BY-SA 4.0.
These excerpts provide surface forms and sentence identifiers. Mova holds no annotated Uyghur corpus. It therefore has no local gold reference that can supply all of the following for a baseline run.
| Annotation | What the baseline needs from it |
|---|---|
| Sentence and token boundaries | Units to compare with the parser’s output |
| Lemmas, tags and morphological features | Reference analyses for words and their inflections |
| Dependency heads and relations | Reference attachments and labels for syntactic scoring |
| Training and development splits | Separate data for fitting and measuring the model |
No Uyghur treebank baseline has been measured in Mova. The status is an absent measurement. In particular, the raw examples cannot yield an attachment score since they lack reference heads and relations.
External UD results and the Mova baseline procedure
The CoNLL 2018 shared task provides published results for multilingual UD parsing from raw text, including external results for Uyghur. Its evaluation starts with unsegmented text, so errors in sentence or word segmentation can affect the dependency score. It reports labeled attachment along with morphology-aware and bilexical dependency measures. Those measures represent specific evaluation criteria and belong to the shared task’s data and system runs (Zeman et al. 2018, pp. 1–21).
The package procedure in What every language gets calls for the same local baseline for each language. It uses a UD training split and a development split. First en xpos-fill prepares the training data. Then en train trains the tagger and tree parser on the training split. Finally en parse-eval measures unlabeled attachment score (UAS) and labeled attachment score (LAS) on the development split. UAS checks whether a word attaches to the correct head. LAS requires both the correct head and the correct dependency relation.
An external LAS result records a particular system’s performance on the shared task. The local LAS result will come from Mova’s own trained model and development evaluation. For comparisons, the relevant details are the treebank release, the evaluated split, how segmentation is supplied and which scoring measure is reported. Until the package has Uyghur training and development data and runs the Mova procedure, its baseline remains unmeasured.
Inputs required by frames and pragmatics
Mova’s frames, pragmatics and world processing read English trees. Uyghur currently supplies no parsed tree to those components. Parsing is a prerequisite for an Uyghur input to reach that stage. The existing English tree input defines the current coverage of the downstream components.
The difference between surface material and a tree matters even in a short fragment. In the following example, the words express a birthplace and a birth event.
| Form | Romanization | Gloss | Translation |
|---|---|---|---|
| تۇرپاندا تۇغۇلغان | Turpanda tughulghan | Turpan-LOC be.born-PTCP | “was born in Turpan” |
The fragment is from wiki:ug:پورتىدىن. LOC marks the locative and PTCP marks a participial form. The text contains the locative ending on the place name, but the parser fallback provides no feature analysis for it and no dependency linking the location to the predicate. A frame that uses the location of the birth needs access to that relation in its input analysis.
The same distinction applies to pragmatics. An overt particle gives a reading clue, while the contribution to the utterance can depend on its syntactic attachment and the surrounding discourse.
| Form | Romanization | Gloss | Translation |
|---|---|---|---|
| ئوتتۇرا ئاسىيا بازارلىرىدىمۇ | Ottura Asiya bazarliridimu | middle Asia market-PL-POSS.3-LOC-ADD | “in Central Asian markets too” |
The fragment is from wiki:ug:تىكداش (ئەپ). PL marks plural and ADD marks additive meaning. The gloss identifies the additive reading of the attached particle in this example. The surrounding sentence provides the predicate, and a fuller context can supply the alternatives to which the markets are added. The example is a human analysis of the corpus text. The current output lacks the Uyghur annotations that a downstream analysis could use.
Grammar claims in Squid and priorities for a tokenizer and tagger
Squid reads the grammar manual and represents every grammatical point as a claim. Formalizable claims include rules, closed lists and statistics. They enter a queue for placement in Mova’s code. Queue status records a claim awaiting implementation.
For Uyghur, the first claims to formalize are those needed to establish token boundaries, label words and produce a UD baseline. The corpus examples identify several concrete decisions for that work.
| Corpus fragment | Form | Romanization | Gloss | Translation |
|---|---|---|---|---|
Date range, wiki:ug:جۇڭخۇا خەلق جۇمھۇرىيىتى | 9-ئاينىڭ 21-كۈنىدىن 9-ئاينىڭ 30-كۈنىگىچە | 9-ayning 21-künidin 9-ayning 30-künigiche | 9-month-GEN 21-day-POSS.3-ABL 9-month-GEN 30-day-POSS.3-TERM | “from September 21 through September 30” |
Hyphenated expression, wiki:ug:گاننان زاڭزۇ ئاپتونوم ئوبلاستى | يېزا-بازارلىرىنى | yëza-bazarlirini | village-market-PL-POSS.3-ACC | “their villages and towns” |
GEN, ABL, TERM and ACC mark genitive, ablative, terminative and accusative respectively. The date range combines digits, hyphens and inflected words. The hyphenated expression combines lexical material and ends in nominal inflection. A tokenization policy needs separate conditions for the uses of the hyphen in these examples. A tagger needs the feature analysis appropriate to the token boundaries adopted by the treebank.
The initial work also covers punctuation next to words, script changes within an item, and Arabic presentation forms. Portal lists and article titles provide examples where a line or separator may delimit an item without expressing a complete clause. For tagging and lemmatization, frequent case and possessive endings, attached particles and verb forms are relevant because those analyses recur across many words. Each rule needs its conditioning forms and exceptions, and the treebank must apply the same annotation decisions consistently to training and development data. The existing excerpts can supply examples of the decisions to make. Measuring their effect requires annotated data and a baseline run.
How Mova handles Uyghur across the pipeline
At level 1, tools/mova-parse uses tools/langseg to assign a language to each sentence and span. The segmenter distinguishes English and French in Latin script through its Latin table, language lexicons and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Other scripts receive other. Adding another Latin-script language requires a lexicon and a Lang code. langseg latin-lexicon builds lexicons from open UD training splits. Uyghur span recognition is limited to script or lexicon coverage available to the segmenter.
At level 2, tools/mova-parse looks for the model for each span under <code>.bin. Uyghur has no such model. The # parse comment reports the missing model, and its token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. Mova currently lacks Uyghur tokenization, tagging, lemmatization and dependency parsing.
The en crate provides Mova’s parser and tagger. After en xpos-fill, en train trains on the UD training split, and en parse-eval measures UAS and LAS on the development split. The available models are en.bin and fr.bin. What every language gets requests the same baseline for each language. Mova has no annotated Uyghur treebank, so it has no measured Uyghur baseline.
Mova’s frames, pragmatics and world processing in prag and world read English trees. Uyghur currently has no tree to supply to them. Squid turns each point in the manual into a claim and queues formalizable rules, closed lists and statistics for placement in Mova’s code. The Uyghur rules remain unimplemented. The first priorities are the claims needed by a tokenizer, a tagger and a UD treebank baseline.
Sources for this chapter
- Zeman, Daniel, Jan Hajič, Martin Popel, Martin Potthast, Milan Straka, Filip Ginter, Joakim Nivre, and Slav Petrov. 2018. CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies. In Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies, 1–21. Brussels, Belgium: Association for Computational Linguistics. doi.org/10.18653/v1/K18-2001. — CC BY 4.0; not held in the library, to verify
This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/ug/32-mova-tools/