# Enhanced Twitter Sentiment Classification Using Contextual Information

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

## Key facts

- Cited by 5 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 17 May 2016.

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

- [XAI in Computational Linguistics: Understanding Political Leanings in the Slovenian Parliament](https://mlsanity.com/paper/2305.04631/) (2023)
- [Detection of depression on social networks using transformers and ensembles](https://mlsanity.com/paper/2305.05325/) (2023)
- [Vulgar Remarks Detection in Chittagonian Dialect of Bangla](https://mlsanity.com/paper/2308.15448/) (2023)
- [A Unified Multi-Task Learning Architecture for Hate Detection Leveraging User-Based Information](https://mlsanity.com/paper/2411.06855/) (2024)
- [Language-Independent Sentiment Labelling with Distant Supervision: A Case Study for English, Sepedi and Setswana](https://mlsanity.com/paper/2511.19818/) (2025)

## Abstract (arXiv)

The rise in popularity and ubiquity of Twitter has made sentiment analysis of tweets an important and well-covered area of research. However, the 140 character limit imposed on tweets makes it hard to use standard linguistic methods for sentiment classification. On the other hand, what tweets lack in structure they make up with sheer volume and rich metadata. This metadata includes geolocation, temporal and author information. We hypothesize that sentiment is dependent on all these contextual factors. Different locations, times and authors have different emotional valences. In this paper, we explored this hypothesis by utilizing distant supervision to collect millions of labelled tweets from different locations, times and authors. We used this data to analyse the variation of tweet sentiments across different authors, times and locations. Once we explored and understood the relationship between these variables and sentiment, we used a Bayesian approach to combine these variables with more standard linguistic features such as n-grams to create a Twitter sentiment classifier. This combined classifier outperforms the purely linguistic classifier, showing that integrating the rich contextual information available on Twitter into sentiment classification is a promising direction of research.
