kham-core 0.5.0

Pure Rust Thai word segmentation engine — no_std compatible
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Mixed Thai / Latin / Number input.
# Format: input|tok1|tok2|...
# Whitespace tokens are excluded.
# Token kind is verified separately in integration tests.
ธนาคาร100แห่ง|ธนาคาร|100|แห่ง
สวัสดีhello|สวัสดี|hello
คน42ไป|คน|42|ไป
ที่นี่ ok นั้น|ที่นี่|ok|นั้น
ไป123มา456|ไป|123|มา|456
ราคา99บาท|ราคา|99|บาท
ลด50เปอร์เซ็นต์|ลด|50|เปอร์เซ็นต์
ทดสอบAPIทุกวัน|ทดสอบ|API|ทุกวัน
iPhone15ราคาแพง|iPhone|15|ราคาแพง
ส่งอีเมลถึงteam|ส่ง|อีเมล|ถึง|team