kantundpeterpan commited on
Commit
8449875
·
verified ·
1 Parent(s): cb4572b

Update tasks/text.py

Browse files
Files changed (1) hide show
  1. tasks/text.py +1 -0
tasks/text.py CHANGED
@@ -17,6 +17,7 @@ from nltk.tokenize import WordPunctTokenizer
17
  from nltk.stem import WordNetLemmatizer
18
  from nltk.corpus import stopwords
19
  import string
 
20
 
21
  stop = set(stopwords.words('english') + list(string.punctuation))
22
 
 
17
  from nltk.stem import WordNetLemmatizer
18
  from nltk.corpus import stopwords
19
  import string
20
+ nltk.download('stopwords')
21
 
22
  stop = set(stopwords.words('english') + list(string.punctuation))
23