Dataset Viewer
Auto-converted to Parquet Duplicate
thai
stringlengths
1
29
reference
stringlengths
1
55
motdang
stringlengths
0
65
in_place_names
bool
2 classes
has_rai_karan
bool
2 classes
motdang_rules_only
stringlengths
0
65
agree
bool
2 classes
agree_rules_only
bool
2 classes
กองพันทหารปืนใหญ่
kongphanthahanpuenyai
kongphan thahan puenyai
false
false
kongphan thahan puenyai
true
true
วิฑูรย์
withun
withun
true
false
withun
true
true
เมตาบอลิสม
metabolisom
meta bolitma
false
false
meta bolitma
false
false
บ้านหนองเลา
bannonglao
ban nong lao
false
false
ban nong lao
true
true
อายุษ
ayut
aisa
false
false
aisa
false
false
แทมปา
thaempa
thaempa
false
false
thaempa
true
true
ประเทศกรีนแลนด์
prathetkrinlaen
prathet Green Land
false
false
prathet krin laen
false
true
พรรคคองเกรส
phakkhongkerot
phrarok khongkret
false
false
phrarok khongkret
false
false
การสูบ
kansup
kan sup
false
false
kan sup
true
true
บ้านเทพพยัคฆ์ใต้
banthepphayaktai
ban Thep phayak tai
false
false
ban thep phayak tai
true
true
โมดูลัสหน้าตัด
modulatnatat
modulat na tat
false
false
modulat na tat
true
true
ละบอง
labong
labong
false
false
labong
true
true
กะเหลนเป๋น
kalenpen
kalenpen
false
false
kalenpen
true
true
บ้านสายเพชร
bansaiphet
ban sai Phet
false
false
ban sai phetra
true
false
บ้านไชยสว่าง
banchaisawang
ban chai sawang
false
false
ban chai sawang
true
true
บ้านคลองมะลิ
bankhlongmali
ban Khlong mali
false
false
ban khalong mali
true
false
นั้น
nan
nan
true
false
nan
true
true
การแจกแจงช่วงเวลา
kanchaekchaengchuangwela
kan chaek chaeng chuang wela
false
false
kan chaek chaeng chuang wela
true
true
ยินมลาก
yinmalak
yin malak
false
false
yin malak
true
true
ภัณฑนะ
phanthana
phantha na
false
false
phantha na
true
true
การวางตัว
kanwangtua
kanwang tua
false
false
kanwang tua
true
true
อย่างใหญ่หลวง
yangyailuang
yang yai luang
false
false
yang yai luang
true
true
ตำบลเลิงแฝก
tambonloengfaek
Tambon loeng faek
false
false
tambon loeng faek
true
true
โลมาหัวบาตรหลังเรียบ
lomahuabatlangriap
loma hua bat lang riap
false
false
loma hua bat lang riap
true
true
การโกหก
kankohok
kan ko hok
false
false
kan ko hok
true
true
บ้านหนองพงน้อย
bannongphongnoi
ban nong phong noi
false
false
ban nong phong noi
true
true
ก่นสร้าง
konsang
kon sang
false
false
kon sang
true
true
อนุสภากาชาด
anusaphakachat
anut pha kachat
false
false
anut pha kachat
false
false
บ้านโคนใต้
bankhontai
ban khon tai
false
false
ban khon tai
true
true
บ้านหน้าเกษตร
bannakaset
ban na Kaset
false
false
ban na ketta
true
false
หมดแรง
motraeng
mot raeng
false
false
mot raeng
true
true
อุนากัน
unakan
u na kan
false
false
u na kan
true
true
วางข้อ
wangkho
wang kho
false
false
wang kho
true
true
คลองขนาน
khlongkhanan
Khlong khanan
false
false
khalong khanan
true
false
อรหะ
oraha
onha
false
false
onha
false
false
วิสัชนา
wisatchana
wisatna
false
false
wisatna
false
false
หระ
ra
ra
true
false
ra
true
true
ตามเดิม
tamdoem
tam doem
false
false
tam doem
true
true
มุ่งมั่น
mungman
mungman
false
false
mungman
true
true
บ้านน้ำเพชร
bannamphet
ban nam Phet
false
false
ban nam phetra
true
false
บ้านทับน้ำ
banthapnam
ban thap nam
false
false
ban thap nam
true
true
บ้านผังพัฒนา
banphangphatthana
ban phang Phatthana
false
false
ban phang phatna
true
false
ตำบลพิมายเหนือ
tambonphimainuea
Tambon phi mai nuea
false
false
tambon phi mai nuea
true
true
ตรณี
tarani
trani
false
false
trani
false
false
ดูชานเบ
duchanbe
du chan be
false
false
du chan be
true
true
ซองประมูล
songpramun
song pramun
false
false
song pramun
true
true
ซอยออมสิน
soi-omsin
soi omsin
false
false
soi omsin
true
true
เกลื่อนกล่น
klueanklon
ke lue naklon
false
false
ke lue naklon
false
false
ขยี้หัวใจ
khayihuachai
khayi huachai
false
false
khayi huachai
true
true
กระโจม
krachom
krachom
true
false
krachom
true
true
คู่สายโทรศัพท์
khusaithorasap
khu sai sosap
false
false
khu sai sosap
false
false
ร่อง
rong
rong
true
false
rong
true
true
บ้านแพใต้
banphaetai
ban phae tai
false
false
ban phae tai
true
true
โรงเรียนสาธิตริคไค
rongriansathitrikkhai
rongrian sathit rikkhai
false
false
rongrian sathit rikkhai
true
true
ต้นนางแย้มจีน
tonnangyaemchin
ton nang yaem chin
false
false
ton nang yaem chin
true
true
อินแกรมไมโคร
inkraemmaikhro
in kraem maikho
false
false
in kraem maikho
false
false
กองพลาธิการและสรรพาวุธ
kongphalathikanlaesanphawut
kong phlathi kanlae son pha wut
false
false
kong phlathi kanlae son pha wut
false
false
ตำบลหาดใหญ่
tambonhatyai
Tambon hatyai
false
false
tambon hatyai
true
true
ต้นคำดารารัศมี
tonkhamdararatsami
ton khamdara ratmi
false
false
ton khamdara ratmi
false
false
การคลาย
kankhlai
kan khlai
false
false
kan khlai
true
true
ซอยโรงเรียนบางไผ่
soirongrianbangphai
soi rongrian bang phai
false
false
soi rongrian bang phai
true
true
ลันเตา
lantao
lantao
true
false
lantao
true
true
บ้านขามฆ้อง
bankhamkhong
ban kham khong
false
false
ban kham khong
true
true
สมอง
samong
samong
true
false
samong
true
true
สบเปิง
soppoeng
soppoeng
true
false
soppoeng
true
true
โมษกะ
motka
motka
false
false
motka
true
true
ถนนเทอดไท
thanonthoetthai
thanon thoet thai
false
false
thanon thoet thai
true
true
บ้านสามช่องเหนือ
bansamchongnuea
ban sam chong nuea
false
false
ban sam chong nuea
true
true
หมายประกาศ
maiprakat
mai prakat
false
false
mai prakat
true
true
ตำบลบ้านแวง
tambonbanwaeng
Tambon ban waeng
false
false
tambon ban waeng
true
true
การคลี่คลาย
kankhlikhlai
kan khli khlai
false
false
kan khli khlai
true
true
ดินชั้นล่าง
dinchanlang
din chan lang
false
false
din chan lang
true
true
ตำแยแมว
tamyaemaeo
tamyae maeo
false
false
tamyae maeo
true
true
บ้านตาหน่อง
bantanong
ban ta nong
false
false
ban ta nong
true
true
รัฐนิวยอร์ค
ratthanioyo
rat New yok
false
true
rat nio yok
false
false
โทชิงิ
thochi-ngi
thochingi
false
false
thochingi
true
true
การปรากฏ
kanprakot
kan prakta
false
false
kan prakta
false
false
โลหะไม้
lohamai
loha mai
false
false
loha mai
true
true
พุทธชาด
phutthachat
Phuttha chat
true
false
phuttha chat
true
true
กระปรอกว่าว
krapora-okwao
krapa rok wao
false
false
krapa rok wao
false
false
อนาถา
anatha
anatha
false
false
anatha
true
true
โรม่า
roma
ro ma
true
false
ro ma
true
true
ยาแก้โรค
yakaerok
ya kae rok
false
false
ya kae rok
true
true
ตำบลป่ามะม่วง
tambonpamamuang
Tambon pa mamuang
false
false
tambon pa mamuang
true
true
ทิพยเนตร
thipphayanet
thipyanet
true
false
thipyanet
false
false
ยาฝอย
yafoi
ya foi
false
false
ya foi
true
true
คอนแชร์โต้
khonchaeto
khon chae to
false
true
khon chae to
true
true
สมุทรศาสตร์
samutthrasat
samut Sat
false
false
samut sat
false
false
การเกษียณอายุ
kankasian-ayu
kan kesiina ai
false
false
kan kesiina ai
false
false
ตำบลสะพานไม้แก่น
tambonsaphanmaikaen
Tambon sa Phan mai kaen
false
false
tambon sa phanmai kaen
true
true
แหม่
mae
mae
true
false
mae
true
true
วนาสณฑ์
wanason
wana son
false
false
wana son
true
true
บ้านสาริกาพัฒนา
bansarikaphatthana
ban sa ri ka Phatthana
false
false
ban sa ri ka phatna
true
false
เคี้ยวฟัน
khiaofan
khiao fan
false
false
khiao fan
true
true
แนวรอยเลื่อน
naeoroiluean
naeo roi luean
false
false
naeo roi luean
true
true
ทักทาย
thakthai
thak thai
false
false
thak thai
true
true
บ้านหนองหรั่ง
bannongrang
ban nong rang
false
false
ban nong rang
true
true
ตะราง
tarang
ta rang
false
false
ta rang
true
true
บ้านผาละปิ
banphalapi
ban phalapi
true
false
ban phalapi
true
true
เผ่น
phen
phen
false
false
phen
true
true
End of preview. Expand in Data Studio

Thai romanisation, scored on the words place names are made of

A romaniser can do well on dictionary words and still misread a road sign. This dataset scores one engine on both, so the difference is a number rather than an impression.

Every distinct pure-Thai word in pythainlp/thai-romanization-dataset is romanised by translit.py, the rule-based RTGS engine behind motdang.net, twice: with its curated exception lexicon and with the rules alone.

Results

slice words with lexicon rules only the lexicon is worth
all 153,948 79.62% 77.51% +2.11%
in place names 21,425 84.22% 83.45% +0.77%
ร์ + consonant 2,917 46.59% 50.70% -4.11%

The last row is where the two disagree about the job. ร์ + consonant is English written in Thai script, and the exception lexicon deliberately reads สคูล as School and นอร์ทเทิร์น as Northern — the word on the sign — while the reference gives the phonetic sakhun, nothoen. Scored as exact match those are misses. On a shop front they are what the reader needs. Read that row as a statement about the metric, not about the engine, and read the overall figure as understating a romaniser aimed at signage.

Slices, defined

  • in place names — the word occurs as a substring (2 to 15 characters) of a Thai place name in the Mot Dang catalogue of 88,161 places. Substring, not segmenter output: the segmenter is part of what is measured and cannot also be the judge.
  • ร์ + consonant — the word contains ร์ followed by a consonant, the shape English loanwords take in Thai script.

Scoring

Exact match after NFKD, lowercase, and stripping to [a-z]. RTGS spacing and capitalisation are conventions, not the thing being tested. One reference reading per word: where the source lists several, the first is kept.

Fields

field
thai the word
reference the reading from pythainlp/thai-romanization-dataset
motdang translit.py, with the curated exception lexicon
motdang_rules_only translit.py, exception lexicon emptied
agree, agree_rules_only exact match after normalisation
in_place_names, has_rai_karan slice membership

Where it still misses, in place names

Thai reference motdang
ทิพยเนตร thipphayanet thipyanet
นอร์ทเทิร์น nothoen North thoen
นกหงส์หยก nokhongyok nok ngayok
บ้านเทวี banthewi ban theo
มธุรส mathurot mathunsa
บ้านมิตรไมตรี banmitmaitri ban mitramaitri
นพเก้า nopphakao nopkao
นิวาสสถาน niwatsathan ni wa sot than
หวง huang wong
สคูล sakhun School
ปฏิบัติธรรม patibattham patibati Tham
แสตนเลส saetonlet saetnalet

Some of these are the disagreement above rather than an error: สคูล → School is the lexicon choosing the English word over its Thai spelling-out. Others are real — นิวาสสถาน read as four syllables, มธุรส given an n it does not have.

Licence

CC BY-SA 3.0, inherited from the reference readings. See LICENSE.

Downloads last month
5

Space using NaNoBotCo/thai-place-name-romanisation-benchmark 1