如何在斯坦福大学CoreNLP中使用图元注释器? [英] How to use entitymentions annotator in stanford CoreNLP?

查看:50
本文介绍了如何在斯坦福大学CoreNLP中使用图元注释器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试Stanford CoreNLP的最新版本.当我提取位置或组织名称时,我看到每个单词都用注释标记.因此,如果该实体是纽约时间",那么它将被记录为三个不同的实体:"NEW","YORK"和"TIMES".我发现最新的CoreNLP具有"ententmentions"注释器.我认为这个注释器可以帮助我解决这个问题.但是,此注释器没有用法说明或示例.有人可以给我更多有关此新功能的信息吗?

I am trying the newest version of Stanford CoreNLP. When I extract location or organisation names, I see that every single word is tagged with the annotation. So, if the entity is "NEW YORK TIMES", then it is getting recorded as three different entities : "NEW", "YORK" and "TIMES". I find that the newest CoreNLP have "entitymentions" annotator. I think this annotator may help me to solve this problem. However, there is no usage instruction or example for this annotator. Could anyone give me more info about this new feature?

推荐答案

看看

Take a look at the mentions annotation key. This should be attached to a sentence, and contain a list of CoreMaps corresponding to each mention. So, there should be a CoreMap in there that corresponds to the mention of "New York Times".

这篇关于如何在斯坦福大学CoreNLP中使用图元注释器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆