har.sh

Computer assisted haiku generation.

Haiku

1

I write bad haiku;
Computer makes it better.
Computer poet.

Computer analysis of any given text input finds five- and seven-syllable fragments. The program can use these fragments to produce haikus itself (with mixed results) or sort the fragments so that we can construct haiku ourselves.

Wikipedia explains various rules to formally define the characteristics of a haiku. I've ignored all of these with the exception of the basic composition of three lines with five, seven and five syllables respectively.

This project never really went anywhere.

Examples

1

Frankenstein
by Mary Shelley
in twenty-four verses