Skip to content

seanghay/khmer-line-breaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The lightweight Khmer line breaker with no dependencies. (10.4 kB)

Resources

License

Stars

Watchers

Forks