Advertisement

Supervised Opinion Mining of Social Network Data Using a Bag-of-Words Approach on the Cloud

  • S. Fouzia Sayeedunnissa
  • Adnan Rashid Hussain
  • Mohd Abdul Hameed
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 202)

Abstract

Social networking and micro-blogging sites are stores of opinion-bearing content created by human users. Sentiment analysis extracts and measures the sentiment or “attitude” of documents as well as the topics within documents. The attitude may be the person’s judgment (e.g., positive vs. negative) or emotional tone (e.g., objective vs. subjective). In this paper we define a supervised learning solution for sentiment analysis on twitter messages which gives profound accuracy using Naïve Bayes Classification. It classifies the tweets either positive or negative. Our dataset consists of tweets containing move reviews retrieved from twitter using certain keywords on a cloud platform. The experiment and analysis has 3 major steps. In the first step, the algorithm used is Naïve Bayes which performed Boolean classification on bag of words, resulting in 71 % of accuracy. In the second step, Naïve Bayes algorithm is applied on bag of words without stop words which gave 72 % accuracy. In the third step, using the concept of Information gain, high value features are selected using Chi Square, which gave maximum accuracy. The evaluating metrics used in this work are Accuracy, Precision, Recall and F-Measure for both the sentiment classes. The results show that Naïve Bayes algorithm with the application of feature selection using the minimum Chi Square value of 3 gave an Accuracy of 89 %, Positive Precision 83.07 %, Positive Recall 97.2 %, Positive F-Measure 89.9 %, Negative Precision 96.6 %, Negative Recall 81.2 % and Negative F-Measure 88.2 %. The significant increase in Positive Recall specifies that the classifier classifies positive words with more probability when compared to the negative words. This paper also describes the preprocessing steps needed in order to achieve high accuracy.

Keywords

Sentiment analysis Social network Twitter Cloud computing 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Hussain, A.R., Hameed, M.A., Hegde, N.P.: Mining Twitter using Cloud Computing. In: World Congress on Information and Communication Technologies, pp. 187-190 (2011)Google Scholar
  2. Pang, B., Lee, L.: Opinion Mining and Sentiment Analysis. In: Foundations and Trends in Information Retrieval (2008)Google Scholar
  3. Das, S.R., Chen, M.Y.: Yahoo! for Amazon: Sentiment Extraction from Small Talk on the Web. In: Management Science, pp. 1375-1388 (2007)Google Scholar
  4. Forman, G.: An extensive empirical study of feature selection metrics for text classification. In: The Journal of Machine Learning Research, pp. 1289-1305 (2003)Google Scholar
  5. Rennie, J.D.M, Shih, L., Teevan, J., Karger, D.R.: Tackling the Poor Assumptions of Naïve Bayes Text Classifiers. In: Proceedings of the Twentieth International Conference on Machine Learning, pp. 616-63 (2003)Google Scholar
  6. Agarwal, A., Xie, B., Vovsha, I., Rambow, O., Passonneau, R.: Sentiment Analysis of Twitter Data. In: Proceedings of the Workshop on Languages in Social Media, pp. 30-38 (2011)Google Scholar
  7. Jiang, L., Yu, M., Zhou, M., Liu, X., Zhao, T.: Target-dependent Twitter sentiment classification. In: Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pp. 151-160 (2011)Google Scholar
  8. Pandey, V., Iyer, C.: Sentiment analysis of microblogs. Technical Report, Stanford University (2009)Google Scholar
  9. Lewin, J. S., Pribula, A.: Extracting Emotion from Twitter. Technical Report, Stanford University (2009)Google Scholar
  10. Pang, B., Lee, L., Vaithyanatan, S.: Thumbs up?: sentiment classification using machine learning techniques. In: Proceedings of the ACL-02 conference on Empirical methods in natural language processing, pp. 79-86 (2002)Google Scholar

Copyright information

© Springer India 2013

Authors and Affiliations

  • S. Fouzia Sayeedunnissa
    • 1
  • Adnan Rashid Hussain
    • 2
  • Mohd Abdul Hameed
    • 3
  1. 1.Department of Information TechnologyM.J. College of Engineering and Technology, Sultan-ul-Uloom Education SocietyHyderabadIndia
  2. 2.Research and DevelopmentHost Analytics Software Pvt. LtdHyderabadIndia
  3. 3.Department of Computer Science and EngineeringUniversity College of Engineering (A), Osmania UniversityHyderabadIndia

Personalised recommendations