Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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
like image 311
noob11 Avatar asked Feb 09 '23 17:02

noob11


1 Answers

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.

like image 188
Sebastian Schuster Avatar answered May 10 '23 01:05

Sebastian Schuster