There is a problem in the function get_verb_phrases, the sentence verb_phrases = textacy.extract.matches(doc, verb_patterns) ends with the error "TypeError: 'module' object is not callable".
I have tried to correct the problem with verb_phrases = textacy.extract.matches.token_matches(doc, verb_patterns), it works fine with the first example, but the second one ("Cells have organelles.") returns an empty list of verbs.
There is a problem in the function
get_verb_phrases
, the sentenceverb_phrases = textacy.extract.matches(doc, verb_patterns)
ends with the error "TypeError: 'module' object is not callable". I have tried to correct the problem withverb_phrases = textacy.extract.matches.token_matches(doc, verb_patterns)
, it works fine with the first example, but the second one ("Cells have organelles.") returns an empty list of verbs.I use the version '0.11.0' of textacy.