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 LM corpus

Natural Khmer text for training a character-level language model (ranking spell-check candidates).

Columns: text, source, category (news topic, if known), doc_id. Splits: train 1,245,302 lines / validation 24,552 lines (split by document, so validation documents are unseen). Total characters: 223,771,406.

Source Documents Lines kept Characters Duplicates removed Origin / license
news_b 10,000 90,725 13,238,691 10,658 news articles from Khmer news websites (copyright of the publishers)
news_a 9,969 92,284 12,350,542 21,117 news articles from Khmer news websites (copyright of the publishers)
wikipedia 2,481 97,093 27,027,055 5,942 Khmer Wikipedia, CC BY-SA
oscar 729,978 982,997 170,797,416 88,206 OSCAR (Common Crawl), text copyright of the original websites
spellcheck_target 0 6,755 357,702 3,457,885 phonsobon/khmer-spellcheck-clean (cc-by-4.0)

Processing

  • Word-segmented sources were restored to natural writing: a double space is an original space, a single space was added by the segmenter and is removed.
  • Normalization: NFC, zero-width characters removed, Arabic digits → Khmer digits, deprecated characters replaced, vowel-order fixes.
  • Khmer only: text is split at every character from another script (Latin, Cyrillic, emoji, …), pieces with fewer than 20 Khmer characters are dropped.
  • Removed: repeated-character noise, broken character order, exact duplicates, and every validation/test sentence of phonsobon/khmer-spellcheck-clean.

Sources

Raw data from github.com/phylypo/khmer-text-data and github.com/phylypo/segmentation-crf-khmer. Those repositories have no license file. The news and web text belong to their publishers: keep this dataset private unless you have permission to redistribute it.

Downloads last month
143