A Pattern-Based Approach for Multi-Class Sentiment Analysis in Twitter

Mondher Bouazizi, Tomoaki Ohtsuki

Research output: Contribution to journalArticle

40 Citations (Scopus)


Sentiment analysis and opinion mining in social networks present nowadays a hot topic of research. However, most of the state of the art works and researches on the automatic sentiment analysis and opinion mining of texts collected from social networks and microblogging websites are oriented towards the binary classification (i.e., classification into “positive” and “negative”) or the ternary classification (i.e., classification into “positive”, “negative” and “neutral”) of texts. In this paper, we propose a novel approach that, in addition to the aforementioned tasks of binary and ternary classification, goes deeper in the classification of texts collected from Twitter and classifies these texts into multiple sentiment classes. While in this work, we limit our scope to 7 different sentiment classes, the proposed approach is scalable and can be run to classify texts into more classes. We first introduce SENTA, our tool built to help users select out of a wide variety of features the ones that fit the most for their application, to run the classification, through an easy-to-use graphical user interface. We then use SENTA to run our own experiments of multi-class classification. Our experiments show that the proposed approach can reach up to 60.2% accuracy on the multi-class classification. Nevertheless, the approach proves to be very accurate in binary classification and ternary classification: in the former case, we reach an accuracy of 81.3% for the same dataset used after removing neutral tweets, and in the latter case, we reached an accuracy of classification of 70.1%.

Original languageEnglish
JournalIEEE Access
Publication statusAccepted/In press - 2017 Aug 18


  • Data mining
  • Feature extraction
  • Machine Learning
  • Sentiment analysis
  • Sentiment Analysis
  • Tagging
  • Tools
  • Twitter
  • Twitter

ASJC Scopus subject areas

  • Computer Science(all)
  • Materials Science(all)
  • Engineering(all)

Fingerprint Dive into the research topics of 'A Pattern-Based Approach for Multi-Class Sentiment Analysis in Twitter'. Together they form a unique fingerprint.

  • Cite this