Project Summary: We developed an algorithm that can produce Shakespearean and Petrarchan sonnets. We also explored the role of metaphor in poetry and developed a second model to suggest metaphors by bringing together two distinct concepts.
My Role: I collaborated with my project partners on planning and conceptualizing the algorithms, coding, analyzing the outputs, and writing our paper.
Method: Using natural language processing (NLP) tools we built a metaphor algorithm and a trigram language model and used it to generate Shakespearean and Petrarchan sonnets. To learn more about our approach to computationally identifying metaphors read our paper presented at the Computational Linguistics for Literature workshop at the North American Chapter of the Association for Computational Linguistics conference.
Impact: To learn more about our sonnet generation algorithm and see examples of its output see the publications and coverage below: