On stopwords, filtering and data sparsity for sentiment analysis of Twitter

Hassan Saif, Miriam Fernández, Yulan He, Harith Alani

Research output: Chapter in Book/Published conference outputConference publication


Sentiment classification over Twitter is usually affected by the noisy nature (abbreviations, irregular forms) of tweets data. A popular procedure to reduce the noise of textual data is to remove stopwords by using pre-compiled stopword lists or more sophisticated methods for dynamic stopword identification. However, the effectiveness of removing stopwords in the context of Twitter sentiment classification has been debated in the last few years. In this paper we investigate whether removing stopwords helps or hampers the effectiveness of Twitter sentiment classification methods. To this end, we apply six different stopword identification methods to Twitter data from six different datasets and observe how removing stopwords affects two well-known supervised sentiment classification methods. We assess the impact of removing stopwords by observing fluctuations on the level of data sparsity, the size of the classifier's feature space and its classification performance. Our results show that using pre-compiled lists of stopwords negatively impacts the performance of Twitter sentiment classification approaches. On the other hand, the dynamic generation of stopword lists, by removing those infrequent terms appearing only once in the corpus, appears to be the optimal method to maintaining a high classification performance while reducing the data sparsity and substantially shrinking the feature space
Original languageEnglish
Title of host publicationLREC 2014, Ninth International Conference on Language Resources and Evaluation. Proceedings
EditorsNicoletta Calzolari, Khalid Choukri, Thierry Declerck, et al
Number of pages8
Publication statusPublished - 2014
Event9th International Conference on Language Resources and Evaluation - Iceland, Reykjavik, Iceland
Duration: 26 May 201431 May 2014


Conference9th International Conference on Language Resources and Evaluation
Abbreviated titleLREC 2014

Bibliographical note

The LREC 2014 Proceedings are licensed under a Creative Commons Attribution-NonCommercial 4.0 International License


  • sentiment analysis
  • stopwords
  • data sparsity


Dive into the research topics of 'On stopwords, filtering and data sparsity for sentiment analysis of Twitter'. Together they form a unique fingerprint.

Cite this