Spaces:
Runtime error
Runtime error
Update tasks/text.py
Browse files- 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 |
|