Does the Stanford NLP Parser have methods for semantic role labelling?

纵然是瞬间 提交于 2019-12-10 10:13:08

问题


I'm trying to find the semantic labels of english sentences. I am using the Stanford NLP parser. Does it have methods for this?

I was going through the documentation but the closest thing I could find was:

CoreAnnotations.SemanticWordAnnotation
CoreAnnotations.SemanticTagAnnotation

回答1:


No, we currently don't have a semantic role labeling (SRL) system in CoreNLP.

Unless you already have a system that explicitly requires semantic role labels, I would recommend taking a look at the Universal Dependencies representation. Despite the fact that this representation is primarily a syntactic representation, it also encodes a lot semantics and works just as well as SRL for many semantic tasks.

If this alternative does not work for you, then there also exist several SRL systems from other research groups, e.g. the SRL system from UIUC.



来源:https://stackoverflow.com/questions/31118160/does-the-stanford-nlp-parser-have-methods-for-semantic-role-labelling

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!