ltp
ltp copied to clipboard
python 3.7 Issues 'LTP' object has no attribute 'init_dict'
I want to add dict to participle.
When I run ltp.init_dict(path="user_dict.txt", max_window=4)
there are some issues
'LTP' object has no attribute 'init_dict'
PLZ help me
4.2 版本的 ltp 暂时还没有加入该 api,可以使用 add_words 来加入自定义词语