-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pycharm运行错误 #21
Comments
我也遇到了一样的问题!请问您解决了吗? |
这条报错就是告诉了你segmentor怎么用,按照上面的用法用就行了,不需要先创建实体,再load |
报错都提示你怎么用了呀 |
self.segmentor = Segmentor(model_path="./ltp_data/cws.model", lexicon_path= None, force_lexicon_path = None) |
你好,我修改后也遇到一样的问题,可以方便告知你是如何解决的吗,万分感谢 |
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. pyltp.Segmentor(model_path: str, lexicon_path: str = None, force_lexicon_path: str = None)
The text was updated successfully, but these errors were encountered: