Open xxWeiDGitzy opened 1 year ago
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
ltp.init_dict(path="user_dict.txt", max_window=4)
4.2 版本的 ltp 暂时还没有加入该 api,可以使用 add_words 来加入自定义词语
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