Sentiment analysis of text data has become very much popular in past few years, because of the interesting challenges it can offer. Among these challenges, sarcasm is unique. We can address sarcasm as the ’Achilles heel ’ of sentiment analysis. Detection of sarcasm from the given data is same time complicated and interesting. It is interesting because, if researchers can find the optimized solutions for finding sarcastic words in the data, it will enhance the sentiment analysis of that data. Even humans also have difficulties in understanding the actual interpretation of a sentence, if it is presented indirectly. This means, a person stated something, but he meant contradictory to the word meaning of the statement. This makes sarcasm detection an interesting topic for researchers. In this paper, we evaluated the performance of several machine learning models like Support vector machine, Naïve Bayes, Decision tree etc., and different ensemble models like Random Forest, XGBoost and AdaBoost etc., with the collaboration of various feature extraction methods such as Term Frequency-Inverse Document Frequency etc. The main evaluation metrics we used to evaluate the performance are accuracy, precision, f-score and recall. Based on the results, we concluded that the models such as XGBoost, LightGBM and Bagging classifiers provide better results in detecting sarcasm with respect to other machine learning models.

1.
Kumar
,
A.
,
Narapareddy
,
V.T.
,
Srikanth
,
V.A.
,
Malapati
,
A.
and
Neti
,
L.B.M.
,
2020
.
Sarcasm Detection Using Multi-Head Attention Based Bidirectional LSTM
.
IEEE Access
,
8
, pp.
6388
6397
.
2.
Srivastava
,
H.
,
Varshney
,
V.
,
Kumari
,
S.
and
Srivastava
,
S.
,
2020
, July.
A novel hierarchical BERT architecture for sarcasm detection
. In
Proceedings of the Second Workshop on Figurative Language Processing
(pp.
93
97
).
3.
Diao
,
Y.
,
Lin
,
H.
,
Yang
,
L.
,
Fan
,
X.
,
Chu
,
Y.
,
Xu
,
K.
and
Wu
,
D.
,
2020
.
A Multi-Dimension Question Answering Network for Sarcasm Detection
.
IEEE Access
,
8
, pp.
135152
135161
.
4.
Dutta
,
S.
,
Mehta
,
A.
and
Bandyopadhyay
,
S.K.
,
A Novel Integrated Framework for Sarcasm Detection in Social Platform
.
5.
Salim
,
S.S.
,
Ghanshyam
,
A.N.
,
Ashok
,
D.M.
,
Mazahir
,
D.B.
and
Thakare
,
B.S.
,
2020
, June.
Deep LSTM-RNN with Word Embedding for Sarcasm Detection on Twitter
. In
2020 International Conference for Emerging Technology (INCET)
(pp.
1
4
).
IEEE
.
6.
Baruah
,
A.
,
Das
,
K.
,
Barbhuiya
,
F.
and
Dey
,
K.
,
2020
, July.
Context-aware sarcasm detection using BERT
. In
Proceedings of the Second Workshop on Figurative Language Processing
(pp.
1373
1380
).
7.
Pawar
,
N.
and
Bhingarkar
,
S.
,
2020
, June.
Machine Learning-based Sarcasm Detection on Twitter Data
. In
2020 5th International Conference on Communication and Electronics Systems (ICCES)
(pp.
957
961
).
IEEE
.
8.
Jena
,
A.K.
,
Sinha
,
A.
and
Agarwal
,
R.
,
2020
, July.
C-net: Contextual network for sarcasm detection
. In
Proceedings of the Second Workshop on Figurative Language Processing
(pp.
61
66
).
9.
Javdan
,
S.
and
Minaei-Bidgoli
,
B.
,
2020
, July.
Applying Transformers and Aspect-based Sentiment Analysis approaches on Sarcasm Detection
. In
Proceedings of the Second Workshop on Figurative Language Processing
(pp.
67
71
).
10.
Agrawal
,
A.
,
An
,
A.
and
Papagelis
,
M.
,
2020
, July.
Leveraging Transitions of Emotions for Sarcasm Detection
. In
Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval
(pp.
1
4
).
11.
Jariwala
,
V.P.
,
Optimal Feature Extraction based Machine Learning Approach for Sarcasm Type Detection in News Headlines
.
International Journal of Computer Applications
,
975
, p.
8887
.
12.
Lemmens
,
J.
,
Burtenshaw
,
B.
,
Lotfi
,
E.
,
Markov
,
I.
and
Daelemans
,
W.
,
2020
, July.
Sarcasm detection using an ensemble approach
. In
Proceedings of the Second Workshop on Figurative Language Processing
(pp.
264
269
).
13.
Khotijah
,
S.
,
Tirtawangsa
,
J.
and
Suryani
,
A.A.
,
2020
, July.
Using LSTM for Context-Based Approach of Sarcasm Detection in Twitter
.
In Proceedings of the 11th International Conference on Advances in Information Technology
(pp.
1
7
).
14.
Khatri
,
A.
,
2020
.
Sarcasm detection in tweets with BERT and GloVe embeddings
. arXiv preprint arXiv:2006.11512.
15.
Pant
,
K.
and
Dadu
,
T.
,
2020
.
Sarcasm Detection using Context Separators in Online Discourse
. arXiv preprint arXiv:2006.00850.
16.
Kumar
,
A.
and
Anand
,
V.
,
2020
, July.
Transformers on sarcasm detection with context
. In
Proceedings of the Second Workshop on Figurative Language Processing
(pp.
88
92
).
17.
Gupta
,
R.
,
Kumar
,
J.
and
Agrawal
,
H.
,
2020
, May.
A Statistical Approach for Sarcasm Detection Using Twitter Data
. In
2020 4th International Conference on Intelligent Computing and Control Systems (ICICCS)
(pp.
633
638
).
IEEE
.
18.
Dong
,
X.
,
Li
,
C.
and
Choi
,
J.D.
,
2020
.
Transformer-based context-aware sarcasm detection in conversation threads from social media
. arXiv preprint arXiv:2005.11424.
19.
Thenmozhi
,
D.
,
2020
, July.
Sarcasm Identification and Detection in Conversion Context using BERT
. In
Proceedings of the Second Workshop on Figurative Language Processing
(pp.
72
76
).
20.
Ashok
,
D.M.
,
Ghanshyam
,
A.N.
,
Salim
,
S.S.
,
Mazahir
,
D.B.
and
Thakare
,
B.S.
,
2020
, June.
Sarcasm Detection using Genetic Optimization on LSTM with CNN
. In
2020 International Conference for Emerging Technology (INCET)
(pp.
1
4
).
IEEE
.
21.
Kumar
,
A.
,
Sangwan
,
S.R.
,
Arora
,
A.
,
Nayyar
,
A.
and
Abdel-Basset
,
M.
,
2019
.
Sarcasm detection using soft attention-based bidirectional long short-term memory model with convolution network
.
IEEE Access
,
7
, pp.
23319
23328
.
22.
Xu
,
N.
,
Zeng
,
Z.
and
Mao
,
W.
,
2020
, July.
Reasoning with Multimodal Sarcastic Tweets via Modeling Cross-Modality Contrast and Semantic Association
. In
Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics
(pp.
3777
3786
).
23.
Nimala
,
K.
,
Jebakumar
,
R.
and
Saravanan
,
M.
,
2020
.
Sentiment topic sarcasm mixture model to distinguish sarcasm prevalent topics based on the sentiment bearing words in the tweets
.
Journal of Ambient Intelligence and Humanized Computing
, pp.
1
10
.
24.
Pan
,
H.
,
Lin
,
Z.
,
Fu
,
P.
and
Wang
,
W.
,
Modeling the Incongruity between Sentence Snippets for Sarcasm Detection
.
25.
Lee
,
H.
,
Yu
,
Y.
and
Kim
,
G.
,
2020
.
Augmenting Data for Sarcasm Detection with Unlabeled Conversation Context
. arXiv preprint arXiv:2006.06259.
26.
Devlin
,
J.
,
Chang
,
M.W.
,
Lee
,
K.
and
Toutanova
,
K.
,
2018
.
Bert: Pre-training of deep bidirectional transformers for language understanding
. arXiv preprint arXiv:1810.04805.
27.
Yang
,
Z.
,
Dai
,
Z.
,
Yang
,
Y.
,
Carbonell
,
J.
,
Salakhutdinov
,
R.R.
and
Le
,
Q.V.
,
2019
.
Xlnet: Generalized autoregressive pretraining for language understanding
. In
Advances in neural information processing systems
(pp.
5753
5763
).
28.
Misra
,
R.
and
Arora
,
P.
,
2019
.
Sarcasm detection using hybrid neural network
. arXiv preprint arXiv:1908.07414.
29.
Liu
,
L.
,
Priestley
,
J.L.
,
Zhou
,
Y.
,
Ray
,
H.E.
and
Han
,
M.
,
2019
, December.
A2Text-Net: A Novel Deep Neural Network for Sarcasm Detection
. In
2019 IEEE First International Conference on Cognitive Machine Intelligence (CogMI)
(pp.
118
126
).
IEEE
.
30.
Liu
,
Y.
,
Ott
,
M.
,
Goyal
,
N.
,
Du
,
J.
,
Joshi
,
M.
,
Chen
,
D.
,
Levy
,
O.
,
Lewis
,
M.
,
Zettlemoyer
,
L.
and
Stoyanov
,
V.
,
2019
.
Roberta: A robustly optimized bert pretraining approach
. arXiv preprint arXiv:1907.11692.
This content is only available via PDF.
You do not currently have access to this content.