cjhutto / vaderSentiment

VADER Sentiment Analysis. VADER (Valence Aware Dictionary and sEntiment Reasoner) is a lexicon and rule-based sentiment analysis tool that is specifically attuned to sentiments expressed in social media, and works well on texts from other domains.
MIT License
4.43k stars 1k forks source link

HTTPError: HTTP Error 429: Too Many Requests #93

Closed mvcduarte closed 4 years ago

mvcduarte commented 4 years ago

After a few requests (< 100), it reaches "too many requests", probably due to the google translate API. Any idea how to overcome this issue?

Thanks in advance,

Marcus

cjhutto commented 4 years ago

So - VADER does not inherently provide it's own translation. The use of "My Memory Translation Service" from MY MEMORY NET (see: http://mymemory.translated.net) is part of the demonstration showing (one way) for how to use VADER on non-English text. (Please note the usage limits for number of requests: http://mymemory.translated.net/doc/usagelimits.php)

I think it works pretty well, and if needed, a VADER user (who also wanted expanded translation service) could pay for the premium Google Translate API or some other translation service with a less restrictive request limit... or else use some other translation service.