Python ‘Found Poem’ Generator – The Next Level

When the latest Ledbury Poetry Festival e-mail dropped into my inbox last week it set me thinking again about the ‘Found Poem’ Generator I had been working on using Python. The festival was announcing the debut of their collaboration between poet Sara Jane Arbury, Joined Up Heritage and Ledbury Poetry Festival who have created a poetic walk around eight key heritage sites in Ledbury using ‘found poetry’ comprising words from First World War poets and phrases contained in the buildings themselves.

Ledbury has quite a history with poetry, being the birthplace of Poet Laureate John Masefield and has close associations with the Dymock Poets.

With my current interest in ‘found poetry’, following the course I participated in on FutureLearn featuring Michael Simmons Roberts and Helen Mort, and my latent interest in Ledbury and the Ledbury Poetry Festival having lived in Ledbury for a short while, this set the thoughts rolling around in my head: what if I could extend my Found Poem Generator to create a display piece or interactive kiosk? Could this then be utilised as a poetry installation out in the real world?

So, in order to achieve this I need to:

  1. Output the created poems to a larger screen ie a graphical type large fonted output rather than  using the console window.
  2. Provide two methods of running:
    1. Auto-generate a new poem every 5 minutes or so
    1. Provide buttons for user input to create poems on demand
  3. Package the program up to be self-contained 
  4. Deploy the program onto some sort of platform that wasn’t my Mac laptop ie a Raspberry PI and large screen monitor or TV
  5. Make the program auto-run when the device is started / restarted

Further enhancements could then be:

  1. Use a text / csv file to load in the words and lines of the poems rather than the hardcoded ones used currently
  2. Check the first letter of each line to capitalise it for poems and un-capitalise it for haikus, and add commas to the end of lines if they are missing or remove for haikus.

Subscribe to my blog and watch out for these enhancements and future posts – coming soon!


More posts in this series:

Python ‘Found Poem’ Generator – Part 1 – Introduction

Python ‘Found Poem’ Generator – Part 2 – Adding Haikus

–> This one –>Python ‘Found Poem’ Generator – Part 3 – The Next Level

Python ‘Found Poem’ Generator – Part 4 – Outputting Text To A Graphical Screen

Python ‘Found Poem’ Generator – Part 5 – User Interaction – Adding Buttons

Python ‘Found Poem’ Generator – Part 6 – Loading Data From A File

Python ‘Found Poem’ Generator – Part 7 – Counting Syllables and Words

Another Night Alone

The pub in the afternoon. The Talbot in Ledbury to be exact, an odd crowd; the old retirees drinking their afternoon away arguing politics with a middle-aged newcomer. It’s just a parallel conversation though, not one is listening to the other, just passing opinions and judgements. A younger couple, not a couple but meeting up to catch up and celebrate some new job promotion. Eager and excited, not drinking in the afternoon but a handy meet up point. The landlord, loud and brash, friendly but closed. Reminds me of my dad, you’ll never get anything real from him, not unless he wants to let you in. Which he won’t, he’s too cautious and too wily for that. I’m on my second beer, a slight, small beer buzz has started and I’m in the danger zone. Nearly at the end of the second daytime beer and caution goes to the wind. Why not have another? Dinner can wait. Go on, have one more. I’m in the danger zone.

Time to sup up and head home, there’s packing to be done for the weekend away and lino printing to be done, my new art and craft masterpiece to finish off. And I feel alive and amazing and at once lonely and afraid. Another night alone.