TF-IDF Feature Extraction based Sarcasm Detection on Social Media

Authors

  • Hafsa Ahmad Department of Computer Science, NFC Institute of Engineering and Technology, Multan, 60000, Pakistan
  • Wasif Akbar Department of Computer Science, NFC Institute of Engineering and Technology, Multan, 60000, Pakistan
  • Naeem Aslam Department of Computer Science, NFC Institute of Engineering and Technology, Multan, 60000, Pakistan
  • Azka Ahmed Department of Computer Science, NFC Institute of Engineering and Technology, Multan, 60000, Pakistan
  • Mohsin Khurshid Department of Computer Science, The Islamia University of Bahawalpur, Pakistan

Keywords:

Sarcasm detection, Social media, Twitter, Irony, Machine learning

Abstract

The popularity of social media has significantly changed how people live their everyday. Twitter is being the most widely used platform for information sharing and emotional expression. However, the excess of false and controversial information has raised concerns as social media usage increases. One problem in particular is the prevalence of sarcastic text, which can be challenging to identify manually. In proposed research, an innovative approach is developed that makes use of cutting-edge machine learning methodologies for sarcasm detection on social media. The proposed approach includes four machine learning algorithms for classification and the TF-IDF (Term Frequency- Inverse Document Frequency) to extract features from the text. Different evaluation metrics like recall, precision, F1, and accuracy scores were used to evaluate the highest values of the various algorithms.

Downloads

Published

2023-06-05

How to Cite

Hafsa Ahmad, Wasif Akbar, Naeem Aslam, Azka Ahmed, & Mohsin Khurshid. (2023). TF-IDF Feature Extraction based Sarcasm Detection on Social Media . Journal of Computing & Biomedical Informatics, 5(01), 118–129. Retrieved from https://jcbi.org/index.php/Main/article/view/171