Mova0.6 pre-release

the flag of Myanmar 28. Shan in Mova

Mova’s Shan edition uses the language code shn. Its corpus contains Shan text, and the grammar manual supplies claims for Squid. The multilingual parser currently places Shan-script spans in its other category. Shan has neither a parser model nor an annotated treebank in Mova.

Language identification and Shan-script input

Mova distinguishes a corpus entry’s edition from the language assigned to its text at runtime. At level 1 of tools/mova-parse, tools/langseg assigns a language to each sentence and span. Its Latin-script identification distinguishes English and French using a Latin table, language lexicons 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 fall under other. That is the category for Shan script.

The shn in a corpus identifier records the Shan edition. An entry from that edition can contain text in another language, as the English fragment in the Miss Grand Myanmar entry illustrates. The identifier gives the origin of the fragment without establishing a language assignment for every span within it. (wiki:shn:Miss Grand Myanmar)

Shan corpus text also shows why language identification and word segmentation are separate tasks. In two sentences from the same article, the proximal demonstrative follows the same name, once with a space and once directly adjacent. The word forms and their order are the same. The romanizations below omit tone.

Corpus fragmentRomanizationGlossTranslation
ဢူးၺီႇပူႉ ၼႆႉU Nyi Pu naiHON Nyi.Pu PROX‘this U Nyi Pu’
ဢူးၺီႇပူႉၼႆႉU Nyi Pu naiHON Nyi.Pu PROX‘this U Nyi Pu’

Both fragments come from wiki:shn:ၺီႇပူႉ (ၸွမ်ၽွင်းလူင်). HON marks an honorific and PROX a proximal demonstrative.

Parser availability and unannotated output

Level 2 of tools/mova-parse uses the language assigned to a span to select the corresponding model file. This makes model availability a separate condition from language identification. A language needs a model of its own for the system to parse a span under that language’s code. There is no level-2 model for shn.

The missing-model output reports the absence in the # parse comment. On the token rows in that output, the following fields have these values.

FieldsValue
LEMMA, UPOS, XPOS, FEATS, HEAD, DEPREL_
MISCContains Parse=None

The underscores leave the lemma, both part-of-speech fields, morphological features, dependency head and dependency relation unset. Parse=None records the missing parse in MISC. A row in this output does not establish that its surface form is a single Shan word. Mova has no Shan tokenization, tagging, lemmatization or dependency analysis for these rows.

Treebank status and baseline measurements

Mova holds Shan corpus text but no annotated Shan treebank. The corpus examples document written forms in context. They supply no reference token boundaries, part-of-speech tags or dependency trees for parser evaluation. Shan consequently has no measured treebank baseline in Mova.

The language package described in What every language gets calls for the same baseline for each language. After en xpos-fill, en train trains the tree parser and tagger on the language’s Universal Dependencies training split. en parse-eval measures attachment on the development split. Unlabeled attachment score, or UAS, measures how often an evaluated token receives the correct head. Labeled attachment score, or LAS, requires both the correct head and the correct dependency relation. English and French have model files, en.bin and fr.bin. There are no Shan UAS or LAS values to report.

A Shan baseline requires annotated training and development data that follow the same tokenization and annotation conventions. The conventions matter to both scores because the token boundaries determine which forms can serve as heads and dependents. The presence of Shan text in the corpus satisfies neither the training nor the evaluation requirement.

Frames and pragmatics

Mova’s frame, pragmatics and world components read English dependency trees. Shan has no parsed input for these components. Its corpus entries therefore provide no Mova frame or pragmatic analysis of Shan.

A village entry contains the following phrase.

FormRomanizationGlossTranslation
တီႈဝၢၼ်ႈၼႆႉtii waan naiat village PROX‘at this village’

The fragment comes from wiki:shn:ဝၢၼ်ႈလႃႇၸေႃး (တႂ်ႈ)၊ ၸႄႈဝဵင်းတၢၼ်ႇတွင်ႇၵျီး. In the article, the demonstrative directs the reader to the village under discussion. The gloss describes the words, and the surrounding text supplies the referent. That distinction matters for a future analysis. A dependency tree can record the demonstrative’s syntactic relation to the noun, while resolving the reference requires the discourse context.

Squid claims and priorities for tokenization and UD annotation

Squid reads each grammatical point in the manual as a claim. Formalizable claims, including rules, closed lists and statistics, enter its queue for possible implementation. A queued claim records a description that can be formalized. Its presence in the queue does not give the parser that behavior. For Shan, the first claims to consider are those needed to define tokens, assign tags and build the UD treebank used for a baseline.

  1. Establish word and punctuation boundaries. Account for both spaced and unspaced forms, including adjacent names and demonstratives. Spell out which orthographic sequences must stay intact and decide punctuation boundaries from their use in context. The village entries include both 190368 and 170,217 as postal codes. The comma in the latter occurs inside the written number, a case the tokenization conventions must handle separately from punctuation between phrases. (wiki:shn:ဝၢၼ်ႈၽျူႇယွင်ႇ၊ ၸႄႈဝဵင်းမိူင်းၵုတ်ႈ, wiki:shn:ဝၢၼ်ႈလႃႇၸေႃး (တႂ်ႈ)၊ ၸႄႈဝဵင်းတၢၼ်ႇတွင်ႇၵျီး)
  2. Define lemmas, tags and features on those tokens. Set criteria for common forms that recur in different constructions, including demonstratives, numerals, classifiers and particles. Specify any differences in annotation by syntactic use so that matching spellings can be treated consistently across contexts.
  3. Set the dependency conventions for recurring constructions. Establish head and relation choices within noun phrases and clauses. The corpus offers cases such as a postnominal demonstrative and a predicate that identifies a person or gives a postal code. For the latter constructions, the guidelines need to specify when a form functions as a copula and how to attach the subject and predicate. Apply the same conventions to the training and development splits so that attachment scores evaluate the intended analysis.

How Mova handles Shan today

At level 1, tools/mova-parse uses tools/langseg to assign languages to sentences and spans. Shan script falls under other. Language identification depends on the scripts or lexicons that tools/langseg supports. For an additional Latin-script language, langseg latin-lexicon supplies a lexicon from an open UD training split, and support also requires a Lang code.

At level 2, tools/mova-parse selects a model file for each span’s assigned language. No model exists for shn. The missing model is reported in the # parse comment, with _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Mova does not tokenize, lemmatize, tag or parse Shan.

Mova has no annotated Shan treebank and no measured Shan baseline. The package calls for training with en train after en xpos-fill and measuring UAS and LAS on the development split with en parse-eval. The existing models are en.bin and fr.bin. Mova’s frame, pragmatics and world components, including prag and world, read English trees and have no parsed Shan input.

Squid turns the manual’s grammatical points into claims and queues those that can be formalized. None of the chapter’s rules is implemented for Shan. Tokenization, tagging and the conventions needed for a UD treebank baseline are the first priorities.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/shn/28-mova-shan/