Skip to content

SVMs based Vietnamese morphological analyzer. Web demo is old version.

License

Notifications You must be signed in to change notification settings

kanjirz50/viet-morphological-analysis-svm

Repository files navigation

Vietnamese morphological analyzer using SVMs.

SVMs based morphological analyzer for word segmentation and part-of-speech tagging.

Old version(Python2 and YamCha) is here.

Usage

$ pip install visvmtagger
$ python
>>> from visvmtagger import Tagger
>>> t = Tagger()
>>> t.tokenize("Tôi là sinh viên .")
[Tôi(B-PP), (B-VB), sinh(B-NN), viên(I-NN), .(B-SB)]
>>> t.tokenize("Tôi là sinh viên .")[0].surface # pos is also available
'Tôi'

How to make model file

Please see a main() in visvmtagger/train.py .

License

MIT

About

SVMs based Vietnamese morphological analyzer. Web demo is old version.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages