Skip to content

Commit 723b404

Browse files
committed
add ref
1 parent 35c5364 commit 723b404

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,17 @@ use crfs:Model;
3232

3333
fn main() {
3434
let buf = fs::read("src/crf_ner_10000.crfsuite").unwrap();
35-
let model = Model(&buf).unwrap();
35+
let model = Model::new(&buf).unwrap();
3636
let input_str = "ឃាត់ខ្លួនជនសង្ស័យ០៤នាក់ Hello, world ករណីលួចខ្សែភ្លើង នៅស្រុកព្រៃនប់។".to_string();
3737
for token in khmercut::tokenize(&model, &input_str) {
3838
print!("{}|", token);
3939
}
4040
}
41-
```
41+
```
42+
43+
---
44+
45+
## References
46+
47+
- [VietHoang1512/khmer-nltk/](https://github.com/VietHoang1512/khmer-nltk/) Khmer Natural Language Processing Tookit, Phan Viet Hoang (2020)
48+
- [seanghay/khmercut](https://github.com/seanghay/khmercut) A (fast) Khmer word segmentation toolkit.

0 commit comments

Comments
 (0)