khmer-line-breaker
v0.1.0
Published
The lightweight Khmer line breaker with no dependencies.
Downloads
2
Readme
Khmer Line Breaker
The lightweight Khmer line breaker with no dependencies.
npm install khmer-line-breaker
import parse from "khmer-line-breaker";
const tokens = parse("មិនដឹងទេលោកព្រះ")
console.log(tokens);
// => [ 'មិន', 'ដឹង', 'ទេ', 'លោក', 'ព្រះ' ]
License
MIT
Reference
Evaluation
train accuracy: 0.95734
train prec.: 0.91397
train recall: 0.91331
train fscore: 0.91364