Live data from Hacker News

Times Haikus

haiku.nytimes.com

31–39 of 39 posts

Re: Times Haikus

#33
This is really neat. I hope it stays up after April 1st.

Autogenerated haiku fans might also want to check out Twitter Haiku, which generates haikus from your recent tweets: https://sleepy-mesa-7562.herokuapp.com/

It strings words together randomly so it's a bit more dada. An example from my tweets:

    Leaving shut when pain
    Like em sleeping no day keep
    Me dream normal sure
It was written by Patrick Estabrook, a fellow student(?) here at Hacker School. Looks like the source is on GitHub: https://github.com/patrickmestabrook/HaikuGen

Re: Times Haikus

#34
post #33

This is really neat. I hope it stays up after April 1st. Autogenerated haiku fans might also want to check out Twitter Haiku, which generates haikus from your recent tweets: https://sleepy-mesa-7562.herokuapp.com/ It strings words together randomly so it's a bit more dada. An example from my tweets: Leaving shut when pain Like em sleeping no day keep Me dream normal sure It was written by Patrick Estabrook, a fellow…

As long as we're talking autogenerated haiku on Twitter...

https://twitter.com/poetryninja

Re: Times Haikus

#36
post #22

Earlier quoted context omitted.

Ah, very good! The other interesting point is they use a dictionary that includes number of syllable information that have augmented with words like "Rihanna". Part of me wishes this page had been submitted instead of the top level.

Yes, to clarify, I started with the base CMUdict for syllable counts, but I had the program keep track of any term misses it ran into. This way I could augment its vocabulary. It also helped me find some tokenization bugs and also try some rules for dealing with compound words like "unsportsmanlike"

One approximate hack that works pretty well is to count the number of blocks of vowels separated by consonants. It breaks on some words, but was close enough to use for something I was working on. (Datamining rhymes from lyrics.)

Re: Times Haikus

#37
post #33

This is really neat. I hope it stays up after April 1st. Autogenerated haiku fans might also want to check out Twitter Haiku, which generates haikus from your recent tweets: https://sleepy-mesa-7562.herokuapp.com/ It strings words together randomly so it's a bit more dada. An example from my tweets: Leaving shut when pain Like em sleeping no day keep Me dream normal sure It was written by Patrick Estabrook, a fellow…

As long as we're talking autogenerated haiku on Twitter... https://twitter.com/poetryninja

Not quite haiku, but this is my favourite poetry-twitter-bot.

https://twitter.com/pentametron

Re: Times Haikus

#38
post #11

This is hilarious. With a bit of tweaking it could be made to only detect "haikus" whose lines end at suitable grammatical boundaries rather than word boundaries. I think this would give rise to a higher quality selection.

There are a few awkwardness checks we do that disqualify some haikus. For instance, if the second or third line has a comma right near the front or back, or if there are month or title abbreviations, etc. But I'm always looking to refine it further.

It would be nice if lines didn't end with prepositions or determiners (http://en.wikipedia.org/wiki/English_determiners). Those words depend on whatever follows, so it causes an awkward split. It shouldn't be hard to add such a check.

Re: Times Haikus

#39
post #25

Earlier quoted context omitted.

Eh, I think the only somewhat-hard requirement is seventeen syllables, and even that is often waved in favor of aesthetics. Plus they really tend to work better in Japanese anyway. Somewhat on-topic: Jack Kerouac made attempts to "Americanize" the haiku form a bit, which I always thought were pretty neat. I think they're collected in a book called (something like) Book of Haiku . I still like your idea though :)

According to the American Haiku Society (yes, it exists), the syllable count is actually less important than including a seasonal word and a "cut" between two different sets of imagery. But that's a little harder to teach a bit of hack code to do... so...

the modern haiku

is no longer restricted

five seven five haa!

Post reply on HN