poem.exe is a project that generates tiny haiku-like poems and posts them on social media.
-
@poem_exe on Twitter (the original);
-
@poem_exe on Mastodon;
-
@quasihaiku on Mastodon (posts without using the letter e).
More info:
The corpus
directory contains text files with poems and word lists, and
Python scripts which compile these files into a model.json
file.
The lib
directory contains a Ruby library which reads this model.json
file
and generates poems using a Queneau assembly process. A poem is
constructed by selecting the first line of a random poem, the second line of
another, and the third line of yet another.
This forms a 1–2–3 structure. Sometimes a different structure is used: for example, a 1–2–2–3 structure, in which two middle lines are taken from two different poems.