Skip to content

Commit

Permalink
Merge pull request #412 from robertcv/enh/nltk_print
Browse files Browse the repository at this point in the history
[ENH] nltk: disable download prints
  • Loading branch information
ajdapretnar authored Feb 19, 2019
2 parents 048bd6f + 911e33c commit d8f7afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orangecontrib/text/misc/nltk_data_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def nltk_data_dir():

def _download_nltk_data():
global is_done_loading
nltk.download(NLTK_DATA, download_dir=nltk_data_dir())
nltk.download(NLTK_DATA, download_dir=nltk_data_dir(), quiet=True)
is_done_loading = True
sys.stdout.flush()

Expand Down

0 comments on commit d8f7afc

Please sign in to comment.