Haiku

Loading....






Score: %

Explanation

I'm playing with the concept of programatically generated poetry. It has been done. It has been done better. I'm using a wordlist from SCOWL and friends, particularly the Parts of Speech Database. I've pre-processed the file into json and added attributes for each part of speech so I can use it later. I've also added syllable counts by using the ruby Syllable Counter that won the bounty on Bountify. Specifically, the one on github. That and a really simple random word picker and I have this. Don't pick on it too much. It might grow up to be a great poet one day, but it is just starting out. Unfortunately it thinks it knows too many big words. In order to help make better haiku, for some value of better, I've added some options. The common words list comes from a list of the 10,000 most common words. If you find a good haiku here, tweet it, they are otherwise efemeral. If you want to find a good one, go read some Bashō.

Lock in individual lines if you like them and click the Make Another Haiku button to retry the other lines only.

I've added a short (250K) list of the top commonly paired words and the option to prefer subsequent words that appear in this list. I don't like the results because the list of pairs is too short, but feel free to play with it. It sometimes gives up after trying to get a commonly paired word and other times the fact that the word is commonly paired is a bad thing (as in line endings). I carry over previous words into the next line and that helps for continuity from line to line.