Skip to content

Commit

Permalink
Make nltk.download quiet
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts authored and yeraydiazdiaz committed Jun 11, 2023
1 parent 57b9950 commit 2494ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lunr/languages/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@


def _get_stopwords_and_word_characters(language):
nltk.download("stopwords")
nltk.download("stopwords", quiet=True)
verbose_language = SUPPORTED_LANGUAGES[language]
stopwords = nltk.corpus.stopwords.words(verbose_language)
# TODO: search for a more exhaustive list of word characters
Expand Down

0 comments on commit 2494ba5

Please sign in to comment.