From 0126d481e2acb1549835784abfc770cce6091512 Mon Sep 17 00:00:00 2001 From: ThijsVroegh Date: Tue, 15 Oct 2024 10:33:57 +0200 Subject: [PATCH] Added auxilary verbs to be highlighted as well for English language --- orangecontrib/storynavigation/modules/tagging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orangecontrib/storynavigation/modules/tagging.py b/orangecontrib/storynavigation/modules/tagging.py index 10e0c10..e6fbb17 100644 --- a/orangecontrib/storynavigation/modules/tagging.py +++ b/orangecontrib/storynavigation/modules/tagging.py @@ -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