Traceback (most recent call last):
File "D:\github\text\TextGrapher-master\text_grapher.py", line 225, in <module>
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:
已经安装了pyltp