Elamur: **Mova** · [Parse](https://mova.elamur.ai/free/en/parse/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/)

[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/languages/th/09-word-classes-and-segmentation/)

[Mova](https://md.mova.elamur.ai/free/en/) / [docs](https://md.mova.elamur.ai/free/en/docs/) / [languages](https://md.mova.elamur.ai/free/en/docs/languages/) / [th](https://md.mova.elamur.ai/free/en/docs/languages/th/) / 9. Word classes and token boundaries

# 9. Word classes and token boundaries

**On this page**

1. [Orthographic spans and syntactic words](#orthographic-spans-and-syntactic-words)
2. [Open classes and grammatical function words](#open-classes-and-grammatical-function-words)
3. [Classifiers, serial verbs and particles as tagging problems](#classifiers-serial-verbs-and-particles-as-tagging-problems)
4. [Distributional tests and context-dependent categories](#distributional-tests-and-context-dependent-categories)
5. [Universal Dependencies tags and morphological features](#universal-dependencies-tags-and-morphological-features)
6. [Segmentation and annotation choices in Thai data](#segmentation-and-annotation-choices-in-thai-data)
7. [How Mova handles Thai tokenization and tagging](#how-mova-handles-thai-tokenization-and-tagging)
8. [Sources for this chapter](#sources-for-this-chapter)

Standard Thai uses spaces to mark some breaks in the text and commonly writes successive words within a clause together. Readers identify words from their forms, their combinations and the context. A Universal Dependencies (UD) analysis makes those boundaries explicit and assigns a part of speech and any applicable morphological features to each syntactic word. It also records the grammatical relations between words. Evidence for these decisions can overlap. For example, a numeral and a classifier form a counting construction whose structure helps locate the word boundaries and identify the function of each word.

## Orthographic spans and syntactic words

A space in Thai can mark a break between clauses or larger units, set off an item in a list, or separate a numeral or an item in another script from surrounding text. A run of characters between spaces is an orthographic span. It can contain several syntactic words, including content words and grammatical markers. Punctuation can also occur within a span. A word can contain several syllables, and the spelling of a single syllable can include signs written on several sides of a consonant. A vowel sign written before a consonant can belong to the same syllable, as เ does in เขา. Thai word segmentation depends on context as well as on recognizing possible word forms (Chormai et al. 2020, pp. 5268–5273).

Thai examples use a broad romanization without tone marks. In the glosses, `1` and `3` indicate first and third person. `CLF` stands for classifier, `COP` for copula, `PROG` for progressive, `NEG` for negation, `Q` for a question particle, `POL` for a politeness particle and `REL` for a relative-clause marker. A period joins parts of a gloss for a single word. A vertical bar in a Thai form marks a proposed word boundary.

| Written form | Proposed words | Romanization | Gloss | Translation |
| --- | --- | --- | --- | --- |
| แม่ซื้อหนังสือสองเล่ม | แม่ \| ซื้อ \| หนังสือ \| สอง \| เล่ม | mae sue nangsue song lem | mother buy book two CLF | ‘Mother bought two books.’ (constructed) |
| เขาไม่อ่านหนังสือ | เขา \| ไม่ \| อ่าน \| หนังสือ | khao mai aan nangsue | 3 NEG read book | ‘They don’t read books.’ (constructed) |
| เขามาไหม | เขา \| มา \| ไหม | khao maa mai | 3 come Q | ‘Are they coming?’ (constructed) |

In the first clause, the object contains three words in the order noun, numeral, classifier. In the second, ไม่ is a separate word that negates the predicate. In the third, ไหม is a separate word that marks a polar question. The romanization `mai` represents both ไม่ and ไหม here. Their spelling, position and function distinguish them. The tense, articles and pronoun choices in an English translation supply no evidence for Thai word boundaries.

The same written sequence can have different boundaries in different contexts. In เด็กคนนี้ตากลม ‘This child has round eyes’, the final sequence is ตา | กลม (taa klom ‘eye round’). In เขานั่งตากลม ‘They sat in the breeze’, it is ตาก | ลม (taak lom ‘be.exposed.to wind’). Both examples are constructed. The noun ตา and the verb ตาก are possible word forms. The construction around the sequence helps determine which one occurs.

Several considerations help distinguish a lexical word from a sequence of words. A conventional name for a kind of thing can have the distribution of a single noun. The ability of a component to take its own modifier, be replaced independently or participate in a productive syntactic pattern is evidence for a boundary. These tests can give different results. A transparent compound can behave as one word even when its components are recognizable. A fixed expression can retain the structure of a phrase. Thai compounds used in naming include forms in which the first element identifies a general kind and the remaining elements specify a subtype (Frankfurter 1900, pp. 28–31).

| Analysis | Thai form with boundaries | Romanization | Gloss | Translation |
| --- | --- | --- | --- | --- |
| A noun used as a unit | รถไฟ | rotfai | train | ‘train’ (constructed) |
| The same noun followed by a property word | รถไฟ \| ใหม่ | rotfai mai | train new | ‘a new train’ (constructed) |
| A noun followed by a verb | รถ \| เสีย | rot sia | vehicle break.down | ‘The car broke down.’ (constructed) |

In รถไฟใหม่, ใหม่ ‘new’ modifies the whole noun รถไฟ ‘train’. In the clause รถเสีย, รถ ‘vehicle’ is the subject of เสีย ‘break down’. The counting phrase หนังสือสองเล่ม ‘two books’ shows why the ability to fill one syntactic position is insufficient on its own as a word test. The phrase fills one object position and contains three words.

In CoNLL-U, ordinary rows with integer IDs represent syntactic words or punctuation. A range row represents one surface token analyzed as two or more syntactic words. Thai segmentation can establish several surface tokens directly within a single unspaced stretch. For example, the five proposed words in แม่ซื้อหนังสือสองเล่ม can each have an integer-ID row. When the next surface token follows immediately in the text, CoNLL-U records the adjacency with `SpaceAfter=No` in the preceding surface token's `MISC` field. If that surface token has a range row, the spacing annotation belongs on the range row (de Marneffe et al. 2021, pp. 255–308; Zeman et al. 2017, pp. 1–19).

## Open classes and grammatical function words

Nouns name entities, kinds and concepts. Common nouns can head referring expressions and supply the noun being counted in a numeral–classifier construction. Proper names identify particular entities and can contain several words. Ordinary nouns have no obligatory inflections for number, gender or case. A bare common noun can refer to one entity, several entities or a kind, according to its lexical meaning and context. Counting constructions, group expressions and other modifiers can make quantity explicit. A word added to specify sex contributes lexical meaning (Cartwright 1906, pp. 67–68).

Verbs head predicates of action, experience, state and relation. The arguments a verb takes depend on its sense and construction. Thai allows a subject or object to be left unexpressed when its reference is recoverable from context. A missing object in a particular clause therefore gives limited evidence about the verb's valency. The person and number of the subject do not change the form of the verb. Negation, time, aspect and modality can be conveyed by separate words or by context. A sequence of predicate-like forms can express two actions, a single event with a direction or result, or a predicate accompanied by a grammatical marker. The contribution of each form to the construction is evidence for its tag.

Property words express such meanings as size, quality and age. A property word can follow a noun in a nominal expression or serve as the main predicate without an overt copula. A classifier can intervene between the noun and the property word, as in บ้านหลังใหญ่ below. Many property words combine with degree expressions. These patterns overlap with those of some verbs, so degree modification and predicate use alone leave the choice of tag open. The normal order for a freely added property modifier places the noun before the modifier. Fixed expressions and learned compounds can have a different internal order (Cartwright 1906, pp. 90–93).

Adverbs modify predicates, properties or clauses. Time, place and manner describe the function of an adverbial, which can be a word or a larger phrase. In ทุกวัน ‘every day’, วัน ‘day’ retains its nominal category while the phrase locates a recurring event in time. A place expression can contain an adposition and a nominal complement. Degree words can modify a property or a predicate. Cartwright's groupings by time, place and manner include both individual words and larger expressions (Cartwright 1906, §§ “Adverbs of Time,” “Adverbs of Place” and “Adverbs of Manner”).

| Construction | Thai form | Romanization | Gloss | Translation |
| --- | --- | --- | --- | --- |
| Property modifying a nominal expression with a classifier | บ้านหลังใหญ่ | baan lang yai | house CLF big | ‘a big house’ (constructed) |
| Property as the predicate | บ้านนี้ใหญ่ | baan nii yai | house this big | ‘This house is big.’ (constructed) |
| Degree modifying a property | บ้านนี้ใหญ่มาก | baan nii yai maak | house this big very | ‘This house is very big.’ (constructed) |
| A time phrase modifying an event | เขามาทุกวัน | khao maa thuk wan | 3 come every day | ‘They come every day.’ (constructed) |

Pronouns head referring expressions and can stand on their own as arguments. Personal forms can convey the speaker's relation to the addressee or referent. Social role, familiarity and register affect the choice of form. Names, titles and kinship terms can also refer to the speaker or addressee. First- or second-person reference alone leaves the word class open. The analysis depends on whether the expression retains the distribution of a name or noun and whether the annotation scheme recognizes a conventionalized pronoun use (Cartwright 1906, § “The Pronouns”; Frankfurter 1900, pp. 26–27).

| Use | Thai form | Romanization | Gloss | Translation |
| --- | --- | --- | --- | --- |
| First-person subject | ผมอ่าน | phom aan | 1 read | ‘I’m reading.’ (constructed) |
| Demonstrative with a noun and classifier | หนังสือเล่มนี้ | nangsue lem nii | book CLF this | ‘this book’ (constructed) |
| Independent demonstrative | นี่คือหนังสือ | nii khue nangsue | this COP book | ‘This is a book.’ (constructed) |
| Possessive phrase | หนังสือของผม | nangsue khong phom | book of 1 | ‘my book’ (constructed) |

Demonstratives identify a referent in context. In หนังสือเล่มนี้, นี้ modifies the nominal expression and is a candidate for `DET`. In นี่คือหนังสือ, นี่ stands on its own as the subject and is a candidate for `PRON`. The broad romanization gives both forms as `nii`, while the Thai spellings show their tone-mark difference. In หนังสือของผม, ของ introduces the possessor and ผม has the same form as the subject pronoun in ผมอ่าน. A bare nominal can have a definite reading in context. A demonstrative makes the intended referent more specific. Thai has no obligatory article corresponding to English *the* (Cartwright 1906, pp. 91–93).

A cardinal numeral gives a numerical value. In หนังสือสองเล่ม ‘two books’, สอง supplies the count and เล่ม is the classifier. Other quantifying words express totality, distribution or an indefinite amount. In ทุกวัน ‘every day’, ทุก distributes the reference over days and is a candidate for `DET`. In ใหญ่มาก ‘very big’, มาก modifies degree and is a candidate for `ADV`. The expression being quantified or modified helps distinguish these uses.

Adpositions introduce nominal expressions in relations such as location, source, goal, association and possession. Coordinating conjunctions link units such as words, phrases or clauses. Subordinating conjunctions introduce dependent clauses. Some forms have both a nominal-linking use and a clause-linking use. In the examples below, เพราะ introduces the noun ฝน in one construction and the clause ฝนตก in the other. The form and the causal meaning are shared. The internal structure of the complement distinguishes the uses. Cartwright's account includes markers of location, time, accompaniment, exception and purpose, several of which occur in more than one grammatical construction (Cartwright 1906, § “Prepositions Conjunctions Interjections”).

| Use | Thai form | Romanization | Gloss | Translation |
| --- | --- | --- | --- | --- |
| Adposition with a place expression | เขาอยู่ในบ้าน | khao yuu nai baan | 3 stay in house | ‘They’re in the house.’ (constructed) |
| Coordination of nouns | พ่อและแม่มา | pho lae mae maa | father and mother come | ‘Father and Mother came.’ (constructed) |
| Adposition introducing a nominal cause | เขากลับเพราะฝน | khao klap phro fon | 3 return because.of rain | ‘They went back because of the rain.’ (constructed) |
| Subordination of a clause | เขากลับเพราะฝนตก | khao klap phro fon tok | 3 return because rain fall | ‘They went back because it was raining.’ (constructed) |
| Interjection before a clause | โอ๊ย เจ็บ | oi chep | ouch hurt | ‘Ouch, that hurts!’ (constructed) |

Auxiliaries can contribute aspect or modality to a predicate. Some particles mark clause type, as ไหม does in เขามาไหม ‘Are they coming?’. Others express stance or politeness. Interjections such as โอ๊ย can stand as utterances and can also occur beside a clause. Sentence-final position accommodates particles, interjections after a break and ordinary constituents of the predicate. The scope of the item, its contribution to the utterance and its ability to stand independently help distinguish these uses.

## Classifiers, serial verbs and particles as tagging problems

### Classifiers

In a common cardinal construction with an overt counted noun, the order is noun, numeral, classifier. The classifier supplies the unit under which the noun is counted. Its selection depends on the noun’s conventional classification and sometimes on how the speaker construes the unit. With หนึ่ง ‘one’, the order noun, classifier, numeral is also possible, as in หนังสือเล่มหนึ่ง ‘a book’ or ‘one book’, depending on context.

A demonstrative can follow a classifier without a numeral. It can also follow certain nouns directly, as in บ้านนี้ ‘this house’. The cardinal pattern alone cannot determine where a classifier is required in a demonstrative phrase. A numeral–classifier or classifier–demonstrative expression can stand without the counted noun when the intended referent or kind is recoverable. Early descriptions recognize the separate role of classifying words in nominal expressions (Cartwright 1906, pp. 66–68; Frankfurter 1900, pp. 26–27).

| Construction | Thai form with relevant boundaries | Romanization | Gloss | Translation |
| --- | --- | --- | --- | --- |
| Counting people | นักเรียน \| สาม \| คน | nakrian saam khon | student three CLF | ‘three students’ (constructed) |
| Counting books | หนังสือ \| สอง \| เล่ม | nangsue song lem | book two CLF | ‘two books’ (constructed) |
| Classifier before ‘one’ | หนังสือ \| เล่ม \| หนึ่ง | nangsue lem nueng | book CLF one | ‘a book’ (constructed) |
| Classifier with a demonstrative | หนังสือ \| เล่ม \| นี้ | nangsue lem nii | book CLF this | ‘this book’ (constructed) |
| Counted noun understood | สอง \| เล่ม | song lem | two CLF | ‘two copies’ (constructed) |
| Classifier and demonstrative with noun understood | เล่ม \| นี้ | lem nii | CLF this | ‘this one’ (of books, constructed) |
| Ordinary nominal use of คน | คน \| มา \| แล้ว | khon maa laeo | person come already | ‘Someone has arrived.’ (constructed) |
| Container as a measure | น้ำ \| สอง \| แก้ว | nam song kaeo | water two glass | ‘two glasses of water’ (constructed) |
| Container as the counted noun | แก้ว \| สอง \| ใบ | kaeo song bai | glass two CLF | ‘two drinking glasses’ (constructed) |

In นักเรียนสามคน, คน supplies the counting unit for นักเรียน. In คนมาแล้ว, คน is the subject noun. The two examples with แก้ว show why position alone is insufficient. In น้ำสองแก้ว, แก้ว supplies a container-based measure for น้ำ. In แก้วสองใบ, แก้ว names the objects counted and ใบ is their classifier. The annotation guidelines need to specify whether and when a measure use receives the same analysis as a classifier use.

UD’s `clf` relation attaches a classifier to the numeral in a numeral–classifier construction analyzed with the numeral as head. `clf` belongs in the dependency column. The classifier still needs a UPOS category under the chosen Thai guidelines and may receive a nominal tag. In a construction without an overt numeral, the numeral-headed analysis supplies no attachment site. The annotation guidelines need to specify the attachment in that construction (de Marneffe et al. 2021, pp. 255–308).

### Serial verbs and auxiliary uses

Thai can place predicates together without an overt conjunction. A sequence can express motion and direction, action and purpose, or linked actions with a shared participant. The absence of a conjunction alone does not establish a serial-verb analysis. Check how the predicates share participants and whether an argument belongs to one predicate or to the sequence as a whole. In a motion–purpose sequence, the purpose can be stated even if it is never achieved.

A verb may also have a grammatical use that contributes aspect, modality or phase to another predicate. An argument selected by the form, independent modification and a recoverable event or state support a lexical reading. An omitted argument is weak evidence for an auxiliary analysis because a lexical predicate can have an understood argument. A contribution confined to aspect or modality, with the other predicate supplying the main lexical content, supports an auxiliary analysis if the treebank recognizes that use. Position helps distinguish particular constructions, and no single test decides every sequence.

| Use | Thai form with boundaries | Romanization | Gloss | Translation |
| --- | --- | --- | --- | --- |
| Direction following a manner of motion | เขา \| เดิน \| ไป | khao doen pai | 3 walk go | ‘They walked away.’ (constructed) |
| Motion followed by purpose | เขา \| ไป \| ซื้อ \| ยา | khao pai sue yaa | 3 go buy medicine | ‘They went to buy medicine.’ (constructed) |
| Motion verb with overt goal | เขา \| ไป \| โรงเรียน | khao pai rongrian | 3 go school | ‘They went to school.’ (constructed) |
| Progressive marker before a predicate | เขา \| กำลัง \| อ่าน | khao kamlang aan | 3 PROG read | ‘They’re reading.’ (constructed) |
| Lexical noun with the same spelling | เขา \| มี \| กำลัง | khao mii kamlang | 3 have strength | ‘They have strength.’ (constructed) |
| Ability following a predicate | เขา \| อ่าน \| ได้ | khao aan dai | 3 read can | ‘They can read.’ (constructed) |
| Opportunity taken before a predicate | เขา \| ได้ \| อ่าน | khao dai aan | 3 get read | ‘They got to read.’ (constructed) |
| Lexical verb with the same spelling | เขา \| ได้ \| เงิน | khao dai ngoen | 3 receive money | ‘They received money.’ (constructed) |

In ไปซื้อยา, the subject is understood as both the mover and the intended buyer, and ยา is the object of ซื้อ. The motion can occur even if the purchase falls through. In อ่านได้, ได้ follows the predicate and can express ability. In ได้อ่าน, it precedes the predicate and can report that the subject got to read. In ได้เงิน, ได้ selects เงิน as its object and expresses receipt. Tagging depends on which construction the occurrence belongs to.

In UD, an auxiliary with the `aux` relation depends on the lexical predicate. Two lexical verbs can both bear `VERB`. Their dependency relation requires a separate decision about the linkage between the predicates under the chosen annotation guidelines (de Marneffe et al. 2021, pp. 255–308).

### Particles and other short grammatical words

ไม่ marks negation before a predicate or another element in the predicate phrase. Identify what it negates. In มาไม่ได้ ‘cannot come’, ไม่ precedes the ability marker ได้. In ไม่ได้มา ‘did not come’, ไม่ได้ precedes the lexical verb. Clause-final ไหม can mark a polar question. A politeness form can follow it at the end of the utterance, as in ไหมครับ or ไหมคะ. In the polite forms illustrated here, ค่ะ ends a statement and คะ can follow the question particle.

Forms expressing completion, change of state, emphasis or an appeal to the addressee can have their own distributions within and at the end of the clause. Identify the predicate or clause over which the form takes scope. At a clause boundary, the same spelling can contribute to the interpretation of the preceding predicate or link it to the following clause.

| Use | Thai form with boundaries | Romanization | Gloss | Translation |
| --- | --- | --- | --- | --- |
| Preverbal negation | เขา \| ไม่ \| มา | khao mai maa | 3 NEG come | ‘They aren’t coming.’ (constructed) |
| Negation of ability | เขา \| มา \| ไม่ \| ได้ | khao maa mai dai | 3 come NEG can | ‘They can’t come.’ (constructed) |
| Negated occurrence | เขา \| ไม่ \| ได้ \| มา | khao mai dai maa | 3 NEG get come | ‘They didn’t come.’ (constructed) |
| Polar question and politeness | คุณ \| มา \| ไหม \| ครับ | khun maa mai khrap | 2 come Q POL | ‘Are you coming?’ (constructed) |
| Polar question with คะ | คุณ \| มา \| ไหม \| คะ | khun maa mai kha | 2 come Q POL | ‘Are you coming?’ (constructed) |
| Statement with ค่ะ | ฝน \| ตก \| ค่ะ | fon tok kha | rain fall POL | ‘It’s raining.’ (constructed) |
| Completion at the end of a clause | เขา \| มา \| แล้ว | khao maa laeo | 3 come already | ‘They’ve arrived.’ (constructed) |
| Change of state with a negated predicate | เขา \| ไม่ \| อยู่ \| แล้ว | khao mai yuu laeo | 3 NEG be.present already | ‘They’re no longer here.’ (constructed) |
| Sequence of events | เขา \| กิน \| ข้าว \| แล้ว \| กลับ \| บ้าน | khao kin khao laeo klap baan | 3 eat rice then return home | ‘They ate and then went home.’ (constructed) |
| Nominal use of ไหม | เขา \| ใช้ \| ไหม \| ทอ \| ผ้า | khao chai mai tho phaa | 3 use silk weave cloth | ‘They use silk to weave cloth.’ (constructed) |
| Standalone polite reply | ครับ | khrap | POL | ‘Yes.’ (in reply to คุณมาไหมครับ, constructed) |

In the arrival example, แล้ว marks the arrival as realized. In the example with อยู่, it marks a change to the state expressed by ไม่อยู่. In the meal example, the following predicate กลับบ้าน supports the sequential reading of แล้ว. A treebank can distinguish aspectual, adverbial and connecting uses by specifying their scope and attachment. Position at the end of a clause supplies only part of the evidence.

In ใช้ไหมทอผ้า, ไหม names the material used and is the object of ใช้. After a complete proposition and before a politeness form, it can mark a question about that proposition. An occurrence of ครับ appended to a question marks politeness. As a whole reply, ครับ can signal assent or acknowledgement, with its interpretation supplied by the preceding turn.

## Distributional tests and context-dependent categories

Thai has recurring word-class patterns even though many category contrasts have no visible inflection. Frankfurter stresses that a form’s role becomes clear in a sentence, and Cartwright identifies distributions that recur across classes, such as nominal modifications and postnominal properties. Together these observations motivate testing a form in several contexts and assigning a category to the occurrence under analysis (Frankfurter 1900, pp. 25–28; Cartwright 1906, pp. 66–68, 90–93).

| Test | Evidence it provides | Condition on its use |
| --- | --- | --- |
| Heading a phrase that denotes a counted or independently modified referent | Supports a nominal analysis | A counted phrase can omit its noun, so the visible head may be a classifier or another remaining word |
| Taking an object or another selected argument | Supports a lexical predicate analysis | A relational noun or adposition can also take a complement, so identify the type of complement and the construction |
| Serving as the main predicate | Identifies a predicative use | Properties can predicate directly, so a predicate function alone cannot separate `ADJ` from `VERB` |
| Taking a degree modifier or comparative expression | Supports a gradable reading | Gradable states and some actions admit degree too, so also examine attributive distribution and valency |
| Introducing a nominal or clausal dependent | Helps distinguish adpositional and clause-marking uses | A clause can have an understood subject, and a noun can be followed by a predicate inside its own modifier. Establish the structure of the dependent separately |
| Standing alone in an argument position | Supports an independent nominal or pronominal use | Ellipsis can leave a determiner, numeral or classifier visible, so check what content is recoverable |
| Appearing at an utterance edge and taking scope over the clause | Supports a clause-particle reading | A final lexical word can belong to the predicate or an argument, and a connector can stand between two clauses |
| Allowing insertion between components or replacement of a component | Supports a syntactic boundary when the construction retains its structure and interpretation | A fixed phrase may resist insertion while retaining several words, so also examine its internal syntax |

The adpositional and nominal uses of ของ illustrate the complement test. In the first example it links a possessor to a possessed noun. In the second it heads the object of a verb and takes a property modifier. ที่ illustrates another contrast. As a location marker it introduces a nominal expression. As a relative marker it introduces a clause that modifies a noun. In the object relative, แม่ is the overt subject and the book is understood as the object of อ่าน. In the subject relative, the child is understood as the subject of อ่าน and หนังสือ is its overt object.

| Use | Thai form with boundaries | Romanization | Gloss | Translation |
| --- | --- | --- | --- | --- |
| Possessive linker | หนังสือ \| ของ \| แม่ | nangsue khong mae | book of mother | ‘Mother’s book’ (constructed) |
| Common noun | เขา \| ซื้อ \| ของ \| ใหม่ | khao sue khong mai | 3 buy thing new | ‘They bought something new.’ (constructed) |
| Location marker | เขา \| ทำงาน \| ที่ \| บ้าน | khao thamngaan thii baan | 3 work at home | ‘They work at home.’ (constructed) |
| Object relative | หนังสือ \| ที่ \| แม่ \| อ่าน | nangsue thii mae aan | book REL mother read | ‘the book Mother reads’ (constructed) |
| Subject relative | เด็ก \| ที่ \| อ่าน \| หนังสือ | dek thii aan nangsue | child REL read book | ‘the child who reads books’ (constructed) |

The position of ที่ is the same in both relatives, while the role understood for the modified noun differs. A relative-pronoun analysis needs evidence that ที่ itself fills an argument or adjunct role inside the clause. English translation by *who*, *that*, *which* or no overt marker provides little evidence for the Thai category. In a UD analysis where ที่ is a subordinating marker, it depends on the relative predicate with `mark`. The relative predicate in turn depends on the modified noun, with `acl:relcl` where the treebank uses that subtype (de Marneffe et al. 2021, pp. 255–308).

Some strings remain ambiguous after the words have been segmented. บ้านใหม่, romanized *baan mai* and glossed `house new`, can mean ‘a new house’ in a phrase or ‘The house is new’ as a clause (constructed). In เขาซื้อบ้านใหม่ ‘They bought a new house’ (constructed), the object phrase บ้านใหม่ has บ้าน as its head and ใหม่ as a modifier. As an answer to บ้านเป็นยังไง ‘What is the house like?’ (constructed), บ้านใหม่ can be read as a clause with ใหม่ as predicate and บ้าน as subject. The change in syntactic dependency can occur with the same property-word tag. Whole-sentence context, discourse and, in speech, phrasing can resolve the reading. When the available evidence permits both, any single tree represents a choice of interpretation.

Other strings admit competing segmentations as well as competing tags. In เอาผ้าไปตากลม, ตาก is a predicate meaning ‘air’ or ‘put out to dry’. ผ้า is the entity put out to air, and ลม names what the cloth is exposed to. In เด็กตากลมยิ้ม, ตา is the noun ‘eye’ and กลม is the property ‘round’. The same substring ตากลม has a boundary after ตาก in the first sentence and after ตา in the second.

| Thai form | Proposed words | Romanization | Gloss | Translation |
| --- | --- | --- | --- | --- |
| เอาผ้าไปตากลม | เอา \| ผ้า \| ไป \| ตาก \| ลม | ao phaa pai taak lom | take cloth go air wind | ‘Take the cloth out to air.’ (constructed) |
| เด็กตากลมยิ้ม | เด็ก \| ตา \| กลม \| ยิ้ม | dek taa klom yim | child eye round smile | ‘The round-eyed child smiles.’ (constructed) |

The matrix predicate in the second example is ยิ้ม ‘smile’. The eye description helps identify the child. In the first, the clothing and motion context supports the airing interpretation. A lexicon can supply both sets of candidate words. The surrounding grammar helps choose between them (Chormai et al. 2020, pp. 5268–5273).

## Universal Dependencies tags and morphological features

UD records several kinds of information about a syntactic word. `UPOS` records its universal part of speech. `XPOS` can record a language- or treebank-specific tag. `FEATS` records grammatical features as attribute–value pairs. In a basic dependency tree, `HEAD` identifies the word’s head and `DEPREL` names its relation to that head. A local tagset can distinguish types of classifiers or particles even though there is no dedicated universal classifier tag and `PART` covers several kinds of particles (de Marneffe et al. 2021, pp. 255–308).

The table gives the complete universal UPOS inventory. The Thai applications describe evidence for assigning a tag to a word in context. For categories with more than one defensible analysis, a treebank’s guidelines determine which analysis its annotators apply.

| UPOS | Application to Thai |
| --- | --- |
| `ADJ` | A property word with adjectival distribution under the treebank’s criteria. Thai property words can modify a noun or predicate directly. The absence of a copula is compatible with both an adjectival and a stative verbal analysis. |
| `ADP` | A marker of a nominal dependent, including a preposition in a spatial or possessive construction. Check that it introduces a nominal expression in the occurrence being tagged. |
| `ADV` | A word with an adverbial use, such as a degree modifier. An adjunct can also consist of a noun, such as a time noun, or a phrase with its own internal syntax. |
| `AUX` | A grammatical auxiliary accompanying a predicate, or a copula in a construction analyzed with a nonverbal predicate as head. A lexical occurrence of the same form receives the tag appropriate to that occurrence. |
| `CCONJ` | An overt coordinator linking units of parallel syntactic status. A form that introduces an accompaniment phrase can instead function as an adposition. |
| `DET` | A demonstrative or other determiner that specifies the reference or quantification of a nominal expression under the annotation scheme. A demonstrative used independently as a pronoun can receive `PRON`. |
| `INTJ` | A word functioning as an interjection, such as an exclamation of pain. A clause-final form integrated into a host clause as a discourse or politeness marker requires a separate analysis. |
| `NOUN` | A common noun, including a title or kinship term in nominal use. A treebank can also assign `NOUN` to a noun-like classifier in its counting use. |
| `NUM` | A number in numerical use, including a cardinal written in words or digits. The tags within an ordinal expression depend on the formation and distribution of its component words. |
| `PART` | A grammatical particle under the treebank’s criteria, such as a clause-final polar question marker. Its scope and distribution help distinguish it from an auxiliary, adverb or conjunction. |
| `PRON` | A personal pronoun or other pronominal word that fills a nominal position. An interrogative pronoun such as ใคร ‘who’ can fill an argument position in its clause. |
| `PROPN` | A proper name or a word within a name under the scheme’s treatment of multiword names. A generic class word that accompanies a name can retain `NOUN`. |
| `PUNCT` | A mark functioning as punctuation and tokenized separately. The treatment of a mark used within an abbreviation or to signal repetition follows the relevant tokenization policy. |
| `SCONJ` | A marker that introduces a subordinate clause and has no independent syntactic role inside that clause. |
| `SYM` | A token used as a symbol, such as a standalone currency or mathematical sign. |
| `VERB` | A lexical verb, including a lexical verb in a series and a stative form with verbal distribution under the guidelines. A lexical verb can also occur in a dependent clause or as a modifier. |
| `X` | A token to which the guidelines assign no more specific universal category, such as certain uninterpretable material. A recognizable loan can take the ordinary tag for its use. |

Features describe grammatical properties of the annotated word. A feature can distinguish invariant words, as person does for some pronouns, or distinguish uses of the same written form. UD supplies a shared inventory. Each treebank documents the distinctions it applies and the words that bear them. In CoNLL-U, `_` represents an empty `FEATS` field and supplies no feature value. The following are possible applications to Thai (de Marneffe et al. 2021, pp. 255–308).

| Feature or value | Evidence relevant to Thai annotation |
| --- | --- |
| `Person=1`, `Person=2`, `Person=3` | Grammatical reference to the speaker, the addressee or a third person in a pronoun’s particular use. A noun used to address a person retains its nominal analysis if it has no grammatical person distinction in that use. |
| `PronType=Prs`, `PronType=Dem`, `PronType=Int` | A personal, demonstrative or interrogative word of the relevant class under the scheme. A polar question particle places the proposition in question and supplies no interrogative argument or modifier. |
| `Number=Sing`, `Number=Plur` | A grammatical number distinction borne by the token, where the scheme records it. The count expressed by a numeral establishes the quantity of the phrase. The same invariant noun can occur at different quantities. |
| `NumType=Card`, `NumType=Ord` | A cardinal or ordinal value on the word that bears it under the scheme. In a multiword ordinal, assign features according to the analysis of each word. |
| `Polarity=Neg` | Negative polarity on a word that expresses grammatical negation, if the scheme records it there. In ไม่อ่าน ‘does not read’, the negative contribution comes from ไม่. |
| `Aspect` | A grammatical aspect distinction encoded on the word that expresses it, if the scheme records that distinction. A reading of completion or ongoing activity can also arise from the rest of the clause or its context. |
| `Abbr=Yes`, `Foreign=Yes` | An abbreviation or foreign material as defined by the guidelines. For a loanword, use its status in the text under those guidelines. |

In ผมอ่าน ‘I read’, ผม can receive `PRON` with `Person=1` and `PronType=Prs`. In ตัดผม ‘cut hair’, ผม has a lexical noun reading. In หนังสือสองเล่ม ‘two books’, สอง can receive `NUM` with `NumType=Card`. The noun หนังสือ has the same form in หนังสือหนึ่งเล่ม ‘one book’. In บ้านนี้ ‘this house’, a determiner analysis of นี้ can record `PronType=Dem`. These examples are constructed. Thai verbs have no subject agreement endings that mark person or number. Common nouns have no ordinary case or gender endings. A noun’s syntactic role can be recorded in its dependency relation even when the noun bears no case feature (Cartwright 1906, pp. 66–68; de Marneffe et al. 2021, pp. 255–308).

A dependency relation distinguishes uses that share a UPOS tag. In ในบ้าน ‘in the house’, บ้าน heads the nominal expression and ใน attaches to it with `case`. A subordinating marker attaches to the head of its clause with `mark`. A coordinator normally attaches to the following conjunct with `cc`. In a direct property predication such as บ้านใหญ่ ‘the house is big’, on the clause reading, ใหญ่ heads the clause and บ้าน attaches as `nsubj`. If an overt copula occurs in a construction with a nonverbal predicate as head, it attaches with `cop`. Direct predication with no overt copula requires no copula token. In a counting construction analyzed with `clf`, the relation labels the classifier’s function. For example, in หนังสือสองเล่ม, เล่ม can attach to สอง with `clf` and carry the UPOS assigned to classifiers by the treebank’s guidelines (de Marneffe et al. 2021, pp. 255–308).

## Segmentation and annotation choices in Thai data

A Thai segmentation scheme has to state its unit of annotation. A dictionary can store a whole expression for lookup. A UD tree gives each independently analyzed syntactic word its own word ID. An unspaced Thai span can contain several such words, and a multiword name can denote one entity while containing several words. Sentence boundaries, spaces in the source, lookup units and syntactic word boundaries serve different purposes. A reference used to evaluate segmentation needs a consistent policy for each relevant boundary (Chormai et al. 2020, pp. 5268–5273; Zeman et al. 2017, pp. 1–19).

| Item | Evidence to consider | Consequence for annotation |
| --- | --- | --- |
| Lexical compound | Conventional meaning, distribution as a unit, and whether individual components can take dependents or be independently modified in this use | A one-word analysis gives the compound one word ID and one tag. A syntactic analysis of several words gives each word a tag and records their internal dependencies. |
| Proper name | The extent of the conventional name, the function of any title or administrative term, and the segmentation of the name itself | An entity boundary can span several tokens. An accompanying generic term can receive its own tag and relation. |
| Numeral expression | Whether the value is written as one digit string or expressed by several syntactic words, and whether internal signs serve as decimal or grouping marks | The scheme defines which signs belong inside a numeral token. The written forms and their analysis are recorded independently of the computed value. |
| Noun, numeral and classifier | Substitution of nouns, values and compatible classifiers, and the scope of the numeral and classifier | In a productive counting construction, each word is identifiable even when written adjacent to the others. Dependency annotation records the classifier’s relation. |
| Grammatical sequence | Productivity, scope, attachment and whether the words make distinct grammatical contributions | Words independently analyzed in the syntax receive separate IDs even when the script has no boundary between them. |
| Repetition | Whether repetition is written out or represented by ๆ, and the extent of the repeated material | The scheme specifies how to segment and tag the written mark and how to represent its scope. An expanded reading can be recorded separately from the written form. |
| Abbreviation and punctuation | Whether the sign belongs to a conventional abbreviated form or functions as punctuation in the sentence | The scheme specifies which marks are internal to the abbreviation and which receive their own token. |

| Thai form | Romanization | Gloss | Translation | Annotation issue |
| --- | --- | --- | --- | --- |
| แมว ๒ ตัว | maeo song tua | cat two CLF | ‘two cats’ (constructed) | The segmentation is แมว / ๒ / ตัว. The digit ๒ has the value two, and the classifier is a separate word. |
| แมวสองตัว | maeo song tua | cat two CLF | ‘two cats’ (constructed) | The segmentation is แมว / สอง / ตัว. Spelling the numeral out and omitting the spaces gives the same counting construction. |
| เด็กๆ มาแล้ว | dek dek maa laeo | child~REP come already | ‘The children have arrived.’ (constructed) | The romanization gives the expanded reading. The written form uses ๆ, with scope over เด็ก. |
| เขามาไหม? | khao maa mai | 3 come Q | ‘Are they coming?’ (constructed) | The segmentation is เขา / มา / ไหม / ?. The question particle and the question mark are separate tokens. |

The slashes in the table show proposed boundaries. `CLF` glosses a classifier, `REP` repetition, `3` third person and `Q` a question particle. The group reading of เด็กๆ follows from nominal repetition in context. Repetition can have other functions in other environments. For each use, the scheme specifies how it represents the written form and what material the mark applies to. A plain reading expansion such as dek dek belongs in the romanization or another annotation field that permits it. Preserve the difference between ๒ and สอง in the written forms of the counting examples. In CoNLL-U, `SpaceAfter=No` on a surface token records that it is immediately followed by the next token in the source sentence.

Context can resolve different divisions of the same letters. In เด็กตากลม ‘a child with round eyes’, ตา ‘eye’ and กลม ‘round’ describe the child’s eyes. In อย่าออกไปตากลม ‘don’t go out and expose yourself to the wind’, ตาก ‘be exposed’ and ลม ‘wind’ divide the same written span at a different position. Both examples are constructed. A conventional compound such as รถไฟ ‘train’ can receive one word ID in a scheme that treats it as a lexical word. The scheme needs a consistent policy for cases where context and syntax still leave the division open.

For evaluation from raw text, align the system’s word spans against the reference in the same source passage. A system that joins สอง and ตัว has one word where the reference has two, so a tag or dependency at that position cannot be compared as if the words aligned. A misplaced sentence boundary can also change the candidate heads and dependents available to the parser. Evaluation with reference word or sentence boundaries supplied answers a different question from evaluation in which the system must find those boundaries. The evaluation protocol needs to state which boundaries are supplied and how it scores words and dependencies when boundaries differ (Zeman et al. 2017, pp. 1–19).

Treebank guidelines also need stable conventions for cases where the syntactic interpretation leaves the annotation open. Examples include the UPOS of a noun-like classifier, the treatment of certain predicative properties, and the boundary between lexical and auxiliary uses in recurrent verb sequences. Recording these conventions makes observed disagreements interpretable, whether they concern the segmentation, the grammatical analysis or the choice of tag for an agreed analysis.

## How Mova handles Thai tokenization and tagging

`tools/mova-parse` runs language identification before parsing. At level 1, `tools/langseg` assigns language labels to sentences and spans. Thai script falls under `other` at this level. At level 2, `tools/mova-parse` uses a model for the span’s language when one exists. Thai (`th`) has no level-2 model. For a span without a model, the `# parse` comment reports the missing model. Its output tokens have `_` in `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD` and `DEPREL`, and `Parse=None` in `MISC`. The fallback output supplies no Thai word segmentation, lemmatization, tagging or dependency analysis.

The baseline in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) uses the `en` crate. After `en xpos-fill`, `en train` trains a tree parser and tagger on the language’s UD training split. `en parse-eval` evaluates the trained parser on the development split and reports unlabeled and labeled attachment scores (UAS and LAS). Mova holds no annotated Thai corpus and has no measured Thai treebank baseline. `prag` and `world` read English trees.

Squid reads the manual’s grammatical points as claims. Formalizable rules and closed lists can enter its implementation queue. A queued claim records a rule for implementation. Mova does not implement the Thai rules described in this chapter.

## Sources for this chapter

- Cartwright, Basil Osborn. 1906. *An elementary hand-book of the Siamese language*. Public domain in the EU and Ukraine under the life-plus-70-year term. Cartwright died in 1928, as recorded by the Internet Archive. [Internet Archive, 1906 edition](https://archive.org/details/cu31924009746227)
- Frankfurter, Oskar. 1900. *Elements of Siamese Grammar with Appendices*. Public domain in the EU and Ukraine under the life-plus-70-year term. Frankfurter died in 1922. The Internet Archive record lists `possible-copyright-status` as `NOT_IN_COPYRIGHT`. [Wikidata record](https://www.wikidata.org/wiki/Q2033663) · [Internet Archive, 1900 edition](https://archive.org/details/elementssiamese00frangoog)
- Chormai, Pattarawat, Ponrawee Prasertsom, Jin Cheevaprawatdomrong, and Attapol T. Rutherford. 2020. “AttaCut: A Fast and Accurate Neural Thai Word Segmenter.” *Proceedings of the 28th International Conference on Computational Linguistics*, 5268–5273. International Committee on Computational Linguistics. Describes AttaCut and its evaluation as a Thai word segmenter. Listed as CC BY 4.0. Library verification pending. No library copy is held.
- de Marneffe, Marie-Catherine, Christopher D. Manning, Joakim Nivre, and Daniel Zeman. 2021. “Universal Dependencies.” *Computational Linguistics* 47(2), 255–308. Describes the Universal Dependencies annotation framework. Listed as CC BY 4.0. Library verification pending. No library copy is held. [Article](https://doi.org/10.1162/coli_a_00402)
- Zeman, Daniel, et al. 2017. “CoNLL 2017 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies.” *Proceedings of the CoNLL 2017 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies*, 1–19. Vancouver, Canada. Association for Computational Linguistics. Describes the shared task and its Parallel Universal Dependencies data. Listed as CC BY 4.0. Library verification pending. No library copy is held. [Paper](https://doi.org/10.18653/v1/K17-3001)

The Universal Dependencies documentation lists the universal part-of-speech tags and morphological features. The CoNLL-U specification defines how the format records syntactic words and multiword tokens. The Thai PUD documentation identifies the Thai treebank and reports its annotation inventory. [Universal POS tags](https://universaldependencies.org/u/pos/) · [Morphological features](https://universaldependencies.org/u/feat/) · [CoNLL-U format](https://universaldependencies.org/format.html) · [Thai PUD](https://universaldependencies.org/treebanks/th_pud/index.html)

- [← previous 8. Earlier Thai and literary forms](https://md.mova.elamur.ai/free/en/docs/languages/th/08-earlier-thai-and-literary-forms/)
- [next → 10. Nouns and nominal phrases](https://md.mova.elamur.ai/free/en/docs/languages/th/10-nouns-and-nominal-phrases/)
- [↑ back to Thai (th) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/th/)

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://mova.elamur.ai/sitemap.xml) · [llms.txt](https://mova.elamur.ai/llms.txt)
