Sarcasm Detection in Persian

Authors

  • Zahra Bokaee Nezhad Department of Computer Engineering, Zand University, Iran, Islamic Republic of
  • Mohammad Ali Deihimi Department of Electronics Engineering, Bahonar University, Iran, Islamic Republic of

DOI:

https://doi.org/10.32890/jict2021.20.1.1

Keywords:

Sarcasm detection, natural language processing, machine learning, sentiment analysis, classification

Abstract

Sarcasm is a form of communication where the individual states the opposite of what is implied. Therefore, detecting a sarcastic tone is somewhat complicated due to its ambiguous nature. On the other hand, identification of sarcasm is vital to various natural language processing tasks such as sentiment analysis and text summarisation. However, research on sarcasm detection in Persian is very limited. This paper investigated the sarcasm detection technique on Persian tweets by combining deep learning-based and machine learning-based approaches. Four sets of features that cover different types of sarcasm were proposed, namely deep polarity, sentiment, part of speech, and punctuation features. These features were utilised to classify the tweets as sarcastic and nonsarcastic. In this study, the deep polarity feature was proposed by conducting a sentiment analysis using deep neural network architecture. In addition, to extract the sentiment feature, a Persian sentiment dictionary was developed, which consisted of four sentiment categories. The study also used a new Persian proverb dictionary in the preparation step to enhance the accuracy of the proposed model. The performance of the model is analysed using several standard machine learning algorithms. The results of the experiment showed that the method outperformed the baseline method and reached an accuracy of 80.82%. The study also examined the importance of each proposed feature set and evaluated its added value to the classification.

References

Al-Otaibi, S. T., Alnassar, A., Alshahrani, A., Al-Mubarak, A., Albugami, S., Almutiri, N., & Albugami, A. (2018). Customer satisfaction measurement using sentiment analysis. Retrieved May 4, 2020, from ResearchGate website:https://www.researchgate.net/publication/323536432_ Customer_Satisfaction_Measurement_using_Sentiment_Analysis

Bharti, S. K., Naidu, R., & Babu, K. S. (2017). Hyperbolic feature-based sarcasm detection in tweets: A Machine Learning Approach. Retrieved May 4, 2020, from undefined website: https://www.semanticscholar. org/paper/Hyperbolic-Feature-based-Sarcasm-Detection-in-A-Bharti-Naidu/d46fa4117b009fe3128c496da3dc5c6f3f446791 Journal of ICT, 20, No. 1 (January) 2021, pp: 1-

Blamey, B., Crick, T., & Oatley, G. (2012). R U :-) or :-( ? Character-vs. word-gram feature selection for sentiment classification of OSN Corpora. Research and Development in Intelligent Systems XXIX, 207–212. https://doi.org/10.1007/978-1-4471-4739-8_

Bouazizi, M., & Ohtsuki, T. (2015, December 1). Sarcasm detection in Twitter: “All your products are incredibly amazing‼!” - Are they really? https://doi.org/10.1109/GLOCOM.2015.7417640

Bouazizi, M., & Otsuki Ohtsuki, T. (2016). A pattern-based approach for sarcasm detection on Twitter. IEEE Access, 4, 5477–5488. https://doi.org/10.1109/access.2016.2594194

Davidov, D., Tsur, O., & Rappoport, A. (2010). Semi-supervised recognition of sarcastic sentences in Twitter and Amazon (pp. 15–16). Retrieved from Association for Computational Linguistics website: https://www. aclweb.org/anthology/W10-2914.pdf

Dehkhoda, A. (1931). Dehkhoda dictionary (2020 ed.). Retrieved from https://icps.ut.ac.ir/

Ehsan, E. (2013). Persian slang and modern terms. Retrieved from http://www.weare.ir/interesting/%D8%A7%D8%B5%D8%B7%D9% 84%D8%A7%D8%AD%D8%A7%D8%AA-%D8%B9%D8% A7%D9%85%DB%8C%D8%A7%D9%86%D9%87-%D9%88- %D8%A7%D9%85%D8%B1%D9%88%D8%B2%DB%- 8C-%D8%B2%D8%A8%D8%A7%D9%86- %D9%81%D8%A7%D8%B1%D8%B3%DB%8C/

Felbo, B., Mislove, A., Søgaard, A., Rahwan, I., & Lehmann, S. (2017). Using millions of emoji occurrences to learn any-domain representations for detecting sentiment, emotion and sarcasm. Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing. https://doi.org/10.18653/v1/d17-1169

Gelbukh, A. (2009). Computational linguistics and intelligent text processing. In A. Gelbukh (Ed.), Lecture notes in computer science. https://doi.org/10.1007/978-3-642-00382-0

Ghosh, A., & Veale, T. (2016). Fracking sarcasm using neural network (pp. 161–169). Retrieved from Association for Computational Linguistics website: https://www.aclweb.org/anthology/W16-0425.pdf

Hazarika, D., Poria, S., Gorantla, S., Cambria, E., Zimmermann, R., & Mihalcea, R. (2018). CASCADE: Contextual sarcasm detection in online discussion forums. ArXiv:1805.06413 [Cs]. Retrieved from https://arxiv.org/abs/1805.06413

Hokmi, K. (2018). Improving the learning skills of paradoxical elements, simile and irony in high school students. Journal of Human Sciences Research, 4(9), 1–20. Retrieved from https://www.civilica.com/Paper-JR_JHSR-JR_JHSR-4-9_013.html Journal of ICT, 20, No. 1 (January) 2021, pp: 1-

Liu, P., Chen, W., Ou, G., Wang, T., Yang, D., & Lei, K. (2014). Sarcasm detection in social media based on imbalanced classification. Web-Age Information Management, 8485, 459–471. https://doi.org/10.1007/978-3-319-08010-9_49

Lunando, E., & Purwarianti, A. (2013). Indonesian social media sentiment analysis with sarcasm detection. 2013 International Conference on Advanced Computer Science and Information Systems (ICACSIS), 195–198. https://doi.org/10.1109/icacsis.2013.6761575

Maynard, D., & Greenwood, M. (2014, May 1). Who cares about sarcastic tweets? Investigating the impact of sarcasm on sentiment analysis. Retrieved May 4, 2020, from ACLWeb website: https://www.aclweb. org/anthology/L14-1527/

Moein, M. (1972). Moin dictionary (2020 ed.). Retrieved from https://icps. ut.ac.ir/

Mohtaj, S., Roshanfekr, B., Zafarian, A., & Asghari, H. (2018, May 1). Parsivar: A language processing toolkit for Persian. Retrieved May 4, 2020, from ACLWeb website: https://www.aclweb.org/anthology/L18-1179/

Parmar, K., Nivid Limbasiya, & Dhamecha, M. V. (2018). Feature based composite approach for sarcasm detection using MapReduce. Retrieved May 4, 2020, from undefined website: https://www.semanticscholar. org/paper/Feature-based-Composite-Approach-for-Sarcasm-using-Parmar-Limbasiya/608a5b3cacbf64a29ad67e0c7b66a378bb4e50d

Rahayu, D. A. P., Kuntur, S., & Hayatin, N. (2018). Sarcasm detection on Indonesian Twitter feeds. 2018 5th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI), 5, 137–141. https://doi.org/10.1109/eecsi.2018.8752913

Rajadesingan, A., Zafarani, R., & Liu, H. (2015). Sarcasm detection on Twitter. Proceedings of the Eighth ACM International Conference on Web Search and Data Mining - WSDM ’15. https://doi.org/10.1145/2684822.2685316

Riloff, E., Qadir, A., Surve, P., De Silva, L., Gilbert, N., & Huang, R. (2013). Sarcasm as contrast between a positive sentiment and negative situation (pp. 704–714). Retrieved from Association for Computational Linguistics website: https://www.aclweb.org/anthology/D13-1066.pdf

Roshanfekr, B., Khadivi, S., & Rahmati, M. (2017). Sentiment analysis using deep learning on Persian texts. 2017 Iranian Conference on Electrical Engineering (ICEE), 1503–1508. https://doi.org/10.1109/ iraniancee.2017.7985281

Schifanella, R., de Juan, P., Tetreault, J., & Cao, L. (2016). Detecting sarcasm in multimodal social platforms. Proceedings of the 2016 ACM on Multimedia Conference - MM ’16. https://doi.org/10.1145/2964284.2964321 Journal of ICT, 20, No. 1 (January) 2021, pp: 1-

Seyed Sadeqi, S. M., & Ehsanjou, M. (2018). Examining and explaining proverbs in Moqaddame va Yazdah maqale from: Elahi Name Attar. Ourmazd Journal, 9(29), 1–35. Retrieved from https://www. civilica.com/Paper-JR_OURMAZD-JR_OURMAZD-9-29_003.html

Son, L. H., Kumar, A., Sangwan, S. R., Arora, A., Nayyar, A., & Abdel-Basset, M. (2019). Sarcasm detection using soft attention-based bidirectional long short-term memory model with convolution network. IEEE Access, 7, 23319–23328. https://doi.org/10.1109/access.2019.2899260

Suhaimin, M. S. M., Hijazi, M. H. A., Alfred, R., & Coenen, F. (2017). Natural language processing based features for sarcasm detection: An investigation using bilingual social media texts. 2017 8th International Conference on Information Technology (ICIT), 703–709. https://doi.org/10.1109/icitech.2017.8079931

Suhaimin, M. S. M., Hijazi, M. H. A., Alfred, R., & Coenen, F. (2019). Modified framework for sarcasm detection and classification in sentiment analysis. Indonesian Journal of Electrical Engineering and Computer Science, 13(3), 1175–1183. https://doi.org/10.11591/ijeecs. v13.i3.pp1175-1183

Tungthamthiti, P., Shirai, K., & Mohd, M. (2014, December 1). Recognition of sarcasms in tweets based on concept level sentiment analysis and supervised learning approaches. Retrieved May 4, 2020, from ACLWeb website: https://www.aclweb.org/anthology/Y14-1047/

Downloads

Published

04-11-2020

How to Cite

Nezhad, Z. B., & Deihimi, M. A. (2020). Sarcasm Detection in Persian. Journal of Information and Communication Technology, 20(1), 1-20. https://doi.org/10.32890/jict2021.20.1.1

Research impact

Harvested 2026-09-06
0 citations recorded so far

Counts differ between services because each indexes a different body of literature. None of them is the whole picture.

Identifiers DOI 10.32890/jict2021.20.1.1

Most read articles by the same author(s)