ikarasz commited on
Commit
aa6c0b3
Β·
1 Parent(s): c435265

add missing resource

Browse files
Files changed (1) hide show
  1. utils.py +6 -2
utils.py CHANGED
@@ -12,8 +12,12 @@ import re
12
  import string
13
  import inflect
14
 
15
- nltk.download("averaged_perceptron_tagger")
16
- nltk.download("punkt")
 
 
 
 
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()