Okay, here’s some regular prose, which isn’t explanatory at all, and then here comes a block of code:
from stop_words import get_stop_words
from nltk.corpus import stopwords
mod_stop = get_stop_words('en')
nltk_stop = stopwords.words("english")
print("mod_stop is {} words, and nltk_stop is {} words".format(len(mod_stop), len(nltk_stop)))
returns:
mod_stop is 174 words, and nltk_stop is 153 words