SRL-English icon indicating copy to clipboard operation
SRL-English copied to clipboard

Possible IndexError in reader of verb_sense_srl module

Open evelinamorim opened this issue 3 years ago • 0 comments

Thanks for releasing the code. Great code!

However, I am experiencing an error in the reader.py of verb_sense_srl module. I wonder if it is because in the line 342, where the following line,

verb = tokens[verb_index].text

, employs the tokens list and not new_sentence list. I changed it to use new_sentence and I did not experience the error anymore. However, I am not sure if this change it is correct.

evelinamorim avatar Dec 21 '22 11:12 evelinamorim