Skip to content

Commit

Permalink
suppress nltk output when downloading punkt
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishfagg committed Apr 4, 2024
1 parent fef7cd9 commit 4586025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion type_infer/rule_based/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
try:
nltk.data.find('tokenizers/punkt')
except LookupError:
nltk.download('punkt')
nltk.download('punkt', quiet=True)

try:
from nltk.corpus import stopwords
Expand Down

0 comments on commit 4586025

Please sign in to comment.