Skip to content

Possible IndexError in reader of verb_sense_srl module #9

Description

@evelinamorim

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions