Skip to content

Commit

Permalink
Added auxilary verbs to be highlighted as well for English language
Browse files Browse the repository at this point in the history
  • Loading branch information
ThijsVroegh committed Oct 15, 2024
1 parent d4f7c52 commit 0126d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orangecontrib/storynavigation/modules/tagging.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def __process_tag(self, storyid, sentence, tag, span):
return row

def __process_english_potential_action(self, tag):
if (tag[-1].pos_ ["VERB","AUX"]):
if (tag[-1].pos_ in ["VERB","AUX"]):
# VB -- verb, base form
# VBD -- verb, past tense
# VBG -- verb, gerund or present participle
Expand Down

0 comments on commit 0126d48

Please sign in to comment.