Skip to main content

Softcomputing Approach to Sarcasm Analysis

  • Conference paper
  • First Online:
Theory and Engineering of Dependable Computer Systems and Networks (DepCoS-RELCOMEX 2021)

Abstract

The goal of the paper is to create a system for sarcasm recognition in texts. The system effectiveness is significantly better than a random guess and it is functional in chosen types of sarcasm. The system is tested and created using datasets based on input from Twitter users but also on headlines of online news magazines. Used datasets contain different type of sarcasm in form appropriate for neural network to train on. The limitation of the system is recognition of specialized sarcasm which requires a unique knowledge to understand it and consider it to be an instance of sarcasm. The system determines sarcasm only through the website and seek the proper context, so the system determines sarcasm only in the given sentence. Two basic solutions had been developed: a neural network with different configurations of layers and a convolutional neural network. The implemented solutions give very satisfactory results.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Bouazizi, M., Ohtsuki, T.: A pattern-based approach for sarcasm detection on Twitter. IEEE Access 4(1–1), 5477–5488 (2016)

    Article  Google Scholar 

  2. Chaudhari, P., Chandankhede, C.: Literature Survey of Sarcasm Detection. In: IEEE WiSPNET 2017 Conference, pp. 2041–2046 (2017)

    Google Scholar 

  3. Davidov, D., Tsur, O., Rappoport, A.: Semi-supervised recognition of sarcastic sentences on Twitter and Amazon. In: Proceedings of the Fourteenth Conference on Computational Natural Language Learning, Uppsala, Sweden, 15–16 July 2010, Association for Computational Linguistics, pp. 107–116 (2010)

    Google Scholar 

  4. https://www.dictionary.cambridge.org. Accessed 15 Mar 2021

  5. https://www.github.com/aadityaubhat/medium_articles/tree/master/sarcasm_detection. Accessed 18 Mar 2021

  6. https://www.kaggle.com/rmisra/news-headlines-dataset-for-sarcasm-detection. Accessed 21 Mar 2021

  7. https://www.macmillandictionary.com. Accessed 10 Mar 2021

  8. https://www.wildml.com/2015/12/implementing-a-cnn-for-text-classification-in-tensorflow. Accessed 10 Mar 2021

  9. Kim Y.: Convolutional neural networks for sentence classification. In: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), October 2014, Doha, Qatar. Association for Computational Linguistics, pp. 1746–1751 (2014)

    Google Scholar 

  10. Kingma, D.P., Ba, J.L.: Adam: a method for stochastic optimization. In: 3rd International Conference for Learning Representations ICLR, San Diego, pp. 1–15 (2015)

    Google Scholar 

  11. McLaughlin, H.: Smog grading: a new readability formula. J. Reading 12(8), 639–646 (1969)

    Google Scholar 

  12. Oprea S., Magdy W.: iSarcasm: A Dataset of Intended Sarcasm (2019)

    Google Scholar 

  13. Rajadesingan, A., Zafarani, R., Huan Liu, H.: Sarcasm detection on Twitter: a behavioral modeling approach. In: Proceedings of the Eighth ACM International Conference on Web Search and Data Mining February 2015, WSDM 2015, pp. 97–106 (2015)

    Google Scholar 

  14. Rockwell, P.: The Effects of Cognitive Complexity and Communication Apprehension on the Expression and Recognition of Sarcasm, Nova Science Publishers, Hauppauge (2007)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jacek Mazurkiewicz .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Mazurkiewicz, J., Woszczyna, J. (2021). Softcomputing Approach to Sarcasm Analysis. In: Zamojski, W., Mazurkiewicz, J., Sugier, J., Walkowiak, T., Kacprzyk, J. (eds) Theory and Engineering of Dependable Computer Systems and Networks. DepCoS-RELCOMEX 2021. Advances in Intelligent Systems and Computing, vol 1389. Springer, Cham. https://doi.org/10.1007/978-3-030-76773-0_27

Download citation

Publish with us

Policies and ethics