-
Notifications
You must be signed in to change notification settings - Fork 91
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
entity_extractor.py #12
Comments
已解决,这个文件新建一下就好 4 |
正常应该没有这么慢吧,这一步计算特征需要先得到两跳子图内关系,会用到知识库,如果知识库没有建索引的话会比较慢,最好在实体名这个属性上建个索引。
…---Original---
From: "miaozjs"<notifications@github.com>
Date: Mon, Dec 2, 2019 22:03 PM
To: "duterscmy/ccks2019-ckbqa-4th-codes"<ccks2019-ckbqa-4th-codes@noreply.github.com>;
Cc: "Subscribed"<subscribed@noreply.github.com>;
Subject: Re: [duterscmy/ccks2019-ckbqa-4th-codes] entity_extractor.py (#12)
已解决,这个文件新建一下就好
另一个问题:entity_extractor.py 文件这个速度是正常的吗?
4
商朝在哪场战役中走向覆灭?
====当前实体mention为:商朝====
====当前实体mention为:在哪====
====当前实体mention为:场====
====当前实体mention为:战役====
====当前实体mention为:走向====
====当前实体mention为:覆灭====
====当前属性mention为:战役中====
====当前属性mention为:商朝====
====当前属性mention为:在哪====
====当前属性mention为:走向====
====当前属性mention为:覆灭====
候选实体为:
<商朝> ['商朝', 2.0, 26.0, 0.0, 2, 7]
<在哪> ['在哪', 2.0, 1.0, 2.0, 2, 3]
<场_(词语释义)> ['场', 1.0, 1.0, 4.0, 1, 2]
<场_(物理学定义)> ['场', 1.0, 1.0, 4.0, 1, 2]
<场_(戏剧术语)> ['场', 1.0, 1.0, 4.0, 1, 1]
<场_(视频技术术语)> ['场', 1.0, 1.0, 4.0, 1, 1]
<场_(茶家术语)> ['场', 1.0, 1.0, 4.0, 1, 1]
<场_(谭剑飞创作的诗歌)> ['场', 1.0, 1.0, 4.0, 1, 2]
<战役> ['战役', 2.0, 713.0, 5.0, 1, 5]
<巴布亚半岛战役> ['战役', 2.0, 713.0, 5.0, 1, 3]
<公元246年> ['战役', 2.0, 713.0, 5.0, 0, 2]
<走向> ['走向', 2.0, 2254.0, 8.0, 1, 3]
<覆灭> ['覆灭', 2.0, 70.0, 10.0, 1, 3]
<颠危> ['覆灭', 2.0, 70.0, 10.0, 0, 0]
"战役中" ['战役中', 3.0, 1.0, 5.0, 2, 3]
15
耗费时间236.69秒
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@duterscmy 同求similarity.py 中 生成 |
|
0 |
docker运行 |
@miaozjs |
提示缺少entity_extractor_ans.txt文件,想请问entity_extractor_ans.txt来自哪里
The text was updated successfully, but these errors were encountered: