Skip to content

Commit 59351e5

Browse files
author
He Hao
committed
add nltk.download('omw-1.4')
1 parent a3008de commit 59351e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

text_preprocessing/text_preprocessing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
nltk.download('stopwords', quiet=True)
2222
nltk.download('wordnet', quiet=True)
2323
nltk.download('punkt', quiet=True)
24+
nltk.download('omw-1.4')
2425

2526
_CUSTOM_SUB_CSV_FILE_PATH = os.path.join(os.path.dirname(__file__), 'data/custom_substitutions.csv')
2627
_IGNORE_SPELLCHECK_WORD_FILE_PATH = os.path.join(os.path.dirname(__file__), 'data/ignore_spellcheck_words.txt')

0 commit comments

Comments
 (0)