skip to main content
10.1145/2896387.2896396acmotherconferencesArticle/Chapter ViewAbstractPublication PagesiccConference Proceedingsconference-collections
research-article

Political Sentiment Analysis Using Twitter Data

Authors Info & Claims
Published:22 March 2016Publication History

ABSTRACT

There is a remarkable growth in the usage of social networks, such as Facebook and Twitter. Users from different cultures and backgrounds post large volumes of textual comments reflecting their opinion in different aspect of life and make them available to everyone. In particular we study the case of Twitter and focus on presidential elections in Egypt 2012. This paper compares between two techniques for Arabic text classification using WEKA application. These techniques are Support Vector Machine (SVM) and Naïve Bayesian (NB), we investigate the use of TF-IDF to obtain document vector. The main objective of this paper is to measure the accuracy and time to get the result for each classifier and to determine which classifier is more accurate for Arabic text classification.

Comparison reported in this paper shows that the Naïve Bayesian method is the highest accuracy and the lowest error rate.

References

  1. Tumasjan, A.; Sprenger, T. O.; Sandner, P. G.; and Welpe, I. M.2010. Predicting elections with twitter: What 140 characters reveal.Google ScholarGoogle Scholar
  2. About political sentiment. InICWSMH. ElSahar and S. R. El-Beltagy. 2014. "A Fully Automated Approach for Arabic Slang Lexicon Extraction from Microblogs," in Computational Linguistics and Intelligent Text Processing, Springer, pp. 79--91. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. B. Liu. 2012. "Sentiment analysis and opinion mining," Synth. Lect. Hum. Lang. Technol., vol. 5, no. 1, pp. 1--167.Google ScholarGoogle Scholar
  4. Elhawary, M., Elfeky, M. 2010. Mining Arabic Business Reviews. In Proceedings of the 20 10 IEEE International Conference on Data Mining Workshops. 1108--1113. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Parikh and Matin Movassate. 2009. "Sentiment Analysis of User-Generated Twitter Updates using Various Classification Techniques".Google ScholarGoogle Scholar
  6. Rushdi-Saleh, M., Martín-Valdivia, M., Ureña-López, L., and Perea-Ortega, J. 2011. OCA: Opinion corpus for Arabic. Journal of the American Society for Information Science and Technology. 62, 10, 2045--2054. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. El-Kourdi, M., Bensaid, A., and Rachidi, T. 2004. Automatic Arabic Document Categorization Based on the Naïve Bayes Algorithm, In proceedings of COLING 20th Workshop on Computational Approaches to Arabic Scriptbased Languages, University of Geneva, Geneva, Switzerland, August 23rd---27th. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Kanaan, G., Al-Shalabi, R., Ghawanmeh, S., and Al-Ma'adeed, H. 2009.A Comparison of Text-Classification Techniques Applied to Arabic Text, Journal of the American society for information science and technology, 60 (9) 1836--1844. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Larkey, L. S., Ballesteros, L., & Connell, M. E. 2002. Improving stemming for Arabic information.Google ScholarGoogle Scholar
  10. retrieval: Light stemming and co-occurrence analysis. In Proceedings of SIGIR. 2002.pp. 275--282.Tampere, Finland.Google ScholarGoogle Scholar
  11. Liu, S. Liu, Z. Chen and Wei-Ying Ma. 2003."An Evaluation on Feature Selection for Text Clustering", Proceedings of the 12th International Conference ICML, Washington, DC, USA, 2003, pp. 488--495.Google ScholarGoogle Scholar
  12. L. Khreisat. 2006. Arabic Text Classification Using NGram Frequency Statistics A Comparative Study. DMIN 2006: 78--82.Google ScholarGoogle Scholar
  13. Wenliang, D. and Z. Zhijun. 2002. Building decision tree classifier on private data, in Proceedings of the IEEE international conference on Privacy, security and data mining - Volume14. Australian Computer Society, Inc.: Maebashi City, Japan. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Duda R., Hart P., Stork D. 2001. "Pattern Classification", (2nd Ed), Wiley Interscience. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Dumais S. T., Platt J., Heckerman D., Sahami M. 1998. "Inductive learning algorithms and representations for text categorization", In the Proc. of ACM-CIKM98, pp. 148--155. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Zhao Da-peng. 2013. "Research on the Vector Space Model Based Text Automatic Classification System", JDCTA: International Journal of Digital Content Technology and its Applications, AICIT, vol. 7, pp. 381 ~ 388.Google ScholarGoogle Scholar
  17. Andrew McCallum and Kamal Nigam. 1998. "A Comparison Of Event Models For Naive Bayes Text Classification.", In AAAI-98 workshop on learning for text categorization, pp. 41--48.Google ScholarGoogle Scholar
  18. Ian H. Witten., Eibe Frank.2005."Data Mining Practical Machine Learning Tools and Techniques", (2nd Ed). Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Witten I. H. and Frank, E. 2005. Data Mining: Practica Machine Learning Tools and Techniques, Morgan Kaufmann Series in Data Management Systems, second edition, Morgan Kaufmann (MK). Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Paltoglou, G., and Thelwall, M. 2012. Twitter, MySpace, Unsupervised Sentiment Analysis in Social Media. ACM Transactions on Intelligent Systems and Technology (TIST). 3, 4,Article 66, 1--19. Google ScholarGoogle ScholarDigital LibraryDigital Library
  1. Political Sentiment Analysis Using Twitter Data

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Other conferences
      ICC '16: Proceedings of the International Conference on Internet of things and Cloud Computing
      March 2016
      535 pages
      ISBN:9781450340632
      DOI:10.1145/2896387

      Copyright © 2016 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 22 March 2016

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed limited

      Acceptance Rates

      Overall Acceptance Rate213of590submissions,36%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader