Does the Stanford NLP Parser have methods for sema

2019-05-11 10:40发布

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条回答
Ridiculous、
2楼-- · 2019-05-11 11:13

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.

查看更多
登录 后发表回答