0.0.1 • Published 1 year ago

khmer-normalize v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Khmer normalize

Normalize Khmer scripts into a form that searchable.

Usage

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!

References

Thanks to Trey314159/KhmerSyllableReordering