Normalize Khmer scripts into a form that searchable.
Installation
npm install khmer-normalize
Usage
import { reorderText } from 'khmer-normalize';
const { reorderText } = require('khmer-normalize');
const result = reorderText("ស្រ្តី")
// => ស្រ្តី
⚠️ Caveats This library transforms text into a form that can be used for text-indexing it's not intended for displaying!
Thanks to Trey314159/KhmerSyllableReordering