hello_world
hello_world copied to clipboard
博客文章开源代码分享区
您好,请问ht.build_entity_graph(docs, used_types=["人名"])中,used_types的定义、来源及类型是怎样的,我根据自身需求改写程序时这部分一直不出现结果,但是并不报错,谢谢。在CSDN上两年前有人提出过同样的问题, “具体是: G = ht.build_entity_graph(doc_ch01, used_types=["人名"]) print(G.nodes) #为空,但是 “doc_ch01”是正确的内容” 但至今已无回复,盼作者解答。https://blog.csdn.net/blmoistawinde/article/details/85344906
您好,感谢您的开源代码。我在运行您的文件时,发现在“挑选主要人物”时,在定义important_nodes的时候提示'method' object is not iterable这一错误,出现了bug,请问这个问题该如何解决呢?打扰您了,非常感激。
您好,我想请问三国里面那个 get_sanguo()是如何 实现的,是如何把文本读进来的
这个方法在运行g = ht.build_entity_graph(doc_ch01, used_types=["人名"]),返回的数组是空的,并且,在  出现问题,没有返回结果,请问您知道吗?
File "D:\Anaconda3\lib\site-packages\pandas\core\dtypes\dtypes.py", line 991, in is_dtype return super(IntervalDtype, cls).is_dtype(dtype) TypeError: super(type, obj): obj must be an instance or subtype of type 请问这是为什么
ModuleNotFoundError: No module named 'community' 这个是怎么回事啊?