Skip to content

Normalize Khmer scripts into a form that searchable

Notifications You must be signed in to change notification settings

seanghay/khmer-normalize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Related