The stopwords example on at least the slides from week 5, but possibly also the book, first import stopwords from nltk and then use stopwords as list of English stopwords, thereby overwriting the function. The name needs to be changed to mystopwords or sth like that to not teach people bad coding practices
The stopwords example on at least the slides from week 5, but possibly also the book, first import
stopwords
from nltk and then usestopwords
as list of English stopwords, thereby overwriting the function. The name needs to be changed to mystopwords or sth like that to not teach people bad coding practices