We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我已经仔细查看过本库的README和之前的Issues,没有发现解决方案。
我完整运行了提供的以下关系网络示例函数,但print都是{},其它函数如情感分析、分句分词等都正常 def entity_network(): print("\nentity network") # 在现有实体库的基础上随时新增,比如从新词发现中得到的漏网之鱼 ht.add_new_entity("武磊", "颜骏凌", "球员") docs = ["武磊和颜骏凌是球员", "武磊和郜林都是国内顶尖前锋"] G = ht.build_entity_graph(docs) print(dict(G.edges.items())) G = ht.build_entity_graph(docs, used_types=["球员"]) print(dict(G.edges.items()))
操作系统:linux
python版本:3.6.8
HarvestText版本:V0.8
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我已经仔细查看过本库的README和之前的Issues,没有发现解决方案。
我完整运行了提供的以下关系网络示例函数,但print都是{},其它函数如情感分析、分句分词等都正常
def entity_network():
print("\nentity network")
# 在现有实体库的基础上随时新增,比如从新词发现中得到的漏网之鱼
ht.add_new_entity("武磊", "颜骏凌", "球员")
docs = ["武磊和颜骏凌是球员",
"武磊和郜林都是国内顶尖前锋"]
G = ht.build_entity_graph(docs)
print(dict(G.edges.items()))
G = ht.build_entity_graph(docs, used_types=["球员"])
print(dict(G.edges.items()))
操作系统:linux
python版本:3.6.8
HarvestText版本:V0.8
The text was updated successfully, but these errors were encountered: