add missing resource
Browse files
utils.py
CHANGED
|
@@ -12,8 +12,12 @@ import re
|
|
| 12 |
import string
|
| 13 |
import inflect
|
| 14 |
|
| 15 |
-
nltk.download(
|
| 16 |
-
nltk.download(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
punct_chars = list((set(string.punctuation) | {'β', 'β', 'β', 'β', '~', '|', 'β', 'β', 'β¦', "'", "`", '_'}))
|
| 19 |
punct_chars.sort()
|
|
|
|
| 12 |
import string
|
| 13 |
import inflect
|
| 14 |
|
| 15 |
+
nltk.download('punkt')
|
| 16 |
+
nltk.download('punkt_tab')
|
| 17 |
+
nltk.download('averaged_perceptron_tagger')
|
| 18 |
+
nltk.download('averaged_perceptron_tagger_eng')
|
| 19 |
+
# nltk.download('wordnet')
|
| 20 |
+
# nltk.download('omw-1.4')
|
| 21 |
|
| 22 |
punct_chars = list((set(string.punctuation) | {'β', 'β', 'β', 'β', '~', '|', 'β', 'β', 'β¦', "'", "`", '_'}))
|
| 23 |
punct_chars.sort()
|