Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the existent Sentiment Analysis Algorithm?

I and a group of people are developing a Sentiment Analysis Algorithm. I would like to know what are the existent ones, because I want to compare them. Is there any article that have the main algorithms in this area?

Thanks in advance

Thiago

like image 612
Thiago Avatar asked May 21 '12 20:05

Thiago


People also ask

What are the algorithm used for sentiment analysis?

There are multiple machine learning algorithms used for sentiment analysis like Support Vector Machine (SVM), Recurrent Neural Network (RNN), Convolutional Neural Network (CNN), Random Forest, Naïve Bayes, and Long Short-Term Memory (LSTM), Kuko and Pourhomayoun (2020).

How many types of sentiments are there?

Basically, there are three types of sentiments — “positive”, “negative” and “neutral” along with more intense emotions like angry, happy and sad or interest or not interested etc. Further you can find here more refined sentiments used to analyze the sentiments of the people in different scenarios.


2 Answers

Some of the papers on sentiment analysis may help you -

  1. One of the earlier works by Bo Pang, Lillian Lee http://acl.ldc.upenn.edu/acl2002/EMNLP/pdfs/EMNLP219.pdf
  2. A comprehensive survey of sentiment analysis techniques http://www.cse.iitb.ac.in/~pb/cs626-449-2009/prev-years-other-things-nlp/sentiment-analysis-opinion-mining-pang-lee-omsa-published.pdf
  3. Study by Hang Cui, V Mittal, M Datar using 6-grams http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.83.5942&rep=rep1&type=pdf

For quick implementation naive bayes is recommended. You can find an example here http://nlp.stanford.edu/IR-book/

We did a statistical comparision of various classifiers and found SVM to be most accurate, though for a dataset consisting of large contents ( http://ai.stanford.edu/~amaas/data/sentiment/ ) none of the methods worked well.Our study may not be accurate though. Also instead of treating sentiment analysis as a text classification problem, you can look at extraction of meaning from text, though I do not know how successful it might be.

like image 102
yo_man Avatar answered Jan 03 '23 20:01

yo_man


apparently the NLTK, a python natural language processing library, has one:

http://text-processing.com/demo/sentiment/

Probably worth having a look at it.

like image 40
Maus Avatar answered Jan 03 '23 20:01

Maus