Dataset Viewer
Auto-converted to Parquet Duplicate
from_char
stringclasses
79 values
to_char
stringclasses
74 values
count
int64
5
981
clients
int64
5
865
981
865
832
674
768
696
764
702
695
615
680
598
638
440
621
467
579
493
551
487
533
402
530
432
526
468
460
382
444
321
434
334
409
378
404
371
402
369
390
299
386
363
384
331
383
319
383
352
376
314
374
319
369
341
360
331
360
337
358
328
354
331
353
260
351
298
347
302
335
307
329
302
329
272
326
307
313
269
294
275
292
268
291
257
278
267
272
246
270
256
269
251
268
248
264
250
264
222
261
243
254
224
253
212
248
220
248
232
240
207
239
174
238
222
237
216
226
199
225
199
224
220
218
189
212
201
210
189
207
187
206
188
203
188
203
177
199
183
197
182
196
177
195
158
194
192
193
172
192
177
188
174
187
168
186
175
184
175
183
171
176
174
173
161
170
168
170
154
169
159
168
165
167
158
165
152
163
148
162
159
155
137
150
136
149
137
149
142
148
141
148
139
146
140
145
135
145
135
143
129
End of preview. Expand in Data Studio

Khmer Character Confusions

Which Khmer characters people substitute for which, measured from live typing.

When a user is unsure of a spelling they swap a single character and search again. Each such swap is one row here: the character replaced, the character tried instead, and how often. No query text appears in this dataset at all — only character pairs and counts.

The result is an empirical confusability matrix for the Khmer script. It recovers the expected structure without being told about it: first/second series consonant pairs (ន/ណ, ត/ទ, ក/គ, ច/ជ, ប/ព), vowel height and length (ិ/ី, ុ/ូ, េ/ើ), liquids (រ/ល, ល/ឡ) and diacritics (៍/័).

Columns

column description
from_char the character that was replaced
to_char the character tried instead
count observed substitutions
clients distinct anonymous clients contributing (always >= 5)

Rows are directional: ន -> ណ and ណ -> ន are counted separately, and the asymmetry is informative.

Uses

Weighted edit distance for Khmer spell checking and fuzzy search, OCR and ASR confusion modelling, keyboard layout and input method design, and quantitative description of where Khmer orthography underdetermines spelling from sound.

Derived from anonymous search logs of khmerdict.com, collected December 2024 - August 2026 across roughly 3.2M searches by ~153,000 anonymous clients.

Privacy

This dataset contains no logs and no identifiers. It was produced by an aggregation pipeline that:

  • requires every row to be attributable to at least 5 distinct clients, so no row can describe a single person's search;
  • discards client identifiers, IP addresses, user agents and timestamps entirely — they are never read into the output;
  • restricts all Khmer text to single words matching [\u1780-\u17DD]+, excluding digits, Latin characters, punctuation and whitespace, so no row can carry a phone number, email address, URL or freeform phrase;
  • constrains words to dictionary headwords or strings within two edits of one.

At k=5, roughly 9% of distinct queries survive while retaining about 79% of total search volume: the discarded tail is where re-identification risk lives, not where the linguistic value is.

The source logs are not published and will not be.

Downloads last month
58