Abstract
Nowadays, an enormous amount of data is available on the WWW and exponentially growing as well. A lot of users use social networking websites such as Twitter, Facebook, Instagram, and Google+ as common platforms for sharing and exchanging views and opinions on any topics/events. The researchers have considered the reviews and views of the users on these platforms for sentiment analysis, opinion mining, question answering, text summarization, etc. The paper proposes a novel approach for identifying reviews or opinion of users having sarcasm in the text patterns at the clause level. The sentences are classified into four categories such as Simple Sentences, Compound Sentences, Complex Sentences, and Compound-Complex Sentences based on the rules derived from a decision tree. The Simple Sentences and Complex Sentences alone are considered for analysing the sentence patterns where a positive sentiment contrasts with a negative polarity and vice-versa. The decision tree and neuro-fuzzy rules are used on sentence structures to classify the sentences into sarcastic and non-sarcastic sentence patterns. Membership functions are used to map the fuzzy rules and linguistic grading is used for grading the sarcastic patterns. The proposed approach is evaluated on Twitter Dataset and found that the results are promising with the recent and relevant work.
Similar content being viewed by others
Data availability
We state that ‘Data sharing not applicable to this article as no datasets were generated or analysed during the current study’.
References
Akcora CG, Bayir MA, Demirbas M, Ferhatosmanoglu H (July 2010) Identifying breakpoints in public opinion. In: Proceedings of the 1st Workshop Soc. Media Anal (pp. 62–66)
Amir S, Wallace BC, Lyu H, Silva PCMJ (2016) Modelling context with user embeddings for sarcasm detection in social media. arXiv preprint arXiv:1607.00976
Anisimovich A (2014) Self-evaluating workflow for language-independent sentiment analysis. In: Proceedings of the First Italian Conference on Computational Linguistics and the Fourth International Workshop EVALITA 2014 (pp. 108–111)
Anukarsh G, Prasad SS, Bhat SM, Harish BS (2017) Sentiment analysis for sarcasm detection on streaming short text data. In: Proceedings of the International Conference on Knowledge Engineering and Applications (pp. 1–5)
Barbieri F, Saggion H, Ronzano F (2014a, 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)
Barbieri F, Francesco R, Horacio S (2014b) Relying on intrinsic word features to characterize subjectivity, polarity and irony of tweets. In: Proceedings of the First Italian Conference on Computational Linguistics and the Fourth International Workshop EVALITA 2014 (pp. 104–107)
Barnaghi P, Ghaffari P, Breslin JG (2016) Opinion mining and sentiment polarity on twitter and correlation between events and sentiment. IEEE Second International Conference on Big Data Computing Service and Applications (BigDataService), 2016 (pp. 52–57). https://doi.org/10.1109/BigDataService.2016.36
Basile V, Nissim M (2013) Sentiment analysis on Italian tweets. In: Proceedings of the Fourth Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis (pp. 100–107)
Basile V, Bolioli A, Nissim M, Patti V, Rosso P (2014) Sentiment polarity classification task, in: proceedings of the first Italian conference on computational linguistics and the fourth international workshop EVALITA. Overview of the evalita, 2014, 50–57
Baziotis C, Athanasiou N, Papalampidi P, Kolovou A, Paraskevopoulos G, Ellinas N, Potamianos A (2018) Ntua-slp at semeval-2018 task 3: tracking ironic tweets using ensembles of word and character level attentive rnns. arXiv preprint arXiv:1804.06659
Berry MW (ed.) (2004) Survey of text mining: clustering, classification, and retrieval. Springer-Verlag
Bharti SK, Babu KS, Jena SK (2015) Parsing-based sarcasm sentiment recognition in twitter data. In: Proceedings of the IEEE/ACM ASONAM, August, 2015 p. 1373
Boia M, Faltings B, Musat C-C, Pu P (2013) A:) is worth a thousand words: How people attach sentiment to emoticons and words in tweets. In: Proc. Int. Conf. Soc. Comput, pp. 345–350
Bosco C, Patti V, Bolioli A (2013) Developing corpora for sentiment analysis: the case of irony and SENTI-TUT. IEEE Intell Syst 28(2):55–63. https://doi.org/10.1109/MIS.2013.28
Bouazizi M, Ohtsuki TO (2016) A pattern-based approach for sarcasm detection on twitter. IEEE Access 4:5477–5488. https://doi.org/10.1109/ACCESS.2016.2594194
Breiman L, Friedman JH, Olshen RA, Stone CJ (2017) Classification and regression trees. Routledge
Burfoot C, Baldwin T (August 2009) Automatic satire detection: are you having a laugh? In proceedings of the ACL-IJCNLP (pp. 161–164)
Buschmeier K, Cimiano P, Klinger R (2014) An impact analysis of features in a classification approach to irony detection in product reviews. In: WASSA@ACL
Campbell JD, Katz AN (2012) Are there necessary conditions for inducing a sense of sarcastic irony? Discourse Process 49(6):459–480. https://doi.org/10.1080/0163853X.2012.687863
Castellucci G, Croce D, de Cao D, Basili R (2014) A multiple kernel approach for Twitter sentiment analysis in Italian. In: Proceedings of the First Italian Conference on Computational Linguistics and the Fourth International Workshop EVALITA 2014 (pp. 98–103)
Dave AD, Desai NP (2016) A comprehensive study of classification techniques for sarcasm detection on textual data. In: 2016 International Conference on Electrical, Electronics, and Optimization Techniques (ICEEOT), Chennai, pp 1985–1991
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)
Delmonte R (2014) ITGETARUNS a linguistic rule-based system for pragmatic text processing. In: Proceedings of the First Italian Conference on Computational Linguistics and the Fourth International Workshop EVALITA 2014 (pp. 64–69)\
Diao Y, Lin H, Yang L, Fan X, Chu Y, Xu K, Wu D (2020) A multi-dimension question answering network for sarcasm detection. IEEE Access 8:135152–135161. https://doi.org/10.1109/ACCESS.2020.2967095
Ekbal A, Bandyopadhyay S (2008). Multi-engine approach for named entity recognition in Bengali. In: Proceedings of the 22nd Pacific Asia conference on language, information and computation (pp. 169–178). University of the Philippines Visayas Cebu college. de La Salle University
Fersini E, Messina E, Pozzi FA (2014) Subjectivity, polarity and irony detection: A multi-layer approach. In: Proceedings of the First Italian Conference on Computational Linguistics and the Fourth International Workshop EVALITA 2014 (pp. 70–74)
Fersini E, Pozzi FA, Messina E (October 2015) Detecting irony and sarcasm in microblogs: the role of expressive signals and ensemble classifiers. In: Proceedings of the IEEE Data Sci. Adv. Anal. (DSAA), 8 p. 1
Ghosh A, Veale T (2016) Fracking sarcasm using neural network. In: WASSA@NAACL-HLT
Ghosh D, Guo W, Muresan S (September 2015). Sarcastic or not: word embeddings to predict the literal or sarcastic meaning of words. In: Proceedings of the EMNLP (pp. 1003–1012)
Han J, Zhang D, Cheng G, Liu N, Xu D (2018) Advanced deep-learning techniques for salient and category-specific object detection: a survey. IEEE Signal Process Mag 35(1):84–100. https://doi.org/10.1109/MSP.2017.2749125
Hazarika D, Poria S, Gorantla S, Cambria E, Zimmermann R, Mihalcea R (2018) Cascade: contextual sarcasm detection in online discussion forums. Arxiv, admin./1805.06413
Hernández Farias DI, Rosso P (2017) Chapter 7. Irony, sarcasm, and sentiment analysis. In: Pozzi FA, Fersini E, Messina E, Liu B (eds) Sentiment analysis in social networks. Morgan Kaufmann, pp 113–128. https://doi.org/10.1016/B978-0-12-804412-4.00007-3 ISBN 9780128044124
Hernandez-Farias I, Buscaldi D, Priego-Sánchez B (2014) IRADABE: Adapting English lexicons to the Italian sentiment polarity classification task. In: Proceedings of the First Italian Conference on Computational Linguistics and the Fourth International Workshop EVALITA 2014 (pp. 75–81)
Hernández Farías DI, Bosco C, Patti V, Rosso P (2018) Sentiment polarity classification of figurative language: exploring the role of irony-aware and multifaceted affect features. In: Gelbukh A (eds) Computational Linguistics and Intelligent Text Processing. CICLing 2017. Lecture Notes in Computer Science, vol 10762. Springer, Cham. https://doi.org/10.1007/978-3-319-77116-8_4
Hiai S, Shimada K (2016) A sarcasm extraction method based on patterns of evaluation expressions. In: Proceedings of the International Congress on Advanced Applied Informatics (pp. 31–36)
Hiai S, Shimada K (2018). Sarcasm detection using features based on Indicator and roles. In: Proceedings of the 3rd International Conference on Soft Computing and Data Mining 2018 (SCDM 2018), Johor, Malaysia. Springer international publishing. https://doi.org/10.1007/978-3-319-72550-5_40
Hiai S, Shimada K (2019) Sarcasm detection using RNN with relation vector. Int J Data Warehous Min 15(4):66–78. https://doi.org/10.4018/IJDWM.2019100104
Jang JSR (1993) ANFIS: adaptive-network-based fuzzy inference system. IEEE Trans Syst Man Cybern 23(3):665–685. https://doi.org/10.1109/21.256541
Joshi A, Bhattacharyya P, Carman MJ (2017) Automatic sarcasm detection: a survey. ACM Comput Surv 50(5):1–22. https://doi.org/10.1145/3124420https://arxiv.org/abs/1602.03426
Katz P, Singleton M, Wicentowski RH (2007) SWAT-MP:the SemEval-2007 systems for task 5 and task 14. *SEMEVAL
Li X, Zhang B (2008) Stock market behavior and investor sentiment: evidence from China. Front Bus Res China 2(2):277–282. https://doi.org/10.1007/s11782-008-0016-5
Li Y, Si S, Li G, Hsieh CJ, Bengio S (2021) Learnable fourier features for multidimensional spatial positional encoding. Adv Neural Inf Proces Syst 34:15816–15829
Li W, Li Y, Liu W, Wang C (2022) An influence maximization method based on crowd emotion under an emotion-based attribute social network. Inf Process Manag 59(2):102818. https://doi.org/10.1016/j.ipm.2021.102818
Liang H, Ganeshbabu U, Thorne T (2020) A dynamic Bayesian network approach for analysing topic-sentiment evolution. IEEE Access 8:54164–54174. https://doi.org/10.1109/ACCESS.2020.2979012 ISSN 2169-3536. https://centaur.reading.ac.uk/89578/
Liebrecht CC, Kunneman FA, van den Bosh APJ (June 2013). The perfect solution for detecting sarcasm in tweets #not. In: Proceedings of the WASSA (pp. 29–37)
Liu W, Chen X, Jeon B, Chen L, Chen B (2019) Influence maximization on signed networks under independent cascade model. Appl Intell 49(3):912–928. https://doi.org/10.1007/s10489-018-1303-2
Liu W, Jiang L, Wu Y, Tang T, Li W (2020) Topic detection and tracking based on event ontology. IEEE Access 8:98044–98056. https://doi.org/10.1109/ACCESS.2020.2995776
Long W, Tang YR, Tian YJ (2018) Investor sentiment identification based on the universum SVM. Neural Comput & Applic 30(2):661–670. https://doi.org/10.1007/s00521-016-2684-y
Manuel K, Indukuri KV, Krishna PR (December 2010) Analyzing internet slang for sentiment mining. In: Proceedings of the 2nd Vaagdevi International Conference inform. Technol.Real world problems (pp. 9–11)
Maynard D, Greenwood MA (May 2014) Who cares about Sarcastic tweets? Investigating the impact of Sarcasm on sentiment analysis. In: Proceedings of the 9th Int. Conf. Lang. Resour. Eval. (pp. 4238–4243)
Mehndiratta P, Soni D (2019a) Identification of sarcasm using word embeddings and hyperparameters tuning. J Discret Math Sci Cryptogr 22(4):465–489. https://doi.org/10.1080/09720529.2019.1637152
Mehndiratta P, Soni D (2019b) Identification of sarcasm in textual data: a comparative study. J Data Inf Sci 4(4):56–83. https://doi.org/10.2478/jdis-2019-0021
Mukherjee S, Bala PK (2017) Sarcasm detection in microblogs using Naïve Bayes and fuzzy clustering. Technol Soc 48:19–27. https://doi.org/10.1016/j.techsoc.2016.10.003
Muresan S, Gonzalez-Ibanez R, Ghosh D, Wacholder N (2016) Identification of nonliteral language in social media: a case study on sarcasm. J Assoc Inf Sci Technol 67(11):2725–2737. https://doi.org/10.1002/asi.23624
Naz F, Kamran M, Mehmood W, Khan W, Alkatheiri MS, Alghamdi AS, Alshdadi AA (2019) Automatic identification of sarcasm in tweets and customer reviews. J Intell Fuzzy Syst 37(5):6815–6828. https://doi.org/10.3233/JIFS-190596
Poria S, Cambria E, Hazarika D, Vij P (2016) A deeper look into sarcastic tweets using deep convolutional neural networks. Proceedings of the COLING
Prasanna MSM, Shaila SG, Vadivel A (2021) Phrase-level sentence patterns for estimating positive and negative emotions using neuro-fuzzy model for information retrieval applications. Multimedia Tools Appl 2(31):1–24. https://doi.org/10.1007/s11042-020-10422-6 ISSN 1380-7501
Rajadesingan A, Zafarani R, Liu H (February 2015). Sarcasm detection on twitter: a behavioral modeling approach. In: Proceedings of the 18th ACM International Conference Web Search Data Mining (pp. 79–106)
Ren F, Feng L, Xiao D, Cai M, Cheng S (2020) DNet: a lightweight and efficient model for aspect based sentiment analysis. Expert Syst Appl 151:113393. https://doi.org/10.1016/j.eswa.2020.113393
Riloff E, Qadir A, Surve P, de Silva L, Gilbert N, Huang R (October 2013). Sarcasm as contrast between a positive sentiment and negative situation. In: Proceedings of the Conf. Empirical methods natural Lang. Process, 714 p. 704
Sonawane SS, Kolhe SR (2020) TCSD: term co-occurrence based sarcasm detection from twitter trends. Procedia Comput Sci 167:830–839, ISSN 1877-0509. https://doi.org/10.1016/j.procs.2020.03.422
Sriram B, Fuhry D, Demir E, Ferhatosmanoglu H, Demirbas M (July 2010) Short text classification in twitter to improve information filtering. In: Proceedings of the 33rd Int. ACM SIGIR Conf. Res. Develop. Inf. Retr. (pp. 841–842)
Suhaimin MSM, Hijazi MHA, Alfred R, Coenen F (2017) Natural language processing based features for sarcasm detection: an investigation using bilingual social media texts. In: Proc. International Conference on Information Technology, pp. 703–709
Sundararajan K, Palanisamy A (2020) Multi-rule based ensemble feature selection model for sarcasm type detection in twitter. Comput Intell Neurosci 2020:2860479. https://doi.org/10.1155/2020/2860479
Suzuki S, Orihara R, Sei Y, Tahara Y, Ohsuga A (2017) Sarcasm detection method to improve review analysis. ICAART
Tang T, Liu W, Li W, Wu J, Ren H (2021, August) Event relation reasoning based on event knowledge graph. In: Lecture Notes in Computer Science International Conference on Knowledge Science, Engineering and Management. Springer, (491–503). https://doi.org/10.1007/978-3-030-82136-4_40
Thu PP, Aung TN (2017) Effective analysis of emotion-based satire detection model on various machine learning algorithms. In: Proceedings of the IEEE 6th Global Conference on Consumer Electronics
Tungthamthiti P, Shirai K, Mohd M (2016) Recognition of sarcasm in microblogging based on sentiment analysis and coherence identification. J Nat Lang Process 23(5):383–405. https://doi.org/10.5715/jnlp.23.383
Wallace BC, Choe DK, Kertz L, Charniak E (2014) Humans require context to infer ironic intent (so computers probably do, too). In: ACL
Wilson D (2006) The pragmatics of verbal irony: Echo or pretence? Lingua 116(10):1722–1743. https://doi.org/10.1016/j.lingua.2006.05.001
Wu C, Wu F, Wu S, Liu J, Yuan Z, Huang Y (2018) Thu NGN at semeval-2018 task 3: Tweet irony detection with densely connected LSTM and multi-task learning. In: Proceedings of the 12th International Workshop on Semantic Evaluation (pp. 51–56)
Zhang M, Zhang Y, Fu G (2016) Tweet Sarcasm detection using deep neural network In: Coling
Zhang D, Han J, Cheng G, Yang MH (2022) Weakly supervised object localization and detection: a survey. IEEE Trans Pattern Anal Mach Intell 44(9):5866–5885. https://doi.org/10.1109/TPAMI.2021.3074313
Zhao Y, Wang C, Han H, van den Heuvel, WJVD, Chi CH, Li W (2019, November) Unfolding the mixed and intertwined: a multilevel view of topic evolution on twitter. In: Lecture Notes in Computer Science International Conference on Advanced Data Mining and Applications Springer, pp. 359–369. https://doi.org/10.1007/978-3-030-35231-8_26
Funding
We have not received funding from any funding agency for the work presented in this paper.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflicts of interests
We have no conflicts of interests and competing interests in the presented work.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Prasanna, M.S.M., Shaila, S.G. & Vadivel, A. Polarity classification on twitter data for classifying sarcasm using clause pattern for sentiment analysis. Multimed Tools Appl 82, 32789–32825 (2023). https://doi.org/10.1007/s11042-023-14909-w
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-14909-w