You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App no longer available. Sorry Due to lack of funds to run a seperate server App has been taken out of the app store. Use it free to build your own app tho
Sentiment Classification using WSD, Maximum Entropy & Naive Bayes Classifiers
Sentiment Classifier using Word Sense Disambiguation using wordnet and word occurance
statistics from movie review corpus nltk. For twitter sentiment analysis bigrams are used as
features on Naive Bayes and Maximum Entropy Classifier from the twitter data. Classifies into positive and negative labels.
Next is use senses instead of tokens from the respective data.
The above online demo uses movie review corpus from nltk, twitter and Amazon,on which Naive Bayes classifier is trained. Classifier using WSD SentiWordNet is based on heuristics and uses WordNet and SentiWordNet. Test results on sentiment analysis on twitter and amazon customer reviews data & features used for NaiveBayes will be Github.
Requirements
In Version 0.5 all the following requirements are installed automatically. In case of troubles install those manually.
cd sentiment_classifier/src/senti_classifier/
python senti_classifier.py -c reviews.txt
Library Usage
fromsenti_classifierimportsenti_classifiersentences= ['The movie was the worst movie', 'It was the worst acting by the actors']
pos_score, neg_score=senti_classifier.polarity_scores(sentences)
printpos_score, neg_score
... 0.01.75