33. Thai in Mova
As of 18 November 2026, Mova has no annotated Thai corpus, level-2 Thai parser model, or measured Thai treebank baseline. At language segmentation, the multilingual pipeline assigns Thai script to other. If the output includes a token row for unparsed Thai text, the row carries Parse=None. The manual’s Thai examples illustrate grammatical analyses and provide evidence for individual claims within the scope of each example.
Thai script at the language segmentation stage
The multilingual parser, tools/mova-parse, has two levels. At level 1, tools/langseg assigns language categories to sentences and spans. At level 2, tools/mova-parse selects a model according to each span’s assignment. In mixed-language input, a span can therefore be routed differently from another span in the same sentence. Model availability is checked for the assigned category at the span level.
For Latin-script input, tools/langseg distinguishes English and French using a 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 fall under other. Thai script falls under other along with other unsupported scripts, so the label alone cannot identify a span as Thai. The Latin-script extension mechanism uses an open Universal Dependencies (UD) training split and langseg latin-lexicon to add a lexicon and a Lang code for Latin-script input. Routing Thai-script spans to a Thai model requires an assignment for Thai script.
A level-1 span is a region of input text and can contain several Thai words. Thai can write adjacent words without intervening spaces. The spaces in the romanization and gloss below show the word boundaries used in each example.
| Form | Romanization | Gloss | Translation |
|---|---|---|---|
| แมวกินปลา | maeo kin pla | cat eat fish | “The cat eats fish.” (constructed) |
| เด็กอ่านหนังสือ | dek an nangsue | child read book | “The child reads a book.” (constructed) |
In the first example, word boundaries follow แมว (maeo, ‘cat’) and กิน (kin, ‘eat’). In the second, they follow เด็ก (dek, ‘child’) and อ่าน (an, ‘read’). The other assignment supplies neither a Thai category nor these internal boundaries. Thai language routing would identify which spans go to a Thai model. Thai word tokenization would identify the units inside those spans.
Missing model behavior and Parse=None
At level 2, tools/mova-parse looks up a model for the span’s assigned category. Thai-script spans reach this step as other. Consequently, an entry in the # parse comment for a missing model reflects the assigned category. It cannot establish that the pipeline recognized Thai or looked up th. The absence of a level-2 model for th is a separate fact about Mova’s model holdings.
Any token rows returned for a span with a missing model carry Parse=None in MISC. Returned rows for unparsed Thai-script material have the following values.
| Field | Value for an unparsed token | Interpretation |
|---|---|---|
| LEMMA | _ | No lemma is supplied |
| UPOS | _ | No universal part-of-speech tag is supplied |
| XPOS | _ | No language-specific part-of-speech tag is supplied |
| FEATS | _ | No morphological feature analysis is supplied |
| HEAD | _ | No syntactic head is supplied |
| DEPREL | _ | No dependency relation is supplied |
| MISC | Parse=None marker | The row has no parse |
The comment reports a missing model for the assigned category, while the MISC marker applies to an individual row. An underscore in HEAD leaves the head unspecified. In a UD tree, a root has HEAD 0 and DEPREL root. An underscore in FEATS on a row marked Parse=None gives no evidence about which features the form expresses.
A returned row can preserve a Thai string whose internal word boundaries have received no Thai analysis. The presence of Thai script and Parse=None establishes that the row carries unparsed material. It gives no basis for treating the row as one Thai word or for inferring its lemma, tag, head, or dependency relation.
Thai corpus holdings and baseline status
Mova holds no annotated Thai corpus. The manual contains descriptions and illustrative examples. The treebank baseline requires a UD training split with reference word boundaries, tags, heads, and dependency relations, and a separate annotated development split for evaluation. The development heads and relations define the reference dependencies against which the parser’s predictions are scored.
| Thai package item | Current status |
|---|---|
| Annotated Thai corpus in Mova | Absent |
| Level-2 Thai parser model | Absent |
| Thai train-to-development treebank baseline | Unmeasured |
The baseline status means that there is no measured Thai attachment score to report. A count of Parse=None rows indicates how many returned rows lack a parse for the input counted. Such a count gives neither the number of Thai words in that input nor the accuracy of any attachment. Attachment scores require predicted and reference dependencies for the same evaluation material.
An external Thai corpus could support a Mova baseline if it supplied the UD annotations and splits required by the workflow. Its existence alone would not establish that Mova holds it, has trained a model on it, or has measured that model on its development split. The reference word boundaries matter because dependency heads and relations are defined over the annotated words. For example, in แมวกินปลา the reference analysis needs separate word units for แมว, กิน, and ปลา before it can record their dependencies.
Training and evaluation in the multilingual pipeline
Mova’s en crate provides the tree parser and tagger used in its baseline workflow. The commands carry the crate name when used with other languages. English and French have models, en.bin and fr.bin. The language package specification, What every language gets, calls for a common baseline procedure for every language.
| Step | Command or component | Role |
|---|---|---|
| Prepare the training split | en xpos-fill | Fill language-specific part-of-speech tags before training |
| Train | en train | Train the tagger and tree parser on the language’s UD training split |
| Evaluate | en parse-eval | Score the trained model against the reference dependencies in the development split |
| Parse multilingual input | tools/mova-parse | Use the model for the category assigned to each span, when that model is available |
Unlabeled attachment score (UAS) is the proportion of scored words whose predicted head matches the reference head. Labeled attachment score (LAS) is the proportion whose predicted head and dependency relation both match. A correct head with the wrong relation counts toward UAS alone. A correct relation with the wrong head counts toward neither score. Both metrics concern reference dependencies. Script recognition, word segmentation in raw text, frame analysis, and pragmatic interpretation each require their own evaluation.
The baseline uses the training split to fit the model and the development split to score it. Parsing raw multilingual input also requires level 1 to route the span to the intended category, level 2 to have a model for that category, and the parser to receive the word units it needs. For Thai-script input, level 1 assigns other, there is no Thai model, and Thai word tokenization is unavailable. Mova has no measured Thai development UAS or LAS.
Current limits for frames and pragmatics
The Mova components prag and world read English trees for frame, pragmatic, and world analysis. Unparsed Thai rows supply no annotated heads or dependency relations from which these components could read a Thai tree.
| Form | Romanization | Gloss | Translation |
|---|---|---|---|
| ช่วยปิดประตูหน่อย | chuai pit pratu noi | help close door a.little | “Please close the door.” (constructed) |
In this request, ช่วย (chuai, ‘help’) precedes the action ปิดประตู (pit pratu, ‘close the door’), and final หน่อย (noi, ‘a little’) softens the request. The gloss gives the lexical meanings. The translation expresses the request as a whole. Here the requested action is closing the door, and the softening concerns how the speaker makes that request. These observations apply to this construction in its request use.
A Thai dependency baseline would score predictions such as the attachment of ประตู (pratu, ‘door’) in the reference tree. Evaluating the request interpretation would require an analysis of the utterance’s function and of how หน่อย contributes to it. The present tree readers accept English trees. A Thai dependency baseline would supply attachment scores, while processing Thai trees and evaluating Thai requests would require support for those separate tasks.
Squid grammar claims and the implementation queue
Squid reads the manual and records grammatical points as claims. Formalizable claims can enter its implementation queue as rules, closed lists, or statistics. A claim’s presence in the queue indicates that it awaits implementation.
For Thai, the claims relevant to a tokenizer, a tagger, and a UD baseline concern different units and annotations. The manual’s analysis of แมวกินปลา gives the three word units แมว, กิน, and ปลา for that example. Tagging assigns a category to each word in context. Dependency annotation gives the reference head and relation for each word, including the root annotation. A proposed analysis at any of these stages needs evidence appropriate to that stage.
The fact that แมวกินปลา has three words and no written spaces establishes a concrete case that a tokenizer limited to splitting at spaces would miss. A segmentation rule needs to state the input conditions under which it predicts a boundary, the boundary it predicts, and any exceptions. A closed list needs to define the class it enumerates and include every member within that scope. A statistic needs to identify the data and the quantity measured. For a treebank attachment statistic, this includes the evaluation split and the scoring criterion. Mova has no measured Thai treebank baseline.
How Mova handles Thai today
At level 1, tools/langseg assigns language categories to sentences and spans. It handles English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Thai script falls under other. The span assignment at this stage does not supply a Thai word analysis.
At level 2, tools/mova-parse looks for the model for the assigned span category. Thai-script spans are assigned to other, and Mova has no model for th. The # parse comment reports missing models for the categories encountered. Any rows returned for unparsed Thai material have _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, with Parse=None in MISC. The pipeline supplies no Thai word tokenization, tagging, lemmatization, or dependency parsing.
English and French have models, en.bin and fr.bin. The common baseline procedure specified in What every language gets uses en xpos-fill to prepare the UD training split, en train to train the tagger and tree parser, and en parse-eval to measure UAS and LAS on the development split. Mova holds no annotated Thai corpus and has no measured Thai baseline. The prag and world components read English trees and receive no Thai dependency trees from the pipeline.
Squid records grammatical points as claims and queues claims that can be formalized. The manual’s Thai examples are claim evidence for individual examples. The pipeline supplies no Thai annotation for them.
Sources for this chapter
- The Thai examples in this chapter are constructed. The chapter cites no external Thai grammar. See Sources for the manual’s public-domain and open grammar sources.
This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/th/33-thai-in-mova/