Yet another word segmentation tools.
Install: pip install handict
from handict import Handict
han = Handict('path_of_user_dict_file') # the same format as jieba dict
han.segment('中文自然语言处理太难了')| Name | Name | Last commit date | ||
|---|---|---|---|---|
Yet another word segmentation tools.
Install: pip install handict
from handict import Handict
han = Handict('path_of_user_dict_file') # the same format as jieba dict
han.segment('中文自然语言处理太难了')