Skip to main content

Figure of Speech Detection and Generation as a Service in IDN Authoring Support

  • Conference paper
  • First Online:
Interactive Storytelling (ICIDS 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14384))

Included in the following conference series:

  • 456 Accesses

Abstract

IDN authoring is a complex and creative endeavour. This paper provides the basis for a collaborative text-based authoring tool to support the work with figures of speech, such as metaphors, similes and metonymies. Several models have been tested and BERT, as best performing, has been used for creating functions to predict a figure of speech and, using an embedding of the custom database, return figures of speeches that are closest to the input, and generating new figures of speech. The implemented functions were validated using writers active in different fields.

All the code, the databases and the models can be found in this GitHub: link to GitHub.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 74.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

References

  1. Barnden, J.: Metaphor and Context: A Perspective from Artificial Intelligence, pp. 79–94. Palgrave Macmillan UK, London (2009). https://doi.org/10.1057/9780230594647_6

  2. Batsuren, K., Enkhbold, E., Batbaatar, M.: UniMet: unified metaphor detection. GitHub repository (2022). https://github.com/kbatsuren/UniMet

  3. Bhakthavatsalam, S., Anastasiades, C., Clark, P.: Genericskb: a knowledge base of generic statements. arXiv preprint arXiv:2005.00660 (2020)

  4. Bizzoni, Y., Ghanimifard, M.: Bigrams and bilstms two neural networks for sequential metaphor detection. In: Proceedings of the Workshop on Figurative Language Processing, pp. 91–101 (2018)

    Google Scholar 

  5. Carbonell, J., Sánchez-Esguevillas, A., Carro, B.: The role of metaphors in the development of technologies, the case of the artificial intelligence. Futures 84, 145–153 (2016). https://doi.org/10.1016/j.futures.2016.03.019. sI: Metaphors in FS

  6. Chu, M., Meyer, A., Foulkes, L., Kita, S.: Individual differences in frequency and saliency of speech-accompanying gestures: the role of cognitive abilities and empathy. J. Exp. Psychol. Gen. 143(2), 694–709 (2014). https://doi.org/10.1037/a0033861. Erratum in: J. Exp. Psychol. Gen. 143(2), 709 (2014)

  7. Chung, I., Kim, D., Kwak, N.I.: Maximizing cosine similarity between spatial features for unsupervised domain adaptation in semantic segmentation (2022). https://doi.org/10.1109/WACV51458.2022.00204

    Article  Google Scholar 

  8. Garrett, J.: Aristotle on metaphor (2007)

    Google Scholar 

  9. Grothe, M.: Metaphors be with you. Dr. Mardy’s Dictionary of Metaphorical Quotations. https://www.drmardy.com/metaphor/metaphorsbewithyou. Accessed 18 Apr 2023

  10. Hardman, L., Obrenovic, Z., Nack, F., Kerherve, B., Piersol, K.: Canonical processes of semantically annotated media production. Multim. Syst. 14(6), 327–340 (2008). https://doi.org/10.1007/s00530-008-0102-y

    Article  Google Scholar 

  11. Koenitz, H.: Towards a Specific Theory of Interactive Digital Narrative, pp. 107–121. Routledge (2015)

    Google Scholar 

  12. Koenitz, H.: Understanding Interactive Digital Narrative - Immersive Expressions for a Complex Time. Routledge (2023)

    Google Scholar 

  13. Lakoff, G., Johnson, M.: Metaphors We Live by. University of Chicago Press (1980)

    Google Scholar 

  14. Lan, Z., Chen, M., Goodman, S., Gimpel, K., Sharma, P., Soricut, R.: Albert: a lite bert for self-supervised learning of language representations. arXiv preprint arXiv:1909.11942 (2019)

  15. Li, Y., Lin, C., Guerin, F.: Nominal metaphor generation with multitask learning. In: Proceedings of the [Conference Name]. Department of Computer Science, University of Surrey, UK; Department of Computer Science, University of Sheffield, UK (August 2022)

    Google Scholar 

  16. Liu, Y., et al.: Summary of chatgpt/gpt-4 research and perspective towards the future of large language models (2023)

    Google Scholar 

  17. Nack, F.: IDN authoring - a design case. arXiv preprint arXiv:2306.13999 [cs.HC] (2023)

  18. Ortony, A.: Metaphor and Thought, 2nd edn. Cambridge University Press (1993). https://doi.org/10.1017/CBO9781139173865

  19. Ortony, A.: The Rule of Metaphor - The Creation of Meaning in Language, 1st edn. Routledge (2003)

    Google Scholar 

  20. Peters, M.E., et al.: Deep contextualized word representations. In: North American Chapter of the Association for Computational Linguistics. Association for Computational Linguistics, New Orleans (June 2018)

    Google Scholar 

  21. Prystawski, B., Thibodeau, P., Potts, C., Goodman, N.: Psychologically-informed chain-of-thought prompts for metaphor understanding in large language models (2023). https://escholarship.org/uc/item/2q01t47h

  22. Radford, A., Wu, J., Child, R., Luan, D., Amodei, D., Sutskever, I.: Language models are unsupervised multitask learners (2019)

    Google Scholar 

  23. Reimers, N., Gurevych, I.: Sentence-bert: sentence embeddings using siamese bert-networks. In: Conference on Empirical Methods in Natural Language Processing (2019)

    Google Scholar 

  24. Bhakthavatsalam, S., Chloe Anastasiades, P.C.: Genericskb: a knowledge base of generic statements. Allen Institute for AI (2020)

    Google Scholar 

  25. Swartjes, I., Theune, M.: Iterative authoring using story generation feedback: debugging or co-creation? In: Iurgel, I.A., Zagalo, N., Petta, P. (eds.) ICIDS 2009. LNCS, vol. 5915, pp. 62–73. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-10643-9_10

  26. The Editors of Encyclopaedia Britannica: Figure of Speech. Encyclopedia Britannica (2021). https://www.britannica.com/art/figure-of-speech. Accessed 2 June 2023

  27. Alwani, V.: Kaggle dataset: figure of speech. Kaggle. https://www.kaggle.com/datasets/varchitalalwani/figure-of-speech. Accessed 2 June 2023

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Simon Akkerman .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 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

Akkerman, S., Nack, F. (2023). Figure of Speech Detection and Generation as a Service in IDN Authoring Support. In: Holloway-Attaway, L., Murray, J.T. (eds) Interactive Storytelling. ICIDS 2023. Lecture Notes in Computer Science, vol 14384. Springer, Cham. https://doi.org/10.1007/978-3-031-47658-7_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-47658-7_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-47657-0

  • Online ISBN: 978-3-031-47658-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics