Open kchax4377 opened 4 years ago
Hi @kchax4377 I'm sadly not sure what you want to achieve.
In SRL, you usually want to identify the frame trigger (for example the word hit) and the frame arguments (for example the subject John and object Jack).
For that, you usually use classification methods, for example, based on BERT.
Not sure how you want to use sentence embeddings for that?
Best Nils Reimers
Well, actually I am not able to figure out how to tell BERT to recognize the VERB and the corresponding SUBJECT and OBJECT. My corpus is already tagged as:
First of all, thank you for your wonderful work "SBERT". Is there a way to create the embeddings for semantic role labelling (SRL) task? For example, I want to create the embeddings in the following manner:
sentence:verb:SRL Role 1:SRL Role 2:....:SRL Role n An example:
John hit Jack with a stick while playing : hit : John : with a stick : while playing
The objective is to use the 'verb' as the marker and identify the 'subject' and 'object' of the sentence. So, how do I create such an embedding?