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
UnicodeDecodeError when calling SentimentIntensityAnalyzer #12
Comments
Just use NLTK can help this problem. or you may want to use something like |
Thanks! The new update (with new pip install) has better compatibility support for Python 3, which solves many of the encoding/decoding issues. |
As I described in below question; I get UnicodeDecodeError when calling the API initializer. I am using the latest pip version of the library on Python 3. |
i'm also getting the same error with Python3 |
I am using docker to run the vaderSentiment: python: 3.6, pip: 9.0.1 (latest), ubuntu: 16.04, but I still get the same error. Anyone has a good suggestion? Dockerfile: RUN apt-get update -y update pipRUN python3.6 -m pip install pip --upgrade Setup flask applicationRUN mkdir -p /deploy/app |
Hi all
I've just been trying to learn how to use the SentimentIntensityAnalyzer() and I've come up with the problem where:
I've read the thread with a similar issue however, I dont quite understand where to add the 'u' to make the string unicode. I've only did: analyzer = SentimentIntensityAnalyzer()
can someone help me?
The text was updated successfully, but these errors were encountered: