Poetry Generation with PoeTryMe

Chapter
Part of the Atlantis Thinking Machines book series (ATLANTISTM, volume 7)

Abstract

PoeTryMe is a platform for the automatic generation of poetry, with a versatile architecture that provides a high level of customisation. The user can define features that go from the poem configuration and the line templates, to the initial seed words that will define a generation domain, and also the generation strategy. In this chapter, we introduce PoeTryMe’s architecture and describe how we used it to generate poetry in Portuguese, using natural language processing resources for this language as well as patterns that denote semantic relations in human-created poetry. After presenting the resources used with PoeTryMe, the problem of poetry generation is tackled incrementally, as our decisions are explained and illustrated, step-by-step. In the end, the objective features of the poems generated by the implemented strategies are compared, while the best-scoring poems are shown.

References

  1. 1.
    Agirrezabal, M., Arrieta, B., Astigarraga, A., Hulden, M.: Pos-tag based poetry generation with wordnet. In: Proceedings of the 14th European Workshop on Natural Language Generation, pp. 162–166. ACL Press, Sofia, Bulgaria, August 2013Google Scholar
  2. 2.
    Barbieri, G., Pachet, F., Roy, P., Esposti, M.D.: Markov constraints for generating lyrics with style. In: Proceedings of 20th European Conference on Artificial Intelligence (ECAI), Frontiers in Artificial Intelligence and Applications, vol. 242, pp. 115–120. IOS Press (2012)Google Scholar
  3. 3.
    Belz, A.: Automatic generation of weather forecast texts using comprehensive probabilistic generation-space models. Nat. Lang. Eng. 14(4), 431–455 (2008)CrossRefGoogle Scholar
  4. 4.
    Brin, S., Page, L.: The anatomy of a large-scale hypertextual web search engine. Comput. Netw. 30(1–7), 107–117 (1998)Google Scholar
  5. 5.
    Bringsjord, S., Ferrucci, D.A.: Artificial Intelligence and Literary Creativity: Inside the Mind of BRUTUS, A Storytelling Machine. Lawrence Erlbaum Associates, Hillsdale (1999)Google Scholar
  6. 6.
    Cardoso, A., Veale, T., Wiggins, G.: Converging on the divergent: the history (and future) of the international joint workshops in computational creativity. AI Mag. 30(3), 15–22 (2009)Google Scholar
  7. 7.
    Colton, S., Goodwin, J., Veale, T.: Full FACE poetry generation. In: Proceedings of 3rd International Conference on Computational Creativity. ICCC 2012, pp. 95–102. Dublin, Ireland (2012)Google Scholar
  8. 8.
    Díaz-Agudo, B., Gervás, P., González-Calero, P.A.: Poetry generation in colibri. In: Proceedings of 6th European Conference on Advances in Case-Based Reasoning (ECCBR 2002), pp. 73–102. Springer, London (2002)Google Scholar
  9. 9.
    Earley, J.: An efficient context-free parsing algorithm. Commun. ACM 6(8), 451–455 (1970). Reprinted in Grosz et al. (1986)Google Scholar
  10. 10.
    Gervás, P.: WASP: evaluation of different strategies for the automatic generation of spanish verse. In: Proceedings of AISB’00 Symposium on Creative and Cultural Aspects and Applications of AI and Cognitive Science, pp. 93–100. Birmingham (2000)Google Scholar
  11. 11.
    Gervás, P.: An expert system for the composition of formal spanish poetry. J. Knowl.-Based Syst. 14, 200–201 (2001)Google Scholar
  12. 12.
    Gervás, P.: Computational modelling of poetry generation. In: Artificial Intelligence and Poetry Symposium, AISB Convention 2013, University of Exeter, United Kingdom, April. The Society for the Study of Artificial Intelligence and the Simulation of Behaviour (2013)Google Scholar
  13. 13.
    Gonçalo Oliveira, H.: PoeTryMe: a versatile platform for poetry generation. In: Proceedings of the ECAI 2012 Workshop on Computational Creativity, Concept Invention, and General Intelligence, C3GI 2012, Montpellier, France, August 2012Google Scholar
  14. 14.
    Gonçalo Oliveira, H., Pérez, L.A., Costa, H., Gomes, P.: Uma rede léxico-semântica de grandes dimensões para o português, extraída a partir de dicionários electrónicos. Linguamática 3(2), 23–38 (2011)Google Scholar
  15. 15.
    Gonçalo Oliveira, H., Cardoso, A.: Using a generic poetry generation system to produce song lyrics with sentiment. In: Proceedings of 3rd International Workshop on Computational Creativity, Concept Invention, and General Intelligence (C3GI), PICS, Prague, Czech Republic, August 2014. collocated with ECAI (2014)Google Scholar
  16. 16.
    Gonçalo Oliveira, H., Cardoso, F.A., Pereira, F.C.: Exploring different strategies for the automatic generation of song lyrics with tra-la-lyrics. In: Proceedings of 13th Portuguese Conference on Artificial Intelligence, EPIA 2007, pp. 57–68. APPIA, Guimarães, Portugal (2007)Google Scholar
  17. 17.
    Gonçalo Oliveira, H., Cardoso, F.A., Pereira, F.C.: Tra-la-lyrics: an approach to generate text based on rhythm. In: Proceedings of 4th International Joint Workshop on Computational Creativity, pp. 47–55. IJWCC 2007, London (2007)Google Scholar
  18. 18.
    Gonçalo Oliveira, H., Hervás, R., Díaz, A., Gervás, P.: Adapting a generic platform for poetry generation to produce Spanish poems. In: Proceedings of 5th International Conference on Computational Creativity, ICCC 2014. Ljubljana, Slovenia, June 2014Google Scholar
  19. 19.
    Hearst, M.A.: Automatic acquisition of hyponyms from large text corpora. In: Proceedings of 14th Conference on Computational Linguistics, COLING’92, pp. 539–545. ACL Press (1992)Google Scholar
  20. 20.
    Kim, S., Alani, H., Hall, W., Lewis, P.H., Millard, D.E., Shadbolt, N.R., Weal, M.J.: Artequakt: generating tailored biographies with automatically annotated fragments from the web. In: Proceedings of ECAI 2002 Workshop Semantic Authoring, Annotation and Knowledge Markup, SAAKM 2002, pp. 1–6 (2002)Google Scholar
  21. 21.
  22. 22.
    Levy, R.P.: A computational model of poetic creativity with neural network as measure of adaptive fitness. In: Proceedings of the ICCBR-01 Workshop on Creative Systems (2001)Google Scholar
  23. 23.
    Manurung, H.: A chart generator for rhythm patterned text. In: Proceedings of 1st International Workshop on Literature in Cognition and Computer (1999)Google Scholar
  24. 24.
    Manurung, H.: An evolutionary algorithm approach to poetry generation. Ph.D. thesis, University of Edinburgh (2003)Google Scholar
  25. 25.
    Manurung, R., Ritchie, G., Thompson, H.: Using genetic algorithms to create meaningful poetic text. J. Exp. Theor. Artif. Intell. 24(1), 43–64 (2012)CrossRefGoogle Scholar
  26. 26.
    Misztal, J., Indurkhya, B.: Poetry generation system with an emotional personality. In: Proceedings of 5th International Conference on Computational Creativity, ICCC 2014, Ljubljana, Slovenia, June 2014Google Scholar
  27. 27.
    Netzer, Y., Gabay, D., Goldberg, Y., Elhadad, M.: Gaiku: generating haiku with word associations norms. In: Proceedings of the Workshop on Computational Approaches to Linguistic Creativity, CALC’09, pp. 32–39. ACL Press (2009)Google Scholar
  28. 28.
    Ramakrishnan, A., Devi, S.L.: An alternate approach towards meaningful lyric generation in Tamil. In: Proceedings of NAACL HLT 2010 2nd Workshop on Computational Approaches to Linguistic Creativity, CALC’10, pp. 31–39. ACL Press (2010)Google Scholar
  29. 29.
    Ramakrishnan, A., Kuppan, S., Devi, S.L.: Automatic generation of Tamil lyrics for melodies. In: Proceedings of the Workshop on Computational Approaches to Linguistic Creativity, CALC’09, pp. 40–46. ACL Press (2009)Google Scholar
  30. 30.
    Reiter, E., Dale, R.: Building Natural Language Generation Systems. Cambridge University Press, New York (2000)CrossRefGoogle Scholar
  31. 31.
    Ritchie, G., Manurung, R., Pain, H., Waller, A., Black, R., O’Mara, D.: A practical application of computational humour. In: Proceedings of 4th International Joint Workshop on Computational Creativity, pp. 91–98. London (2007)Google Scholar
  32. 32.
    Toivanen, J.M., Gross, O., Toivonen, H.: The officer is taller than you, who race yourself! using document specific word associations in poetry generation. In: Proceedings of 5th International Conference on Computational Creativity, ICCC 2014, Ljubljana, Slovenia, June 2014Google Scholar
  33. 33.
    Toivanen, J.M., Järvisalo, M., Toivonen, H.: Harnessing constraint programming for poetry composition. In: Proceedings of the 4th International Conference on Computational Creativity, ICCC 2013, pp. 160–167. The University of Sydney (2013)Google Scholar
  34. 34.
    Wong, M.T., Chun, A.H.W.: Automatic haiku generation using VSM. In: Proceeding of 7th WSEAS International Conference on Applied Computer and Applied Computational Science (ACACOS’08), Hangzhou, China (2008)Google Scholar
  35. 35.
    Yan, R., Jiang, H., Lapata, M., Lin, S.-D., Lv, X., Li, X.: I, poet: automatic chinese poetry composition through a generative summarization framework under constrained optimization. In: Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence, IJCAI’13, pp. 2197–2203. AAAI Press (2013)Google Scholar

Copyright information

© Atlantis Press and the authors 2015

Authors and Affiliations

  1. 1.Department of Informatics Engineering, CISUCUniversity of CoimbraCoimbraPortugal

Personalised recommendations