Poem Bot
- 1 minI built @p0em_bot using the poemist “Random Poem” API!
'Is skimming o'er a stagnant pool
— Poetry Bot (@p0em_bot) July 22, 2018
Your only occupation?'
'Ah, no: 'tis at this Summer School
I get my education.'
The source code for the poem bot is available here.
If I could speak words of water,
— Poetry Bot (@p0em_bot) July 22, 2018
You would drown when I said
'I love you.'
It uses the lang-detect library, and makes use of the “List of Dirty, Naughty, Obscene, and Otherwise Bad Words” to ensure poems tweeted out do not contain disrespectful language.
Ho! You there, selling daffodils along the windy street,
— Poetry Bot (@p0em_bot) July 21, 2018
Poor drooping, dusty daffodils - but oh! so Summer sweet!
Green stems that stab with loveliness, rich petal-cups to hold
The wine of Spring to lips that cling like bees about their gold!
I’m working on adding ways to intelligently identify breaks in the lingistic structure of poems – places to split up a long stanza into multiple tweets. Right now, @p0em_bot only tweets poems that have short stanzas which can easily be broken up into Twitter threads.