Sarcasm Detection in Sentiment Analysis Using Recurrent Neural Networks

In recent years, online opinionated textual data volume has surged, necessitating automated analysis to extract valuable insights. Data mining and sentiment analysis have become essential for analysing this type of text. Sentiment analysis is a text classification problem associated with many challenges, including better data preprocessing and sarcasm detection. Sarcasm in the text can reduce sentiment accuracy unless the model is specifically designed to identify such nuances. Sarcastic data conflicts with context, which leads to ambiguity. This article examines the impact of various preprocessing methods on sentiment classification. It presents a sarcasm detection–based sentiment analysis model that utilises an effective preprocessing system and a robust technique for identifying sarcastic text. The preprocessing method includes the impact of removing stop words, whitespaces, usernames, hashtags, and unnecessary URLs, mapping contractions dictionaries, designing word reference sheets, and stemming and lemmatization on the model. Sarcastic headlines are collected, and a word cloud is created using the frequency of words with sarcastic headlines. Custom sarcasm detection models based on long short‐term memory (LSTM), recurrent neural network (RNN), and word embeddings are utilised for sarcasm detection. The model has achieved a validation accuracy of 0.88 and an F ‐measure score of 72% for the overall system.

Authors

Institutions

Publication Details

Journal
International Journal of Distributed Sensor Networks
Published
2025-01-01
DOI
https://doi.org/10.1155/dsn/8479411
Citations
1
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sarcasm Detection in Sentiment Analysis Using Recurrent Neural Networks

Shafiq Ahmad, Syed Zafar Ali Shah, Ali Abbas, Maneeha Rani et al.
1 citations
International Journal of Distributed Sensor Networks
Sentiment Analysis and Opinion Mining
2.48
article

Sarcasm Detection in Sentiment Analysis Using Recurrent Neural Networks

Shafiq Ahmad, Syed Zafar Ali Shah, Ali Abbas, Maneeha Rani, Mohammad Babar, Sadaqat Jan, Mansoor Hayat
article en
1 citations

Abstract

In recent years, online opinionated textual data volume has surged, necessitating automated analysis to extract valuable insights. Data mining and sentiment analysis have become essential for analysing this type of text. Sentiment analysis is a text classification problem associated with many challenges, including better data preprocessing and sarcasm detection. Sarcasm in the text can reduce sentiment accuracy unless the model is specifically designed to identify such nuances. Sarcastic data conflicts with context, which leads to ambiguity. This article examines the impact of various preprocessing methods on sentiment classification. It presents a sarcasm detection–based sentiment analysis model that utilises an effective preprocessing system and a robust technique for identifying sarcastic text. The preprocessing method includes the impact of removing stop words, whitespaces, usernames, hashtags, and unnecessary URLs, mapping contractions dictionaries, designing word reference sheets, and stemming and lemmatization on the model. Sarcastic headlines are collected, and a word cloud is created using the frequency of words with sarcastic headlines. Custom sarcasm detection models based on long short‐term memory (LSTM), recurrent neural network (RNN), and word embeddings are utilised for sarcasm detection. The model has achieved a validation accuracy of 0.88 and an F ‐measure score of 72% for the overall system.

International Journal of Distributed Sensor NetworksVol. 2025(1)
University of Engineering and Technology Lahore (PK), University of Hull (GB), Middle East College (OM), King Saud University (SA), Abbottabad University of Science and Technology (PK), University of Engineering and Technology Peshawar (PK)
Openalex Percentile: Top 10%
Sentiment Analysis and Opinion Mining
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.