Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suppress nltk output when downloading punkt #65

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Conversation

hamishfagg
Copy link
Contributor

NLTK outputs the following when downloading punkt in the mindsdb docker container:

[nltk_data] Downloading package punkt to /root/nltk_data...
[nltk_data]   Unzipping tokenizers/punkt.zip.

It annoys me and it pollutes the logs :)

NOTE: We already use quiet=True when downloading stopwords

@hamishfagg hamishfagg requested a review from paxcema April 4, 2024 21:04
Copy link
Contributor

@paxcema paxcema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@paxcema paxcema merged commit f50744d into staging Apr 5, 2024
12 checks passed
@hamishfagg hamishfagg deleted the fix/nltk_output branch April 11, 2024 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants