I want to detect tweet text agreement. Suppose someone posts some subjective opinion in twitter. Other users will post reply either agreeing or opposing the original tweet. I want to estimate the amount of agreement. Is there any algorithm/library in any language to do that or any labeled dataset?
Sure there can be more complicated approach but if you are dealing with raw tweets, I think problem is twofolds;
- Topic Discovery
You first need to find out what the tweet is talking about. It will be much easier task if you can skip this, given that you are looking at tweets with specific tags; that you know what the tweet is pertaining to. Otherwise, you can use LDA or
gensim library in Python.
- Sentiment Analysis
This is much easier task. For each topic, for all tweets, associate tweets with probability of positive / negative and also, you could scale this by certainty. This could be using out of box solution such as from
This github repo seems to be doing what you are intending to do, and could get some inspiration.