Created
February 10, 2019 15:30
-
-
Save rajacsp/3a5ac0dad6fd460822bded7ffd51a92c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from nltk.sentiment.vader import SentimentIntensityAnalyzer | |
sid = SentimentIntensityAnalyzer() | |
sentiment = sid.polarity_scores("Hello Toronto") | |
print(sentiment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment