Paularossi / AdDownloader

AdDownloader is a Python library and Command-line Interface (CLI) that directly calls the Meta Ad Library API given a valid Meta developer access token.
GNU General Public License v3.0
12 stars 3 forks source link

Quiet NLTK downloads #5

Closed LuckyLuuk12 closed 4 weeks ago

LuckyLuuk12 commented 1 month ago

Hi, I really like this repo but I was wondering whether I can somehow quiet the nltk downloads. I have not found something I could do about it in my code so I thought making this issue/suggestion would be better. I have no experience with nltk or whatsoever but it looks like the analysis.py could have this:

nltk.download('stopwords', quiet=True)
nltk.download('punkt', quiet=True)
nltk.download('vader_lexicon', quiet=True)
nltk.download('wordnet', quiet=True)

from lines 32 and onwards?

Paularossi commented 4 weeks ago

Hi @LuckyLuuk12, Thanks for raising this point. I have implemented the changes and released a new version: 0.2.11