Text normalization for Burmese language no support on knayi. It guaranteed Burmese text to be a single canonical form.
API
Method Name | Arguments | Return | Note |
---|---|---|---|
normalize |
content: String(requre) |
String |
Normzliation solve some typing errors. Unlike spellingFix this offer more appropriate way of doing so. But this function can only solve some level of normalization. |
normalize(content)
knayi.normalize('မိြုင်မိြုင်\nဆိုင်ဆုိင်')
// output: မြိုင်မြိုင်\nဆိုင်ဆိုင်