我试图创建一个遥远的监督语料库。 因此,到目前为止,我已经安装了数据,并通过它通过NER系统,所以你可以看到下面的例子。
原始数据:
<p>
Myles Brand, the president of the National Collegiate Athletic Association, said in a telephone interview that he had not been approached about whether the N.C.A.A. might oversee a panel for the major bowl games similar to the one that chooses teams for the men's and women's basketball tournaments.
</p>
加工与斯坦福NER:
<p>
<PERSON>Myles Brand</PERSON>, the president of the <ORGANIZATION>National Collegiate Athletic Association</ORGANIZATION>, said in a telephone interview that he had not been approached about whether the <ORGANIZATION>N.C.A.A.</ORGANIZATION> might oversee a panel for the major bowl games similar to the one that chooses teams for the men's and women's basketball tournaments.
</p>
现在,这里是包含了人的一句话Myles Brand
和组织National Collegiate Athletic Association
。
在游离碱,我们有这两个实体共享的关系纽带President
正如你可以看到:
游离碱的关系:
人们会认为下面的代码会做的伎俩, 在此基础上的问题 ,但实际上却没有,但正如你从图片中可以看到上面的游离碱似乎保持在自己的语料库这两个实体之间的关系。 这是什么,我做错了什么?
我一直在玩弄它在这里 。
[{
"type" : "/type/link",
"source" : { "id" : "/en/myles_brand" },
"master_property" : null,
"target" : { "id" : "/en/national_collegiate_athletic_association" },
"target_value" : null
}]
此外,我有好几千个实体对的,我想我可以写使用游离碱的Java API来找出所有这些反过来的关系,一些简短的Java程序,没有任何人有这样的,我可以采取程序的示例在偷看?
我想,虽然知道真实的事情是,一旦我有关系,什么是assosicate那些有距离监控语料库的最好方式,我感到困惑的时候终于它被结合在一起的这一切是如何看起来。