Spaces:
Sleeping
Sleeping
johaunh
commited on
Commit
·
edbe5dd
1
Parent(s):
e928653
Add NLTK stopwords download
Browse files
utils.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
-
|
2 |
-
|
|
|
|
|
3 |
import re
|
|
|
|
|
4 |
|
5 |
stop_words = stopwords.words("english")
|
6 |
|
|
|
1 |
+
import nltk
|
2 |
+
|
3 |
+
nltk.download("stopwords")
|
4 |
+
|
5 |
import re
|
6 |
+
from nltk.corpus import stopwords
|
7 |
+
from pandas import DataFrame
|
8 |
|
9 |
stop_words = stopwords.words("english")
|
10 |
|