# Twitter Sentiment Analysis: Lexicon Method, Machine Learning Method and Their Combination

arXiv: https://arxiv.org/abs/1507.00955 · HTML: https://mlsanity.com/paper/1507.00955/

## Key facts

- Cited by 11 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 3 Jul 2015.

## Built on by (most cited first, 11 of 11)

- [DomiKnowS: A Library for Integration of Symbolic Domain Knowledge in Deep Learning](https://mlsanity.com/paper/2108.12370/) (2021)
- [Can Pretrained Language Models Derive Correct Semantics from Corrupt Subwords under Noise?](https://mlsanity.com/paper/2306.15268/) (2023)
- [A Deep Convolutional Neural Network-based Model for Aspect and Polarity Classification in Hausa Movie Reviews](https://mlsanity.com/paper/2405.19575/) (2024)
- [M2SA: Multimodal and Multilingual Model for Sentiment Analysis of Tweets](https://mlsanity.com/paper/2404.01753/) (2024)
- [Sentiment Analysis of the COVID-related r/Depression Posts](https://mlsanity.com/paper/2108.06215/) (2021)
- [Evaluating the fairness of task-adaptive pretraining on unlabeled test data before few-shot text classification](https://mlsanity.com/paper/2410.00179/) (2024)
- [Cross-Platform Digital Discourse Analysis of the Israel-Hamas Conflict: Sentiment, Topics, and Event Dynamics](https://mlsanity.com/paper/2601.02367/) (2025)
- [Make Text Unlearnable: Exploiting Effective Patterns to Protect Personal Data](https://mlsanity.com/paper/2307.00456/) (2023)
- [Perceiving University Student's Opinions from Google App Reviews](https://mlsanity.com/paper/2312.06705/) (2023)
- [Lexicon-Based Sentiment Analysis on Text Polarities with Evaluation of Classification Models](https://mlsanity.com/paper/2409.12840/) (2024)
- [CPC-CMS: Cognitive Pairwise Comparison Classification Model Selection Framework for Document-level Sentiment Analysis](https://mlsanity.com/paper/2507.14022/) (2025)

## Abstract (arXiv)

This paper covers the two approaches for sentiment analysis: i) lexicon based method; ii) machine learning method. We describe several techniques to implement these approaches and discuss how they can be adopted for sentiment classification of Twitter messages. We present a comparative study of different lexicon combinations and show that enhancing sentiment lexicons with emoticons, abbreviations and social-media slang expressions increases the accuracy of lexicon-based classification for Twitter. We discuss the importance of feature generation and feature selection processes for machine learning sentiment classification. To quantify the performance of the main sentiment analysis methods over Twitter we run these algorithms on a benchmark Twitter dataset from the SemEval-2013 competition, task 2-B. The results show that machine learning method based on SVM and Naive Bayes classifiers outperforms the lexicon method. We present a new ensemble method that uses a lexicon based sentiment score as input feature for the machine learning approach. The combined method proved to produce more precise classifications. We also show that employing a cost-sensitive classifier for highly unbalanced datasets yields an improvement of sentiment classification performance up to 7%.
