python-stop-words icon indicating copy to clipboard operation
python-stop-words copied to clipboard

Example not work on python 3.7.0

Open nadavvin opened this issue 7 years ago • 2 comments

It return empty []

from stop_words import get_stop_words

stop_words = get_stop_words('en')
stop_words = get_stop_words('english')

from stop_words import safe_get_stop_words

stop_words = safe_get_stop_words('unsupported language')
print(stop_words)

nadavvin avatar Sep 03 '18 21:09 nadavvin

Do you have NLTK package already installed?

zhangby2085 avatar Sep 04 '18 03:09 zhangby2085

I install now: pip install stop-words pip install NLTK

Then run the example, same result: []

Also NLTK not mention in README.rst

nadavvin avatar Dec 16 '18 06:12 nadavvin