All I want to do is find the sentiment (positive/negative/neutral) of any given string. On researching I came across Stanford NLP. But sadly its in Java. Any ideas on how ca
I would suggest using the TextBlob library. A sample implementation goes like this:
from textblob import TextBlob def sentiment(message): # create TextBlob object of passed tweet text analysis = TextBlob(message) # set sentiment return (analysis.sentiment.polarity)