title: Sentiment Analysis on Twitter Data?
body: <p>I am working on this project where I wish to classify the general mood of a Twitter user from his recent tweets. Since the tweets can belong to a huge variety of domains how should I go about it ?</p>
  
  <p>I could use the Naive Bayes algorithm (like here: <a href="http://phpir.com/bayesian-opinion-mining" rel="nofollow">http://phpir.com/bayesian-opinion-mining</a>) but since the tweets can belong to a large variety of domains, I am not sure if this will be very accurate.</p>
  
  <p>The other option is using maybe sentiment dictionaries like <a href="http://sentiwordnet.isti.cnr.it/" rel="nofollow">SentiWordNet</a> or <a href="http://alexdavies.net/2011/10/word-lists-for-sentiment-analysis-of-twitter/" rel="nofollow">here</a>. Would this be a better approach, I don't know.</p>
  
  <p>Also where can I get data to train my classifier if I plan to use the Naive Bayes or some other algorithm ?</p>
  
  <p>Just to add here, I am primarily coding in PHP.</p>