khmer stringlengths 6 112 | domain stringclasses 50
values | register stringclasses 4
values |
|---|---|---|
ααΎααααα
ααααααααΆαα’αΈαααα? | dates, times and numbers | chat between a customer and a seller |
α’αΆα
ααααΎα²αααααα»αααααααΆααΆααααα? | dates, times and numbers | chat between a customer and a seller |
ααααααΈα‘α₯ααααα
αααααα’αα? | dates, times and numbers | chat between a customer and a seller |
α’ααα»αα
αααΎαααα’αΌα ααααααΈα£ ααααΎααα²αααααα»αααΆα | dates, times and numbers | chat between a customer and a seller |
α₯α‘αΌαααααα
ααΆααααααα»ααααΆααααααα? | dates, times and numbers | chat between a customer and a seller |
α’αΆα
ααααΎα²αααααα»ααα»αααααα‘α‘ααααΊααΆαα’αα? | dates, times and numbers | chat between a customer and a seller |
αα»α Check αααααα²ααααααα·α
αα ααα | dates, times and numbers | chat between a customer and a seller |
Ok ααααα’αΆαα·αααααααα½αααααΆαα
α αΆααα·αα | dates, times and numbers | chat between a customer and a seller |
ααΌαααα²αααααα»αααΆαααα delivery αααα»αααααα α₯$ ααΆαα’αα? | dates, times and numbers | chat between a customer and a seller |
αα·αααΆααααΆααα·ααα α
αΆααααα»αααΎααα·αα
αΆαα | dates, times and numbers | chat between a customer and a seller |
α
αΆα ααααααΎααααΆαα αααjs αα·αααΆαα αΎα ααααααΈα’α αααα | dates, times and numbers | chat between a customer and a seller |
αα½ααααΈαα α
ααααααααααααααααΆαααααα αααΉαααΆαα’αα? | a hotel or guesthouse booking | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
α
ααααααααααα α‘ αααααΆαα α’ ααΆαα αααααααα»ααααΆαααααα? | a hotel or guesthouse booking | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
ααα’αΎα α
αααα½αααΆααΆαααααααααααααα
ααααααΈ α‘α₯ αα? | a hotel or guesthouse booking | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
α
ααααααααααααα½α α±αααα½ααααα±ααααΆαα’αααα? | a hotel or guesthouse booking | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
α
ααααααααααα ααα’αΆα
ααααΎ link α±ααα’αΈ? | a hotel or guesthouse booking | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
α
ααααααααααααααααΆαααααααα ααααα bao α
α»α? | a hotel or guesthouse booking | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
ααα’αΆα
αααααΆααααΆααααα±αααααα»αααΆαα’αα αααα»αααααααα·αα αΎαα | a hotel or guesthouse booking | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
αα½ααααΈα’αααααΈα α
ααααααααααααααααΆαααααααα α‘ ααααααα | a hotel or guesthouse booking | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
α
ααααααααααα ααα’αΆα
ααααα discount α±ααααααα·α
ααΆαα’αα? | a hotel or guesthouse booking | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
α
ααααααααααααααααΆαααααααα ααα’αΆα
check α±ααααααα·α
ααΆααα? | a hotel or guesthouse booking | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
ααΆααααααα
α’αααα? | eating out and ordering food | chat between a customer and a seller |
αααitti αα½ααααα
α αααΉαααΆ | eating out and ordering food | chat between a customer and a seller |
α
αααα»αααααΆαα order α’αΆα αΆααα½α | eating out and ordering food | chat between a customer and a seller |
αα
ααΆα Menu α’αΈααααααα? | eating out and ordering food | chat between a customer and a seller |
ααααα αΌαα αααΉα α‘α α
αΆα αα½αααΆαα’αα? | eating out and ordering food | chat between a customer and a seller |
delivery αα
ααΆααα? | eating out and ordering food | chat between a customer and a seller |
α
ααααΆα spicy ααααΆαααααααα·α
ααΆ | eating out and ordering food | chat between a customer and a seller |
ααααΆα discount α’αΈα’αα? | eating out and ordering food | chat between a customer and a seller |
αααα»ααα»αααααΆααααα’αΆα αΆααα
αααΆααα
αααααααα | eating out and ordering food | chat between a customer and a seller |
αα»αααααΆαα α’αΆα αΆαα αααΉαααΆαααα»ααααΆαααα? | eating out and ordering food | chat between a customer and a seller |
ok αα·ααααα αΎα ααα
αΆαααααα·α
ααΆ | eating out and ordering food | chat between a customer and a seller |
αααααααα»ααααΆαααα ααααααΆααααααΆαα’αα? | eating out and ordering food | chat between a customer and a seller |
αααΆαα’αΈαα
? | eating out and ordering food | casual chat between close friends of the same age |
αα
αααΆαα’αΈααΆαα½αααααΆαααα’αα? | eating out and ordering food | casual chat between close friends of the same age |
ααααααααααΆαα’αΈαα
? αααΆαα αααΉααα
| eating out and ordering food | casual chat between close friends of the same age |
αααΆαααΆααααα½αα’αα? | eating out and ordering food | casual chat between close friends of the same age |
αα
α αΆα Pizza α αααΉααα
αααΆαααΆαα αΎα | eating out and ordering food | casual chat between close friends of the same age |
ααΆαααααααα 20$ αααα’αα? ααααα αΈ? | eating out and ordering food | casual chat between close friends of the same age |
α’αΈααα’ααα
ααααΌααααΈαααααΆαα’αΈααα | eating out and ordering food | casual chat between close friends of the same age |
αα
αααΆαα’αΈαα
α αΆαααααααα αααΉααα
| eating out and ordering food | casual chat between close friends of the same age |
α‘αΆαα’αΈαα α
αααααΆαα’αΈααα? | eating out and ordering food | casual chat between close friends of the same age |
α’αΈααα’ααα
αααααΆαα’αΈααα ααααΆααααα? | eating out and ordering food | casual chat between close friends of the same age |
αααΆαα’αΈααααΆαααα α
αΆαααααΆααααΆααα
| eating out and ordering food | casual chat between close friends of the same age |
αααΆαα αααΉααα
αα·ααααα αΎα αααααα αΆαα₯α‘αΌαααααα
| eating out and ordering food | casual chat between close friends of the same age |
αα α
α»αα’αΈααΆααα
? | online shopping and delivery | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
ααΆαα αΎααα α
αΆααααα
ααααΆααα
? | online shopping and delivery | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
α’ααα»αα
αααΎααα αααα»αααΆαααα½αα’αΈαααΆααα αΎαααΆ | online shopping and delivery | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
ααα’αΆα
ααααΎααααΆαα’αΈαααΆααααΆαα’αα? | online shopping and delivery | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
αααα»ααααα’αΆα αααΉααα½α ααΆααΎα’ααααα»ααααΆαααααα? | online shopping and delivery | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
Ok αα αααα»αααααααα»αα²ααα αΎαααΆ | online shopping and delivery | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
ααα’αΆα
ααααΎ Link α²αααααα»αααΎααα·αααΆαα’αα? | online shopping and delivery | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
αααα»αα
αααα»αααααααα½αααααα α
α»αααΉααααααΌαααααααα»ααααΆα? | online shopping and delivery | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
α’αΈαααΆαααα
αααα αΎααα α’αΆα
ααααααΆαα αΎαααΆ | online shopping and delivery | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
ααααααΆαααΆαα α
α»αααααααΉααααααααΈαααα’ααααα»ααααΆαααα? | online shopping and delivery | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
Sorry αα α
αΆαααααα·α
ααΆ αααα»ααααα»αααααααΆαααΆαααααα·α
| online shopping and delivery | polite message from a younger person to an older person (use αα/ααα/α’αααααΈα etc.) |
ααΈααα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααΆαα’αΈα’αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααααααααα²ααααααα·α
ααΎαα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααα·ααααααααΆααααα’αααΈαααα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
α
ααααΆαα’αΆααααααΆ 2 ααΆα
α αααααααα»ααααΆαααα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααα’αΆα
ααααΎ link α²αααααααΆαα’αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
αα»αααΎαααΌαααα·ααα add α’ααααααα·α
ααΎαα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααΆαααΉααααααααα’αα? αααα»ααα
ααααααα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
αα»αααα»ααααΆαααα αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααααΈ TikTok ααΎαα’αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
α
αααα»αααααααα½α ααα»αααααα·αααΆααααΆααα»ααα»α pass αα»αααΆαα’αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
Sorry αααα»αααΎααα»α αααα½ααααα²αααα·αααΆαα’αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααααααααα»α Facebook α αΎαα’αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααΆα discount α’αα αα? αααα»ααα·αα
αααΎα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
α’αΈαααΆαα α
ααααΆαα αααΉαααα’ααααΆα stock α αΎαααααα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
α’ααα’αΈαα α
αΆααααα»αααααΎααααα αΎα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
αα check αααα»α Telegram α²ααααΆαα αΎα ααΆαααααααααα»αα
αΌαααΎααα·αααΌαααΌααα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
α
ααααΆα promotion αααααΆααα’αΌαααααααΌαααααα·α
ααΎαα ααΆ | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααΆαααΉαααααααααα’αα αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
αααααααα»ααααΆαααα αα? ααααΎααα²ααααΎαααααα·α
ααΎαα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααΎααΆααααααααααα αα’αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααα’αΆα
ααααΎααΈααΆααααα²ααααΆαα’αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
α
ααααΆαα’αΈααα αα½ααααααααα»ααααΆαααα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααΆαααΉαααααααααααα’αα αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααΆαα αΎα ααααααΎ link ααα²αααααα»αααΆαα αΎα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
α’αΌαα ααααααΎαααααΌαααα²αααααα»ααα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααααΎααααα»α TikTok ααΎαααα·ααααααα’αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
αααα»αα
ααααΆαα αααΉααααα·αααΆααααΆααα»ααα αααα»ααα»αααααααα·αααΆαα’αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααΈααα αααα»αα
αΌαααΎααααα»α Telegram ααΎαααΆα discount ααα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
αααα»αααΎαααΌααα·αααααα·α
ααΎαα ααααααααα»α Facebook ααΌαααα’αΆαααα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααΆαααααα’αααα? ααΎααΆααααα»ααα·α α’ | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
α
ααααΆαα’αΆααααααΆααααααα
αα½ααααααααα»ααααΆαααα αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααααααΎαα
ααΆα Telegram αα αααα»ααα·ααΆααα»αααΎαααααα·α
| Facebook, TikTok and Telegram posts | chat between a customer and a seller |
α’αΌαα ααααααΎααααα
α²αααααα»αααΆαα αΎα αααα»αααΉαααααΎααΌααα
ααΆα Messenger αααααΆαααα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααααΆαα’αΈα’αα? α
αααα»αααΎαααα·αααααααα·α
ααΎαα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααα·αααααααα»αααΆααααΆααααα
ααα? αααα»α TikTok ααΎαααααΆααααΆααααΆαα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
α
ααααΆα 3 ααΆα
α αααααααα»αααα»ααααΆαααα αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααα’αΆα
ααααΎ link ααα²αααααα»αααΆαα’αα? αααα»αα
ααααΎαααααααααααα·α
| Facebook, TikTok and Telegram posts | chat between a customer and a seller |
α’αΈαααΆαα ααααΆαααααααααααααααα αΎα α’αΆα
αααα
α»ααααααααΆαα’αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααααΎααααα»α Telegram α αΎαα’αα? αααα»αααααΎααΌααα
α αΎα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααΆαααΉααααααααααααααΆαα’αα αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααα’αΆα
ααααΎααΈααΆααααα²αααααα»αααΆαα’αα? αααα»αα
αααα
ααΎαααααΆαα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
ααα’αΆα
ααααΎαααααΌαααα²αααααα»αααΆαα αΎα αααα»αααΉαααααΎααΌααα
ααΆα Messenger αααααΆαααα | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
α
ααααΆαα’αΆααααααΆααααααα α αα½ααααααααα»ααααΆαααα αα? | Facebook, TikTok and Telegram posts | chat between a customer and a seller |
Samdei Type Resources
These are the small reusable pieces behind the Samdei Type training data:
- LLM-written Khmer chat sentences (2,483), with Gemma 4 romanizations of most of them;
- two spelling tables mined from public lists of romanized Khmer words;
- three hand-written lexicons: chat spellings of frequent words, place names and English chat words.
They are inputs of our data generator, which is not public. The training pairs made from them are in samdei/samdei-type-pretraining-data and samdei/samdei-type-finetuning-data.
Paper: technical report. Inference code: github.com/Samdei-Labs/samdei-type.
Configs
| Config | Rows | Content | License |
|---|---|---|---|
chat_sentences |
2,483 | Khmer chat sentences written by Gemma 4 12B: khmer, domain (50), register (4) |
CC BY 4.0 |
chat_sentences_romanized |
2,133 | Gemma 4 romanizations of those sentences: khmer, latin, style (0β3), ok (passed our filters) |
CC BY 4.0 |
chat_lexicon |
293 | chat spellings of 99 frequent words: khmer, latin, weight, is_abbreviation |
CC0 |
places |
76 | Cambodian provinces, Phnom Penh areas and landmarks: khmer, latin_variants (a list) |
CC0 |
english_chat_words |
358 | English and Latin tokens common in Khmer chat, copied verbatim on both sides: word |
CC0 |
spelling_tables |
368 | the two mined tables, flattened: table, slot, key, spelling, prob |
Apache-2.0, with attribution |
The original JSON tables, which the generator reads, are in spelling_tables/rules_chh.json and spelling_tables/rules_wd.json.
The pieces
Chat sentences. Web text is mostly news and prose. To cover chat topics, Gemma 4 12B, run locally, wrote Khmer chat sentences across 50 domains and 4 registers:
- casual chat between close friends;
- chat between a customer and a seller;
- a polite message from a younger person to an older one;
- a family group chat.
They are the only Khmer targets of the Samdei Type training data that are not human-written, and they were never used for evaluation. The file has 2,483 rows and 2,350 distinct texts.
Romanizations. Gemma 4 romanized the sentences "the way Cambodians type on Messenger", with 4 style prompts and 10 sentences per call. Each row's khmer is the sentence as it entered the training corpus: normalized, deduplicated, and split where a generated line held more than one sentence. It can therefore differ from the chat_sentences row it came from. ok marks the rows that passed our filters and became training pairs.
Spelling tables. These are per-slot tables (onset, vowel, coda, glide, context) of how people spell each Khmer sound in Latin letters. They were learned with Viterbi alignment and hard EM from two public lists:
rules_chh: the Chhunneng word list, 24.9k (Khmer word, romanization) pairs in a consistent, dictionary-like scheme (αααα»α βkhnhom, α βchh). Held-out log-likelihood per letter: β1.31 with our hand tables, β0.86 with the mined table.rules_wd: 1.6k Wikidata person and place names, English label against Khmer label. This is the official, name-style scheme (Kampong, Banteay, Srae).
Words that are targets of a word-level evaluation set were removed from both lists before mining. Each (table, slot, key) row group gives a distribution over spellings, and prob sums to 1 within a group.
Chat lexicon. For 99 frequent words, it gives the spellings chat uses with their sampling weights, e.g. knhom, khnhom, kyom and nh for αααα»α, or tv for αα
. is_abbreviation marks the shortcuts. An abbreviation listed here is reserved for its word: the generator never produces it for another word.
How to load
from datasets import load_dataset
sents = load_dataset("samdei/samdei-type-resources", "chat_sentences", split="train")
lex = load_dataset("samdei/samdei-type-resources", "chat_lexicon", split="train")
Limitations
- The chat sentences are LLM output. They can contain unnatural phrasing or spelling mistakes, and their topics follow the 50 domains we listed.
- The Gemma romanizations reflect one LLM's idea of chat spelling. They are looser and less regular than a rule-based generator, but they are not real typing.
- Each spelling table reproduces its source's scheme: a dictionary scheme for
rules_chhand an official name scheme forrules_wd, not chat spelling as such. - The lexicons are small and hand-written by the authors.
License
| Piece | License | Attribution |
|---|---|---|
| Chat sentences and their romanizations | CC BY 4.0 | written with Gemma 4 (Apache-2.0) |
| Chat lexicon, places, English chat words | CC0 | β |
rules_chh table |
Apache-2.0 | derived from the Chhunneng romanized Khmer dataset, MIT License, Β© 2025 Chrea Chanchhunneng (notice below) |
rules_wd table |
Apache-2.0 | derived from Wikidata (CC0) |
The MIT notice of the Chhunneng dataset must accompany rules_chh. Its full text is included as spelling_tables/LICENSE-chhunneng.txt.
Citation
@misc{samdei-type-2026,
title = {Samdei Type: Separating What Is Written from How It Is Spelled for Romanized Khmer Transliteration},
author = {Mengsay Loem},
year = {2026},
note = {Technical report},
url = {https://github.com/Samdei-Labs/samdei-type/blob/main/paper/samdei-type.pdf}
}
Contact: open a discussion in this repository's Community tab.
- Downloads last month
- 56