Acrostic Poetry Generated in Python
For the midterm, Chris and I created a Python script that generates acrostic poems using Twitter as the source text. More specifically, we wanted to create drunken poetry that spelled out the name of an alcohol while mixing up the text as if the reader were getting inebriated.
Here are the rules by which the poetry is generated:
- We wanted to generate acrostic poems. These are poems where the first letter of each line spells out a word.
- These poems are meant to be read aloud, so we wanted our script to progressively jumble the text to make the listener think that the reader is getting progressively drunk.
- We needed a relevant source text. For this we pulled tweets that referenced ‘drinking’,'#drunk’ , ‘wasted’, or ‘#wasted’ and tried to specifically find tweets published from the same region as where the alcohol originated.
You can read more about the technical process and see the code here.