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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
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
Batsuren, K., Enkhbold, E., Batbaatar, M.: UniMet: unified metaphor detection. GitHub repository (2022). https://github.com/kbatsuren/UniMet
Bhakthavatsalam, S., Anastasiades, C., Clark, P.: Genericskb: a knowledge base of generic statements. arXiv preprint arXiv:2005.00660 (2020)
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)
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
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)
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
Garrett, J.: Aristotle on metaphor (2007)
Grothe, M.: Metaphors be with you. Dr. Mardy’s Dictionary of Metaphorical Quotations. https://www.drmardy.com/metaphor/metaphorsbewithyou. Accessed 18 Apr 2023
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
Koenitz, H.: Towards a Specific Theory of Interactive Digital Narrative, pp. 107–121. Routledge (2015)
Koenitz, H.: Understanding Interactive Digital Narrative - Immersive Expressions for a Complex Time. Routledge (2023)
Lakoff, G., Johnson, M.: Metaphors We Live by. University of Chicago Press (1980)
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)
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)
Liu, Y., et al.: Summary of chatgpt/gpt-4 research and perspective towards the future of large language models (2023)
Nack, F.: IDN authoring - a design case. arXiv preprint arXiv:2306.13999 [cs.HC] (2023)
Ortony, A.: Metaphor and Thought, 2nd edn. Cambridge University Press (1993). https://doi.org/10.1017/CBO9781139173865
Ortony, A.: The Rule of Metaphor - The Creation of Meaning in Language, 1st edn. Routledge (2003)
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)
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
Radford, A., Wu, J., Child, R., Luan, D., Amodei, D., Sutskever, I.: Language models are unsupervised multitask learners (2019)
Reimers, N., Gurevych, I.: Sentence-bert: sentence embeddings using siamese bert-networks. In: Conference on Empirical Methods in Natural Language Processing (2019)
Bhakthavatsalam, S., Chloe Anastasiades, P.C.: Genericskb: a knowledge base of generic statements. Allen Institute for AI (2020)
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
The Editors of Encyclopaedia Britannica: Figure of Speech. Encyclopedia Britannica (2021). https://www.britannica.com/art/figure-of-speech. Accessed 2 June 2023
Alwani, V.: Kaggle dataset: figure of speech. Kaggle. https://www.kaggle.com/datasets/varchitalalwani/figure-of-speech. Accessed 2 June 2023
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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)