antiboredom / videogrep

automatic video supercuts with python
https://antiboredom.github.io/videogrep
Other
3.33k stars 257 forks source link

hypernym example works with 'body part' not 'body parts' which returns an error #50

Closed fishmongr closed 2 years ago

fishmongr commented 7 years ago

For the "hyper: hypernym search. For example 'body parts' grabs all lines of dialog that reference a body part" part of the documentation it looks like 'body part' is the search that works. For some reason 'body parts' returns an error @: File "/usr/local/lib/python2.7/site-packages/videogrep/searcher.py", line 34, in hypernym_search synset = wordnet.synsets(search_word)[0] IndexError: list index out of range