NaNoBotCo commited on
Commit
ec1e6a2
·
verified ·
1 Parent(s): 6f8e862

Thai Roots: build from nanobotco.github.io/thairoots

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/places.jsonl filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Thai Roots · รากศัพท์ — dataset
2
+ https://huggingface.co/datasets/NaNoBotCo/thai-roots
3
+ https://nanobotco.github.io/thairoots/
4
+
5
+ THE DICTIONARY AND THE JOIN — roots, words, rules, word_index, and in places
6
+ and root_places the tokens, the matches, the counts and the arrangement:
7
+
8
+ Creative Commons Attribution 4.0 International (CC BY 4.0)
9
+ https://creativecommons.org/licenses/by/4.0/
10
+ Attribute to: Thai Roots (NaN), with a link to https://nanobotco.github.io/thairoots/
11
+ The licence covers sui generis database rights where they exist (section 4).
12
+
13
+ PLACE NAMES, COORDINATES AND CATEGORIES in places carry the licence of the
14
+ source each row came from, named per row in source_licences:
15
+
16
+ Rows with osm_derived = true:
17
+ © OpenStreetMap contributors, Open Database License (ODbL) 1.0
18
+ https://opendatacommons.org/licenses/odbl/1-0/
19
+ ODbL is share-alike on the database. A database derived from these rows
20
+ carries ODbL too.
21
+
22
+ CDLA-Permissive-2.0 — Overture Maps Foundation places
23
+ https://cdla.dev/permissive-2-0/
24
+
25
+ Open Data Common, CC-BY (data.go.th) — Thai government registers
26
+
27
+ "licence not stated by the publisher" — the source named no licence.
28
+
29
+ THAI WIKTIONARY CONTENT is not in this dataset. Whole-word Thai glosses and
30
+ extended families drawn from Thai Wiktionary are published apart, under
31
+ CC BY-SA 3.0, at https://huggingface.co/datasets/NaNoBotCo/thai-roots-wiktionary
32
+
33
+ Where an upstream licence and the layers above disagree, the upstream licence
34
+ governs that field.
35
+
36
+ Copyright (c) 2026 NaN
README.md ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: cc-by-4.0-dictionary-place-names-per-row-source-licences
4
+ license_link: LICENSE
5
+ language:
6
+ - th
7
+ - en
8
+ pretty_name: "Thai Roots · รากศัพท์ — Thai word families, with the place names of Chiang Mai and Chiang Rai"
9
+ size_categories:
10
+ - 10K<n<100K
11
+ tags:
12
+ - thai
13
+ - etymology
14
+ - pali
15
+ - sanskrit
16
+ - morphology
17
+ - lexicon
18
+ - toponymy
19
+ - place-names
20
+ - chiang-mai
21
+ - chiang-rai
22
+ - lanna
23
+ configs:
24
+ - config_name: roots
25
+ default: true
26
+ data_files:
27
+ - split: train
28
+ path: data/roots.jsonl
29
+ - config_name: words
30
+ data_files:
31
+ - split: train
32
+ path: data/words.jsonl
33
+ - config_name: rules
34
+ data_files:
35
+ - split: train
36
+ path: data/rules.jsonl
37
+ - config_name: word_index
38
+ data_files:
39
+ - split: train
40
+ path: data/word_index.jsonl
41
+ - config_name: places
42
+ data_files:
43
+ - split: train
44
+ path: data/places.jsonl
45
+ - config_name: root_places
46
+ data_files:
47
+ - split: train
48
+ path: data/root_places.jsonl
49
+ ---
50
+
51
+ # Thai Roots · รากศัพท์
52
+
53
+ A root dictionary of Thai, arranged the way Hans Wehr's Arabic dictionary is: by root, with the words that grew from each one underneath. 257 roots (181 Pali and Sanskrit, 66 native Thai word families, 10 affixes and numerals), 974 words, 12 sound-change rules. Then the dictionary read against 65,534 Thai place names in Chiang Mai and Chiang Rai.
54
+
55
+ รากศัพท์ไทย 257 ราก ได้แก่ ธาตุบาลี–สันสกฤต 181 วงศ์คำไทยแท้ 66 และอุปสรรค–สังขยา 10 คำที่แตกออกมา 974 คำ พร้อมคำอ่าน IPA คำแปลอังกฤษ ที่มาของคำ และระดับความเชื่อมั่น กฎการเปลี่ยนเสียง 12 ข้อ และชื่อสถานที่ภาษาไทย 65,534 ชื่อในเชียงใหม่และเชียงรายจากมดแดง ตัดคำแล้วโยงเข้ากับราก 40,262 ชื่อมีคำจากรากอย่างน้อยหนึ่งคำ
56
+
57
+ - The dictionary: https://nanobotco.github.io/thairoots/ · source https://github.com/NaNoBotCo/thairoots
58
+ - The Thai Wiktionary layer (whole-word Thai glosses, extended families, 29,164 words): [NaNoBotCo/thai-roots-wiktionary](https://huggingface.co/datasets/NaNoBotCo/thai-roots-wiktionary), CC BY-SA 3.0
59
+ - The places: [NaNoBotCo/mot-dang-chiang-mai-chiang-rai](https://huggingface.co/datasets/NaNoBotCo/mot-dang-chiang-mai-chiang-rai) and https://motdang.net/
60
+
61
+ ## What the place names are made of
62
+
63
+ 40,262 of 65,534 Thai place names (61%) carry at least one word from a Thai Roots family; 31,747 carry one as a whole word. 220 of the 257 roots turn up. Chiang Mai 26,766 of 44,708; Chiang Rai 13,496 of 20,826. Pali and Sanskrit roots appear in 19,592 names, native Thai families in 29,240.
64
+
65
+ | root | gloss | places | commonest words |
66
+ |---|---|---|---|
67
+ | บ้าน | house, home, village | 8,121 | บ้าน, บ้านเมือง, บ้านนอก |
68
+ | แม่ | mother; female head; principal of a class | 4,857 | แม่, แม่ครัว, แม่เหล็ก |
69
+ | วัด | temple-monastery | 3,924 | วัด, เด็กวัด, เข้าวัด |
70
+ | เรียน / สอน | learn, study / teach | 2,711 | เรียน, เรียนรู้ |
71
+ | √kṛ | do, make | 2,124 | การ, กรรม, อุปกรณ์ |
72
+ | น้ำ | water; liquid; essence | 1,878 | น้ำ, น้ำมัน, น้ำแข็ง |
73
+ | √vṛdh | grow, increase | 1,325 | เจริญ, พัฒนา, วัฒนา |
74
+ | โอสถ / เภสัช | medicine | 1,248 | ยา, เภสัช, โอสถ |
75
+ | ทาง | way, path; direction; means | 1,247 | ทาง, ทางการ, ระหว่างทาง |
76
+ | √pā | protect; drink | 1,196 | พยาบาล, อนุบาล, บาล |
77
+ | √hṛ | take, carry | 1,190 | อาหาร, บริหาร, หาร |
78
+ | เมือง | city, country, polity | 1,176 | เมือง, เมืองไทย, เมืองหลวง |
79
+ | √ji | conquer | 1,077 | ชัย, ไชย, ชิน |
80
+ | √sthā | stand | 850 | สถานี, สถาน, สถาบัน |
81
+ | √dhṛ | hold, support | 847 | ธรรม, ธาร, ธารา | <!-- stylecheck: allow — the root's gloss -->
82
+
83
+ The word lists in `root_places` are the dictionary's words in each family, ordered by how often the place names use them.
84
+
85
+ ## Configs
86
+
87
+ **roots** (257) — `root_id`, `section` (indic, native, affix) with its English and Thai name, `root`, `romanization`, `pali`, `gloss_en`, `gloss_th`, `note_en`, `note_th`, `lore_en`, `lore_th` (the custom or story around the root, where the page tells one), `cognates`, `word_count`, `wiktionary_family_count`.
88
+
89
+ **words** (974) — `word_id`, `root_id`, `thai` (variant spellings joined by " / "), `romanization` and `ipa` (machine-generated with tltk; rare compounds carry the odd error), `source_form` (P. = Pali, Skt. = Sanskrit), `gloss_en`, `gloss_th`, `pos_th`, `note_en`, `note_th`, `caveat_en`, `caveat_th`, `confidence`, `sources`, `registers` (everyday, news, government, law, Buddhist), `rules` (the sound-change rules that show in the spelling, K1–K12), `freq_tier` (0–3, the dots on the page, from Thai National Corpus frequency).
90
+
91
+ `confidence`: 595 `verified` (the etymology agrees with Thai Wiktionary's own entry), 331 `standard` (the mainstream assignment, not yet checked against a second source), 48 `debated` (sources disagree, or the derivation is traditional rather than shown).
92
+
93
+ **rules** (12) — `rule_id`, `name_en`, `name_th`, `body_en`, `body_th`, `examples`. K4, for one: the ์ (การันต์) mark silences the Indic tail a Thai syllable cannot say, so ศาสตร์ still shows *-stra*.
94
+
95
+ **word_index** (1,077) — the Thai forms the page's decomposer looks up, each pointing to its root and word. `word_id` is null for a root's own head word.
96
+
97
+ **places** (65,534) — one row per Mot Dang place with a Thai name: `place_id`, `province`, `name_th`, `name_en`, `categories`, `subcategories`, `amphoe`, `tambon`, `lat`, `lng`, `url`, `tokens` (the name broken into words), `matches`, `match_count`, `source_licences`, `osm_derived`. Names with no match are in, with an empty list.
98
+
99
+ A match: `thai`, `root_id`, `word_id`, `section`, `root`, `gloss_en`, `token` (its position in `tokens`), `how`, `other_sense`.
100
+
101
+ - `how: word` — the token is a Thai Roots word.
102
+ - `how: in_compound` — the token breaks wholly into dictionary words and one of them is a Thai Roots word: โรงเรียน gives เรียน, ส้มตำ gives ตำ.
103
+ - `other_sense` — set on คำ and สระ, whose usual sense in a place name is not the dictionary's: คำ is Lanna gold (ดอยคำ, หอคำ), สระ a pool. 809 matches carry it.
104
+
105
+ **root_places** (220) — per root: `places`, `words` with counts, `top_categories`.
106
+
107
+ ## How the join was made
108
+
109
+ Names were broken into words with PyThaiNLP 5.4 (`newmm`) over its Thai word list plus the 1,077 Thai Roots forms. A token not in the dictionary, four letters or longer, was broken again with itself left out of the word list, and counted only when every piece was a dictionary word. Confirmed foreign words in Thai script from [thapsap](https://github.com/NaNoBotCo/thapsap) are not broken (ดีไซน์ is design, not ดี + ไซน์), and seven names are on a short list that the build leaves whole (ตำหนัก, ตำนาน, ตำรับ, ตำหรับ, เชียงของ, ไก่ชน, ชนไก่).
110
+
111
+ Read by hand on 26 Nov 2026, a random 50 of each, with the `other_sense` rows set aside: 46 of 50 `word` matches right, 50 of 50 `in_compound`. The four misses: a word break inside a name (อำพันธ์ read as อำ + พันธ์, ตุสิตา as ตุสิ + ตา), ทาน the polite "eat" read as almsgiving, and ยา in the subdistrict name หายยา.
112
+
113
+ ## Licence
114
+
115
+ The dictionary layer (roots, words, rules, word_index) and the join (tokens, matches, counts): **CC BY 4.0**. Attribute to Thai Roots (NaN), with a link to https://nanobotco.github.io/thairoots/.
116
+
117
+ Place names, coordinates and categories in `places` carry the licence of the source each row came from, listed per row in `source_licences`. 8,333 rows are `osm_derived` and carry **ODbL 1.0**, © OpenStreetMap contributors; a database derived from those rows carries ODbL too. Overture rows are CDLA-Permissive-2.0; Thai government registers are Open Data Common. See LICENSE.
118
+
119
+ Whole-word Thai glosses drawn from Thai Wiktionary are not here: `gloss_th` is filled only where the Thai gloss is the dictionary's own (`gloss_th_source: editorial`), and the rest are in [NaNoBotCo/thai-roots-wiktionary](https://huggingface.co/datasets/NaNoBotCo/thai-roots-wiktionary) under CC BY-SA 3.0, by `word_id`.
120
+
121
+ ## Cite
122
+
123
+ Thai Roots · รากศัพท์ (NaN, 2026). https://nanobotco.github.io/thairoots/ — dataset https://huggingface.co/datasets/NaNoBotCo/thai-roots
124
+
125
+ Contact: Nan · nan@motdang.net · more from the same publisher: https://nanobotco.github.io/index/
data/places.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c70df075c83d47550dcddae0d4befeb8fea2e969f5e9baf71bfab8fb4d38cdb3
3
+ size 52490077
data/root_places.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/roots.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/rules.jsonl ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"rule_id": "K1", "name_en": "The spelling is the fossil", "name_th": "ตัวสะกดคือฟอสซิล", "body_en": "Thai pronunciation collapsed dozens of Indic sounds, but the orthography kept the letters. ศ ษ (two extra s's), ฆ ฌ ฑ ฒ ธ ภ (old voiced aspirates), ญ ณ ฏ ฐ ฬ (retroflexes and palatals) survive only in loanwords — they are tracer-dyes. See one of these letters and you are almost certainly looking at Pali, Sanskrit, or Khmer; strip the word down and the root is recoverable from the spelling alone. This is why a root dictionary of Thai is possible at all: the script remembers what the mouth forgot.", "body_th": "การออกเสียงไทยยุบเสียงอินเดียหลายสิบเสียงเหลือไม่กี่เสียง แต่ตัวเขียนเก็บอักษรเดิมไว้ครบ ศ ษ (ส สองตัวเกิน) ฆ ฌ ฑ ฒ ธ ภ (โฆษะ-ธนิตเก่า) ญ ณ ฏ ฐ ฬ ปรากฏแทบเฉพาะในคำยืม — เป็นสีย้อมร่องรอย เห็นอักษรเหล่านี้เมื่อไร แทบแน่ใจได้ว่าเป็นคำบาลี สันสกฤต หรือเขมร และสืบรากศัพท์ได้จากตัวเขียนล้วน ๆ นี่คือเหตุที่พจนานุกรมรากศัพท์ไทยเป็นไปได้: ตัวหนังสือจำสิ่งที่ปากลืมไปแล้ว", "examples": "ศาสตร์ still shows śās-tra; พุทธ still shows buddh-; kamma's double m sits inside กรรม"}
2
+ {"rule_id": "K2", "name_en": "รร ro han = lost -ar- / -ṛ-", "name_th": "รร (ร หัน) = -ar-/ṛ ที่หายไป", "body_en": "The double ร (called ร หัน ro han) writes what was -ar(r)- or vocalic ṛ in the source: it reads as short a (+n if final). Whenever you see รร, restore *ar* and the Sanskrit form appears.", "body_th": "ร สองตัว (ร หัน) เขียนแทนเสียง -ar(r)- หรือ ṛ ในภาษาต้นทาง อ่านเป็นสระอะ (บวก น ถ้าเป็นตัวสะกด) เจอ รร ที่ไหน ลองคืนค่า *ar* กลับเข้าไป รูปสันสกฤตจะโผล่ทันที", "examples": "กรรม ← karman · ธรรม ← dharma · พรรณ ← varṇa · สรรค์ ← sarga · บรรพ- ← pūrva"}
3
+ {"rule_id": "K3", "name_en": "ฤ = Sanskrit vocalic ṛ", "name_th": "ฤ = ṛ ของสันสกฤต", "body_en": "The letter ฤ (read ri, rue, or roe) is a dedicated transliteration of Sanskrit ṛ. It only occurs in Sanskrit loans — an instant root flag. Pali, which lost ṛ, gives parallel forms with a/i/u instead: another source of doublets (see K5).", "body_th": "อักษร ฤ (อ่าน ริ รึ หรือ เรอ) มีไว้ถ่ายเสียง ṛ ของสันสกฤตโดยเฉพาะ — ปรากฏเฉพาะในคำยืมสันสกฤต จึงเป็นธงบอกรากทันที ส่วนบาลีซึ่งไม่มี ṛ จะให้รูปคู่ขนานเป็น อะ/อิ/อุ แทน — ที่มาอีกทางของคำแฝด (ดู K5)", "examples": "ฤทธิ์ ← ṛddhi · ฤดู ← ṛtu · พฤติกรรม ← vṛtti · มฤตยู ← mṛtyu · กฤษณะ ← kṛṣṇa"}
4
+ {"rule_id": "K4", "name_en": "์ karan = the amputation mark", "name_th": "การันต์ = เครื่องหมายตัดแขนขา", "body_en": "Thai syllables allow no final clusters, so un-pronounceable tails of Indic words are written but silenced with the ์ (การันต์) sign. The silenced letters are pure etymology — read them anyway and you recover the source.", "body_th": "พยางค์ไทยไม่รับกลุ่มพยัญชนะท้าย หางคำอินเดียที่ออกเสียงไม่ได้จึงถูกเขียนไว้แต่ฆ่าเสียงด้วย ์ (การันต์) อักษรที่ถูกฆ่าคือรากศัพท์ล้วน ๆ — อ่านมันเข้าไปเถอะ แล้วจะเจอต้นทาง", "examples": "ศาสตร์ /sàat/ shows -stra · จันทร์ /jan/ shows candra · ยนตร์ shows yantra · ศักดิ์ shows śakti · สัตว์ shows sattva"}
5
+ {"rule_id": "K5", "name_en": "Doublets: one word, two roads in", "name_th": "คำแฝด: คำเดียว เข้ามา��องทาง", "body_en": "Pali simplified Sanskrit clusters into doubled consonants (prajñā → paññā). Thai borrowed from BOTH languages, often taking the same word twice — and then split the meanings. Doublet pairs are the best evidence of how deliberately the lexicon was built.", "body_th": "บาลีย่อกลุ่มพยัญชนะสันสกฤตเป็นตัวซ้อน (prajñā → paññā) ไทยยืมจากทั้งสองภาษา บ่อยครั้งยืมคำเดียวกันสองหน แล้วแยกความหมายกันไปคนละทาง — คู่คำแฝดคือหลักฐานชั้นดีว่าคลังศัพท์ไทยถูกสร้างอย่างจงใจ", "examples": "ปัญญา wisdom / ปรัชญา philosophy · วิชา school subject / วิทยา science · เขต zone / เกษตร farmland · กิริยา manners / กริยา verb · ขมา / ษมา forgiveness"}
6
+ {"rule_id": "K6", "name_en": "The v → พ (ph) filter", "name_th": "ตัวกรอง v → พ", "body_en": "Many loans passed through Khmer scribal tradition, where Sanskrit v was written with a letter Thai read as ph. Result: systematic pairs where the same prefix vi- or root shows up as both ว and พ — sometimes both survive with split meanings.", "body_th": "คำยืมจำนวนมากผ่านธรรมเนียมอาลักษณ์เขมร ซึ่งเขียน v สันสกฤตด้วยอักษรที่ไทยอ่านเป็น พ ผลคือคู่คำเป็นระบบ: อุปสรรค vi- หรือรากเดียวกันโผล่ทั้งรูป ว และ พ — บางทีรอดมาทั้งคู่พร้อมความหมายที่แยกกันแล้ว", "examples": "วิธี method / พิธี ceremony · วิเศษ marvelous / พิเศษ special · วินาศ / พินาศ ruin · พิโรธ ← virodha · พาหนะ ← vāhana · วิวาห์ keeps ว — the ว/พ split is word-by-word, which is exactly why doublets survive"}
7
+ {"rule_id": "K7", "name_en": "Initial p → บ (b)", "name_th": "p ต้นคำ → บ", "body_en": "Old borrowings show Indic p- as Thai บ — evidence of age and of the Khmer route. Newer or more learned borrowings of the same roots keep ป/พ. When you see บ + Indic-looking body, try restoring p-.", "body_th": "คำยืมรุ่นเก่าแสดง p- อินเดียเป็น บ ไทย — ร่องรอยของอายุและเส้นทางผ่านเขมร คำยืมรุ่นหลังหรือทางการกว่าของรากเดียวกันคง ป/พ ไว้ เห็น บ นำหน้าเนื้อคำหน้าตาอินเดียเมื่อไร ลองคืน p- ดู", "examples": "บุญ ← puñña · บูชา ← pūjā · บาล ← pāla · บท ← pada · บาท ← pāda · บุตร ← putra · บุรี ← purī"}
8
+ {"rule_id": "K8", "name_en": "saṃ- the shapeshifter", "name_th": "สัม- นักแปลงกาย", "body_en": "The prefix saṃ- 'together' assimilates to whatever follows, so one prefix hides behind five spellings: สัม (before p/b/m), สัน (before t/d), สัง (before k/g), สง, สม. Learn to see them as one morpheme and dozens of words snap into focus.", "body_th": "อุปสรรค saṃ- 'ร่วมกัน' กลมกลืนกับเสียงที่ตามมา อุปสรรคเดียวจึงซ่อนอยู่หลังการสะกดห้าแบบ: สัม สัน สัง สง สม ฝึกมองให้เห็นเป็นหน่วยเดียว แล้วคำหลายสิบคำจะชัดขึ้นทันตา", "examples": "สัมพันธ์ · สันติ · สังคม · สงเคราะห์ · สมบูรณ์ — all the same saṃ-"}
9
+ {"rule_id": "K9", "name_en": "The final-sound collapse", "name_th": "การยุบเสียงท้าย", "body_en": "Thai allows only 8 final sounds (-k -t -p -m -n -ng -y -w). Every Indic final consonant gets crushed into one of these, and final short -a usually drops. This is the single biggest 'mangler': it is why kamma sounds like /kam/, jāti like /châat/, and dosa like /thôot/. The written form keeps the original letter (see K1, K4) — the sound does not.", "body_th": "พยางค์ไทยรับเสียงท้ายแค่ 8 เสียง (-ก -ด -บ -ม -น -ง -ย -ว) พยัญชนะท้ายอินเดียทุกตัวถูกบีบ��ข้าช่องพวกนี้ และ -a สั้นท้ายคำมักหลุดหาย นี่คือตัวป่วนใหญ่สุด: เหตุที่ kamma ออกเสียง /กำ/ jāti /ชาด/ dosa /โทด/ ตัวเขียนเก็บอักษรเดิม (ดู K1, K4) — เสียงไม่เก็บ", "examples": "ธาตุ dhātu → /thâat/ · โทษ dosa → /thôot/ · เพศ vesa? (Skt. veṣa) → /phêet/ · ราช rāja → /râat/ (but ราชา keeps /-chaa/)"}
10
+ {"rule_id": "K10", "name_en": "Khmer machinery: the -amn- infix and friends", "name_th": "เครื่องจักรเขมร: อาคม -ำน- และพวกพ้อง", "body_en": "Thai borrowed not just words but a word-FACTORY from Khmer: an infix -am-/-amn- that turns verbs into nouns. It applies to native Thai verbs too — so a native-looking pair may hide a Khmer derivation rule. Spot the pattern: C-V-X → C-am(n)-V-X.", "body_th": "ไทยไม่ได้ยืมแค่คำ แต่ยืมโรงงานสร้างคำจากเขมรด้วย: อาคม (infix) -ำ-/-ำน- ที่แปลงกริยาเป็นนาม และมันใช้กับกริยาไทยแท้ด้วย — คู่คำหน้าตาไทยแท้จึงอาจซ่อนกฎเขมรอยู่ จับรูปแบบ: เกิด→กำเนิด ตรวจ→ตำรวจ จ่าย→จำหน่าย อาจ→อำนาจ", "examples": "เกิด be born → กำเนิด origin · ตรวจ inspect → ตำรวจ police · จ่าย pay → จำหน่าย distribute · อาจ dare → อำนาจ power · เดิน walk ← Khmer daə itself"}
11
+ {"rule_id": "K11", "name_en": "Tones are assigned by algorithm", "name_th": "วรรณยุกต์ถูกกำหนดด้วยอัลกอริทึม", "body_en": "Loanwords arrive toneless and GET tones mechanically: the consonant class of the initial letter (high/mid/low) plus syllable type (live/dead, long/short) determines the tone — see the tone chart in Reference. The classes themselves are fossilized voicing: when Thai devoiced its consonants (~15th–17th c. Great Tone Split), the old voiced/voiceless contrast was reborn as tone. That is why ข and ค 'the same sound' give different tones: they used to be different sounds.", "body_th": "คำยืมเข้ามาไร้วรรณยุกต์ แล้ว 'ได้รับ' วรรณยุกต์โดยกลไก: ไตรยางศ์ของอักษรนำ (สูง กลาง ต่ำ) บวกชนิดพยางค์ (เป็น/ตาย สั้น/ยาว) กำหนดเสียง — ดูผังวรรณยุกต์ในหมวดอ้างอิง ตัวไตรยางศ์เองคือฟอสซิลของเสียงก้อง: เมื่อไทยเลิกออกเสียงก้อง (ราวพุทธศตวรรษที่ 20–22) ความต่างก้อง-ไม่ก้องเก่าเกิดใหม่เป็นความต่างวรรณยุกต์ ข กับ ค จึงให้เสียงต่างกันทั้งที่ 'เสียงเดียวกัน' — เพราะเคยเป็นคนละเสียง", "examples": "ศาสตร์: high-class ศ + dead syllable → low tone /sàat/ · ธรรม: low-class ธ + live → mid /tham/"}
12
+ {"rule_id": "K12", "name_en": "Clipping: long words wear down", "name_th": "การกร่อนคำ: คำยาวสึกได้", "body_en": "Heavily used Indic words get clipped to their final syllable or two — the everyday form and the full form coexist in different registers.", "body_th": "คำอินเดียที่ใช้บ่อยถูกตัดเหลือพยางค์ท้าย รูปสั้นในชีวิตประจำวันกับรูปเต็มทางการอยู่ร่วมกันคนละทะเบียน", "examples": "สามเณร novice → เณร · ศาลา hall → ศาล court/shrine · มหาวิทยาลัย → มหา'ลัย (colloquial) · อาวาส? → (perhaps) วัด — debated"}
data/word_index.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/words.jsonl ADDED
The diff for this file is too large to render. See raw diff