Spaces:
Sleeping
Sleeping
Commit ·
0db34df
1
Parent(s): 0fc9bde
Update src/utils.py
Browse files- src/utils.py +4 -4
src/utils.py
CHANGED
|
@@ -16,12 +16,12 @@ nlp = en_fetch_ner_spacy_tsf.load()
|
|
| 16 |
# clear_output()
|
| 17 |
|
| 18 |
import nltk
|
| 19 |
-
nltk.download('stopwords')
|
| 20 |
|
| 21 |
from nltk.corpus import stopwords
|
| 22 |
-
stop_words = set(stopwords.words('english'))
|
| 23 |
-
additional_stop_words = {'pack'}
|
| 24 |
-
stop_words.update(additional_stop_words)
|
| 25 |
# clear_output()
|
| 26 |
|
| 27 |
|
|
|
|
| 16 |
# clear_output()
|
| 17 |
|
| 18 |
import nltk
|
| 19 |
+
# nltk.download('stopwords')
|
| 20 |
|
| 21 |
from nltk.corpus import stopwords
|
| 22 |
+
# stop_words = set(stopwords.words('english'))
|
| 23 |
+
# additional_stop_words = {'pack'}
|
| 24 |
+
# stop_words.update(additional_stop_words)
|
| 25 |
# clear_output()
|
| 26 |
|
| 27 |
|