Skip to content
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

运行text_grapher.py出错 #15

Open
gaohanga opened this issue Jan 28, 2022 · 6 comments
Open

运行text_grapher.py出错 #15

gaohanga opened this issue Jan 28, 2022 · 6 comments

Comments

@gaohanga
Copy link

Traceback (most recent call last):
File "D:\github\text\TextGrapher-master\text_grapher.py", line 225, in
handler = CrimeMining()
File "D:\github\text\TextGrapher-master\text_grapher.py", line 17, in init
self.parser = LtpParser()
File "D:\github\text\TextGrapher-master\sentence_parser.py", line 12, in init
self.segmentor = Segmentor()
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)

Invoked with:
请问这是什么原因

@yellowmamba824
Copy link

me too

@lili1234567890
Copy link

lili1234567890 commented Sep 22, 2022 via email

@jyyang621
Copy link

我也是这个错误

@lili1234567890
Copy link

lili1234567890 commented Aug 6, 2023 via email

@coco1230
Copy link

coco1230 commented Dec 4, 2023

pyltp的版本问题

@lili1234567890
Copy link

lili1234567890 commented Dec 4, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants