Request access to this dataset
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
This dataset is shared for research and non-commercial use. Access requests are reviewed manually by the dataset owner. Please fill in the form below; you will be notified by email once your request is reviewed.
Log in or Sign Up to review the conditions and access this dataset content.
Khmer spell-checking pairs (clean, Khmer only)
Cleaned version of phonsobon/khmer-spellcheck. Every row contains only Khmer text (plus digits and punctuation).
Columns: input_noisy (sentence with spelling errors), target_clean (corrected sentence).
Splits: train, validation, test, split by target sentence so the same sentence never
appears in two splits.
Cleaning rules
| Rule | Removed when |
|---|---|
| foreign_language | any letter or symbol from another script (Latin, Cyrillic, Thai, Chinese, emoji, …) |
| repeat_bug | 4+ copies of the same character in a row |
| length / length_ratio | target outside 5–300 characters, or input/target length ratio > 1.5 |
| too_many_edits | more than 30% of the target changed |
| invalid_khmer | broken character order in the target (e.g. vowel before coeng) |
| known_misspelling | the target contains a known misspelling (seanghay/khmer-spelling-corrections) |
| duplicate | the same pair already kept |
Normalization on both sides: NFC, zero-width characters removed, Arabic digits → Khmer digits, deprecated characters replaced, vowel-order fixes. Targets use the RAC form ឱ្យ (not អោយ / ឲ្យ).
Result
| config | original | kept | foreign_language | invalid_khmer | duplicate | kept_% | identity_% | foreign_scripts | repeat_bug |
|---|---|---|---|---|---|---|---|---|---|
| sample_10k | 10000 | 9869 | 121 | 10 | 0 | 98.7 | 0 | {'THAI': 41, 'DEVANAGARI': 30, 'EMOJI/SYMBOL': 10, 'CJK': 10, 'SINHALA': 10, 'LATIN': 10} | 0 |
| government_100k | 100000 | 97697 | 1800 | 500 | 3 | 97.7 | 0.1 | {'THAI': 800, 'LATIN': 400, 'CYRILLIC': 200, 'ARABIC': 200, 'GEORGIAN': 100, 'EMOJI/SYMBOL': 100} | 0 |
| realistic_government_100k | 100000 | 98398 | 1000 | 500 | 2 | 98.4 | 0.1 | {'THAI': 400, 'LATIN': 300, 'CYRILLIC': 100, 'HORIZONTAL': 100, 'ARABIC': 100} | 100 |
| everyday_500k | 500000 | 474297 | 5250 | 749 | 420 | 94.9 | 0.2 | {'LATIN': 2750, 'THAI': 1000, 'DEVANAGARI': 500, 'CYRILLIC': 250, 'KATAKANA': 250, 'BENGALI': 250} | 19284 |
| general_government_1m | 1000000 | 981005 | 12500 | 4744 | 107 | 98.1 | 0.1 | {'LATIN': 4750, 'THAI': 4000, 'DEVANAGARI': 1000, 'CYRILLIC': 1000, 'ARABIC': 750, 'EMOJI/SYMBOL': 500} | 1644 |
| general_2m | 2000000 | 1876009 | 23671 | 7263 | 755 | 93.8 | 0.1 | {'LATIN': 9997, 'THAI': 6672, 'DEVANAGARI': 1998, 'CYRILLIC': 1668, 'ARABIC': 1002, 'EMOJI/SYMBOL': 667} | 92302 |
Limitations
Errors are synthetic and mostly typing-style (inserted, deleted or swapped characters). Use real-error data such as seanghay/khmer-spelling-corrections for evaluation.
- Downloads last month
- 121