How to import and use stopwords list from NLTK?
https://stackoverflow.com/questions/70698947/how-to-import-and-use-stopwords-list-from-nltk
WebJan 13, 2022 · For example, to load the English stopwords list, you can use the following: from nltk.corpus import stopwords. stop_words = list(stopwords.words('english')) You can even extend the list, if you want to, as shown below ( Note: if stopwords.words() returns an object of set type, then the conversion to list —as shown above— is required, in ...
DA: 82 PA: 2 MOZ Rank: 40