Skip to content

[nltk_data] Package omw-1.4 is already up-to-date! #10

@zk2

Description

@zk2

[nltk_data] Downloading package omw-1.4 to /home/ozmosys/nltk_data...
[nltk_data] Package omw-1.4 is already up-to-date!

This message is very annoying...
And it causes an error End of script output before headers...

Is it possible to specify quiet=True mode in venv/lib/python3.9/site-packages/text_preprocessing/text_preprocessing.py

nltk.download('stopwords', quiet=True)
nltk.download('wordnet', quiet=True)
nltk.download('punkt', quiet=True)
nltk.download('omw-1.4')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions