We originally wanted to have the computer make memes for us, but finding/coming up with enough similar memes to parse was pretty hard, so we looked to the next best things: haikus.
What it does
It generates haikus after analyzing a text document of your choice. Sometimes you'll get heartfelt poetry, sometimes you'll get... something.
How we built it
We made a state machine in C# based on Markov chains to parse through 30+ pages of highly praised poetry and create some haikus of our own.
Challenges we ran into
Finding a stable algorithm to make the state machine make sense Having a large enough sample size of words
Accomplishments that we're proud of
Finding an API that counts word syllables, thereby making the haiku format possible Using an API for the first time Actually having variance in the poems generated
What we learned
APIs are super useful We can never be quite sure what to expect of the generated haikus Hackathons are fun :D
What's next for Hit-or-miss Haikus
More complicated poem structures, such as sonnets Using an image query to pull up relevant images as possible backgrounds