A Pattern-Based Approach to Detect Irony in Twitter Sentiment Analysis

Kumar S.*
Department of Computer Science, Saffrony Institute of Technology, Gujarat, India.
Periodicity:July - December'2023
DOI : https://doi.org/10.26634/jpr.10.2.20354

Abstract

Twitter sentiment analysis poses challenges due to the informal language, limited character count, and prevalence of sarcasm, which can alter the polarity of messages. This paper presents a pattern-based approach to detect irony in Twitter sentiment analysis. By analyzing various types of irony and identifying their patterns, this paper proposes a methodology to improve the efficiency of sentiment analysis. Tweets are classified into different categories based on their sarcasm using a machine learning algorithm. The proposed approach involves feature extraction from tweets, including sentiment-related features, punctuation-related features, grammatical and phonetic features, and patternbased features. A hybrid pattern extraction with a classification model is employed to process tweet data and classify it as sarcastic or not. Experimental results demonstrate the effectiveness of the proposed approach in detecting sarcasm in tweets, with precision ranging from 84.6% to 98.1% across different classifier algorithms. This pattern-based approach offers promising results for enhancing sentiment analysis on Twitter and understanding the nuances of communication in social media discourse.

Keywords

Twitter, Tweets, Sarcasm Detection, Sentiment Analysis, Pattern-Based Approach, Machine Learning, Irony.

How to Cite this Article?

Kumar, S. (2023). A Pattern-Based Approach to Detect Irony in Twitter Sentiment Analysis. i-manager’s Journal on Pattern Recognition, 10(2), 19-26. https://doi.org/10.26634/jpr.10.2.20354

References

[2]. Barbieri, F., Saggion, H., & Ronzano, F. (2014, June). Modelling sarcasm in twitter, a novel approach. In Proceedings of the 5th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, (pp. 50-58).
[5]. Burfoot, C., & Baldwin, T. (2009, August). Automatic satire detection: Are you having a laugh? In Proceedings of the ACL-IJCNLP 2009 Conference Short Papers, (pp. 161-164).
[6]. Davidov, D., Tsur, O., & Rappoport, A. (2010, July). Semi-supervised recognition of sarcasm in Twitter and Amazon. In Proceedings of the Fourteenth Conference on Computational Natural Language Learning, (pp. 107-116).
[7]. Ghosh, D., Guo, W., & Muresan, S. (2015, September). Sarcastic or not: Word embeddings to predict the literal or sarcastic meaning of words. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, (pp. 1003-1012).
[8]. Liebrecht, C. C., Kunneman, F. A., & van Den Bosch, A. P. J. (2013). The perfect solution for detecting sarcasm in tweets# not. In Proceedings of the 4th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, (pp. 29-37).
[10]. Maynard, D. G., & Greenwood, M. A. (2014, March). Who cares about sarcastic tweets? Investigating the impact of sarcasm on sentiment analysis. In Language Resources and Evaluation Conference (LREC) (pp. 26-31).
[14]. Tepperman, J., Traum, D., & Narayanan, S. (2006). Yeah right: Sarcasm recognition for spoken dialogue systems. In Ninth International Conference on Spoken Language Processing.
If you have access to this article please login to view the article or kindly login to purchase the article

Purchase Instant Access

Single Article

North Americas,UK,
Middle East,Europe
India Rest of world
USD EUR INR USD-ROW
Pdf 35 35 200 20
Online 35 35 200 15
Pdf & Online 35 35 400 25

Options for accessing this content:
  • If you would like institutional access to this content, please recommend the title to your librarian.
    Library Recommendation Form
  • If you already have i-manager's user account: Login above and proceed to purchase the article.
  • New Users: Please register, then proceed to purchase the article.