TextGrapher
TextGrapher copied to clipboard
Text Content Grapher based on keyinfo extraction by NLP method。输入一篇文档,将文档进行关键信息提取,进行结构化,并最终组织成图谱组织形式,形成对文章语义信息的图谱化展示。
程序运行报错

如果我使用自定义的词典,如何更改事件挖掘部分的代码,让它根据我的词典来进行知识抽取,绘制知识图谱?
感觉有文本限制

有能链接这个图谱,进行问答语义计算,然后搜索出答案吗?
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 =...
运行text_grapher.py文件其他函数没问题。例如 handler.rel_entity_keyword() 就是运行handler.mian()出错
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)
 请问遇到这个问题怎么解决呀
请问有小伙伴遇到这种问题吗?照着网上的说法把pycharm里运行配置也设置了,还是不行。 
运行结果
你好,为什么我运行完代码之后,html文件打开是空白的?