New Algorithm from the Times Finds Haikus 'In the Wild'

Thursday, April 04, 2013

new york times newspaper (Cal Juggler/flickr)

To many, the Mets
appear destined for a fifth
straight losing season.

That phrase is more than a sad fact — it’s a poem. Specifically, a haiku spotted by the nimble eyes of The New York Times’ latest toy: the haikubot. The haikubot combs the text of every New York Times article as it's published in search of the 5-7-5 syllable pattern that identifies a haiku in the wild. It’s the project of Jacob Harris, senior software architect for The New York Times.

“Basically the bot, as it were, is a bit of computer program that periodically pulls up the homepage of the New York Times website and looks for any newly published articles. It then runs through the texts of those articles and looks for the familiar Haiku pattern,” says Harris. Staff then pick the best of the bunch for publication on the New York Times website.

One particularly nice naturally occurring Haiku came out a travel story about driving through Oman:

As dawn broke we warmed
strawberry pop tarts over
the dying embers.

Another comes from a recipe for carrot puree that strikes Harris as sounding like a political slogan:

Stop the machine and
scrape down the sides of the bowl
with a spatula.

Harris is, however, quick to note that there are limits to what news haikus they will publish. "We're not going to make haikus about North Korea's nuclear program, for instance."

Can you beat the Times' haiku bot? Pick out your favorite news story from this week, sum it up as a haiku, and add it below. We'll air our favorites on the show today and tomorrow.


Jacob Harris

Produced by:

Mythili Rao

Comments [8]

Derek Leif from Glen Cove, New York

Fifty-two percent
Are for making pot legal
Pass the Doritos

Apr. 04 2013 11:42 PM
Ralph Bonheim from Brooklyn, NY

"I know the world's flat
because my cabbie says so,"
sayeth Tom Friedman.

Apr. 04 2013 01:41 PM
David Hostyk from Hollywood Florida

Haiku Bot? For shame;
Haiku is about human

Apr. 04 2013 01:08 PM
James McWilliams from Austin, Texas

With so much to say
About the mad world today
You do a haiku

Apr. 04 2013 12:44 PM
Jeff Beamsley from Monroe, MI

Angry Kim Jong-un
scary missiles threats tantrums
more bad parenting

Apr. 04 2013 12:28 PM
Jeff Beamsley from Monroe, MI

Climate change is real
Biblical floods on the way
Please seek higher ground

Apr. 04 2013 11:49 AM
Jeff Beamsley from Monroe, MI

Facebook on my phone
Never will leave me alone
No service is peace

Our children at risk
Politics insanity
More guns bring more death

Apr. 04 2013 10:27 AM
Angel from Miami, FL

Do you know what's missing from the Haikubot's writings? Poetry.

Apr. 04 2013 10:03 AM

Leave a Comment

Email addresses are required but never displayed.