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

您好,关于知识图谱三元组抽取的问题,望解答谢谢! #72

Open
cantianaishu opened this issue May 20, 2022 · 0 comments

Comments

@cantianaishu
Copy link

import jiagu
text = '姚明1980年9月12日出生于上海市徐汇区,祖籍江苏省苏州市吴江区震泽镇,前中国职业篮球运动员,司职中锋,现任中职联公司董事长兼总经理。'
knowledge = jiagu.knowledge(text)
print(knowledge)

您好,我想使用上面这段代码进行三元组的实体抽取,请问能够应用到自己的文本上吗,或者您所说的只能抽取百科类的文本,那么该如何使用呢?(也就是自定义text的内容),感谢!

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

1 participant