Posts Tagged haiku

Unintentional Haiku in my YouTube Video Descriptions

Since I wrote a little app to download much of my YouTube metadata, it was obvious that I needed to feed it through another little app I wrote: Haiku Detector. So I did. In all of my public YouTube descriptions put together, with URLs removed, there are 26 172 sentences, and 436 detected haiku.

As is usually the case, a few of these ‘haiku’ were not really haiku because the Mac speech synthesis pronounces them wrong, and thus Haiku Detector counts their syllables incorrectly. A few more involved sentences which no longer made sense because their URLs had been removed, or which were partial sentences from song lyrics which looked like full sentences because they were on lines of their own. Most of the rest just weren’t very interesting.

There were quite a lot of song lyrics which fit into haiku, which suggest tunes to which other haiku can be sung, if the stress patterns match up. I’m not going to put those here though; there are too many, and I could make a separate post about haiku in Jonathan Coulton lyrics, having already compiled a JoCorpus for to find rhymes in. So here are some other categories of haiku I liked. For lack of a better idea, I’ll link the first word of each one to the video it’s from.

Apologies about my camerawork

Also, there’s a lot
of background noise so the sound
isn’t very good.

There was a little
too much light and sound for my
poor little camera. 🙂

But hey, if I’d brought
my external microphone,
it would have got wet.

I’m so sad that I
had to change batteries or
something part-way through. 😦

Who do I look like,
Joe Covenant in Glasgow
in 2008?

Now the guitar is
out of tune and my camera
is out of focus.

Performers being their typical selves

John Roderick:

they get around to singing
the song Cinnamon.

Aimee Mann asks John
Roderick to play one of
his songs (which he wrote.)

Jim Boggia:

But first, he gives us
a taste of what he’s really
famous for: tuning.

And now he’s lost his
voice, so it’s going to be
great for everything.

Cody Wymore:

Cody Wymore can’t
do a set without Stephen
Sondheim in it.

Cody horns in on
it anyway by adding
a piano part.

He pauses time for
a bit so nobody knows
he was unprepared.

It’s about being
in a room full of people
and feeling alone.

Paul and Storm:

Why does every new
verse of their song keep taking
them so goddamn long?

Little did I know
that four other people would
throw panties at Paul.

Ted Leo:

We’re gonna bring the
mood down a little bit, but
maybe lift it up!

Nerf Herder:

Meanwhile, they have to
fix up the drums because I
guess they rocked too hard.

Zoe and Brian Gray:

It’s For the Glory
of Gleeble Glorp, which isn’t
a euphemism.

Zoe Gray has to
follow Brian Gray’s songs from
the Gleebleverse.

Clint McElroy:

He’s here to perform
for us an amazing act
of léger de main.

Travis McElroy:

Travis gets up on
stage and holds a small doll’s head
in a creepy way.

which brings us to Jonathan Coulton:

He loves us and is
very glad to be with us.
This is Creepy Doll.

Jonathan Coulton
remarks on the lax rhyming
in God Save The Queen.

Jonathan will use
Jim’s capo, and he will give
it back afterwards.

Jonathan did not
know this was going to be
a cardio set.

That guy Paul has been
seeing every goddamned day
for the last two months.

MC Frontalot:

MC Frontalot
talks about samples and tells
us what hiphop is.

Jean Grae:

It’s not because she’s
a lady, but because she’s
an alcoholic.

She feels like she should
get a guitar case, even
without a guitar.

Jon Spurney:

Jon Spurney rocks out
on the guitar solo, as
he is wont to do.


at about 6:38,
we get to the point.

The ship’s IT guy:

He has been very
glad to meet us, but he’s not
sad to see us leave.

Red Team Leader:

Red Leader has some
announcements to make before
the final concert.

The Red Team didn’t
mind, because we’re the team that
entertains ourselves.

All the JoCo Cruise performers in the second half of the last show:

Let’s bring Aimee Mann
back out to the stage to join
the Shitty Bar Band.

We now get into
the unrehearsed supergroup
section of the show.

JoCo Cruise hijinks

This is the last show,
unless we’re quarantined on
the ship for a while!

Half of those palettes
were 55-gallon drums
of caveat sauce.

This pun somehow leads
to a sad Happy Birthday
for Paul Sabourin.

Paul Sabourin points
out Kendra’s Glow Cloud dress in
the front row (all hail!)

They talk about why
they did note-for-note covers
instead of new takes.

Make It With You by
Bread, which has even better
string writing than Swift.

So by Friday night,
they’d written this musical
about JoCo Cruise.

A plan to take over the world:

Here’s how it’s going
to work: first we’re going to
have a nice dinner.

And once we have our
very own cruise ship, we shall
dominate the seas.

Some Truth:

An actual cake
which is not a lie. It was
delicious and moist.

It was delicious
and moist. This is Drew’s body
given up for us.

Questions and answers:

What do you do when
you reach the limits of your
own understanding?

When she reaches the
limits of her knowledge, she
says she doesn’t know.

the green people with
buttons who are aliens
wanting to probe you

Wash your hands! Do you
need to take your life jackets
to the safety drill?

What about water,
though? Where do you sign up for
the specialty lunch?

Calls to action

All this and more can
be real if you book yourself
a berth on that boat.

It was supported
by her Patreon patrons.
You could be one too!

If you want to hear
him sing more covers this way,
back this Kickstarter:

That will do for now. Next perhaps I’ll make word clouds of my YouTube descriptions from various time periods, to show what I was uploading at the time. Or perhaps I’ll feed the descriptions into the app I wrote to create the data for, see what the most common rhymes are, and write a poem about them, as I did with Last Chance to See.

Eventually, some of the content I create from my YouTube metadata will make it into a YouTube video of its own — perhaps finally a real channel trailer. But what will I write in the description and title, and will I have to calculate the steady state of a Markov chain to make sure it doesn’t affect the data it shows?


, , , , , , ,

Leave a comment

GloPoWriMo 2019

Last November, instead of NaNoWriMo (National Novel Writing Month) I created NanoRhymo, where I wrote a tiny poem every day inspired by a random rhyme from my rhyming dictionary, April was GloPoWriMo (Global Poetry Writing Month — NaPoWriMo/National Poetry Writing Month to people from unknown nations who think ‘national’ gives their invented holidays a more realistic sheen) so I decided to do the same thing. Here are the poems I wrote.

Day 1, inspired by the rhyme propounds and zounds:

I see the news, and holler ‘Zounds!
That’s downright nuts! That is not cool!’
To see the thoughts that he propounds
I *hope* it’s all an April fool.

Day 2, inspired by the rhyme shenanigan and Flanagan:

There once was a rascal named Flanagan
who magnified ev’ry shenanigan
and when they were caught
repented, quite fraught,
then made their escape and and began again.

Day 3, inspired by the rhyme excavations and replication’s, and also a line from Jurassic Park:

After careful excavations,
came some reckless replications,
running rife, now run away!
Cunning life, uh, finds a way.

Day 4, inspired by the rhyme mutuality’s and theatricality’s, and the idea that the then-imminent Brexit needs to be summarised as a comic opera:

As now we face with Brexit
an end of mutuality,
I need theatricality
to show what’s going on.

It’s really quite complex, it
must be faced with joviality;
I can’t take the formality
or show-stopping fatality…

Before my poor brain wrecks it
by facing the reality
I need some musicality —
the show’s still going on!

Day 5, inspired by the rhyme asylum and subphylum:

This spineless chipolata
brings disgrace to Vertebrata!
I wish to seek asylum
in a different subphylum.

Day 6, inspired by the rhyme while I and styli:

Some scoff at using styli.
I’m not so highfalutin’,
so please excuse me while I
tweet from my Apple Newton.

Day 7, inspired by the rhyme lawmen and for men:

There’s no need to call the lawmen
and exclaim “Oh no! Us poor men!”
when things aren’t tailored for men.
Cast aside “misandrist” strawmen.
Watch how much you hold the floor, men.

Day 8, inspired by the rhyme airway’s and their ways:

I don’t agree with their ways!
Why can’t they learn new skills?
Their ‘breathing’ thing is hokum!
I won’t pay for their airways!
Why can’t they just use gills?
They’ll learn to if I choke ‘em!

Day 9, inspired by the rhymes ineffectually and intellectually, deficiency and inefficiency, and ineffaceable and untraceable:

If you’re ineffectual, although you’re intellectual,
then your inefficiency might stem from some deficiency —
memories ineffaceable which should be made untraceable,
ineffable reverberations crowding useful thought.

Day 10 (a day late), inspired by the rhyme detectable and connectible, and of course the Event Horizon Telescope Collaboration’s announcement of the first image of a black hole:

Eight radio telescopes, made connectible,
made a black hole’s light detectable.

Day 11, inspired by the rhyme mending’s and endings, and of course the Beresheet lunar landing:

One small stop, and mission’s ending.
One giant lapse, no lunar mending.
Look at what you learn and hail your
huge success you earn through failure.

Day 12, inspired by the rhyme unlabelled and disabled:

While some propound that we transcend
ignore the boundaries to end
discrimination: life unlabelled
as woman, Asian, bi, disabled,
how you see me, and I myself,
still have myths attached we fell for,
still affect what we expect
to be, or see, and left unchecked
this blinding to the groups we see just
lets those stealthy fictions lead us.

Day 13, inspired by the rhyme reupholstering and bolstering and definitely referring to gunshot rather than immunisations:

If the shot in your arms is a killer,
you’ll find yourself bolstering the holster,
but if what’s in your arms is a pillow
you’d best be reupholstering the bolster.

Day 14, inspired by the rhyme planetesimals and hexadecimals (best read in a non-rhotic accent):

Previous dates say you’re lesser? Miladies,
we all start out infinitesimal.
Growing from dust we become planetesimals;
now you’re sixteen out of ten, hexadecimal.

Day 15, inspired by the rhyme deSitter and bitter:

I’m just very old; I’m not bitter.
I don’t care I can no more transmit a
request that will pass the de Sitter
horizon and get to your Twitter.

Day 16, inspired by the rhyme cassava’s and guavas, and a true story involving Joey Marianer and I hearing Beth Kinderman’s ‘Stop Covering “Hallelujah”‘ at MarsCon, visiting a ball of twine but not a furniture shop, noticing many other phrases that could scan to Hallelujah, and later writing a song to that tune about the ‘purple guava’ meme on JoCo Cruise. This poem is, of course, to be sung to the tune of Leonard Cohen’s Hallelujah:

At MarsCon just before the cruise,
we heard some Hallelujah blues,
saw Minnesotan places, but not Marva’s.
Beth Kinderman was in our head,
but thanks to Paul we wrote instead
A song like Hallelujah about guavas.
Purple guavas, not cassavas, purple guavas, not cassavas.

We ended up writing and rewriting many songs to that tune, and Joey has been going through our growing list of Hallelujah parodies and singing them on YouTube.

Day 17, inspired by the fact that it was National Haiku Day in some nation or other, and I indeed wrote a Haiku Detector app for macOS a while ago:

Haiku detector
is an app that finds haiku.
I wrote it myself.

Day 18, in reply to a friend who was surprised to have missed that I wrote a haiku detector:

And a robot choir,
a rhyming dictionary,
and an insult app.

Day 19, inspired by the rhyme surviving and depriving:

Let us watch the rich contriving
ways they can continue thriving,
cunning tricks to keep deriving
profits from their deeds depriving
others of the means of striving
for a life above surviving.

On day 20, I considered my post on unintentional haiku in the Mueller report to be my poem for the day.

Day 21, inspired by the rhyme nonvital and recital:

Some may say that art’s nonvital —
mere indulgence for the idle.
But while we breathe with no recital,
without reprieve, we’re suicidal.

Day 22, inspired by the rhymes (in non-rhotic accents) Larousse’snooses, and seducer’s, and some of the dictionary brands in my language bookcase:

In my bookcase of seducers:
Collins, Van Dales, and Larousses.
Some who judge not right from wrong,
Some who tighten grammar’s nooses.
Come to my Chambers, Roberts, Pons,
and I will Reed you all night long.

Day 23, inspired by the non-rhotic rhyme PDA to and cater:

Avoiding PDA to
abstemiously cater
to those who’d subjugate a
self you’ve not revealed
may further make the straighter
subconsciously equate a
same-sex love display to
a sin that’s best concealed.

Day 24, inspired by the rhyme dipterocarpaceous and veracious, to be sung to the tune of Supercalifragilisticexpialidocious:

My dictionary says some plants are dipterocarpaceous,
even though it sounds like that is doubtfully veracious.
Lots of plant clades sound like this; it’s really not fallacious!
Caryophyll- amaryllid- hamamelidaceous!

I then got distracted by life for a while and wrote more poems in May, but let’s pretend they correspond to days in April.

Day 25, inspired by the non-rhotic rhymes intersectedunexpected, and sectored:

In a culture split and sectored
sometimes came the unexpected
when two groups who both were hectored
saw their interests intersected.

Day 26, inspired by the rhyme anaphylactic and intergalactic:

In an immune system intergalactic
dark energy swells in repulsive analogy
for self-versus-self, a matter of allergy,
and the Big Rip apocalypse anaphylactic.

Day 27, inspired by the rhyme subsistence and coexistence:

Species risk extinction and your
stocks deplete if you seek grandeur.
If instead you seek subsistence,
you might sustain that coexistence.

Day 28, inspired by hearing about someone being asked this question, to be sung to the tune of Tom Lehrer’s song L-Y:

You love with your minds and hearts
but also have matching parts.
“How do you two have sex?” acquaintances pry.
Consensually, consensually, consensual-L-Y.

Day 29, inspired by the fact that May 12 was both Mother’s Day in America and the first Women in Mathematics Day:

Today’s the day we stand beside
the women who have multiplied,
divided, added, and subtracted,
extrapolated, and abstracted
such that all of us were raised
to heights and powers that amazed.

Day 30, written as I was compiling this post, inspired by the rhyme mallets and ballots:

Some pound pavement swaying ballots,
Some pound foes, build walls with mallets
Some pound notes are worth less… well it’s
some pound of flesh to buy and sell us.

, , , , , , , , , , , , , , , , ,

1 Comment

Unintentional Haiku in the Mueller Report

Everyone’s talking about this Report on the Investigation into Russian Interference in the 2016 Presidential Election, so I dusted off Haiku Detector and looked for interesting haiku in it. A friend pointed me to a text version, though it’s not ideal for finding haiku; it has many superfluous hard line breaks, missing or superfluous spaces, and so on, which make it harder for Haiku Detector to tell where words and sentences end. There were also page and footnote numbers included in the text. Eventually perhaps I’ll read through it and clean those things up. Haiku Detector found 105 ‘haiku’ in 18752 ‘sentences’.

There were, of course, several similar to this:

Harm to Ongoing
Matter 26 Harm to
Ongoing Matter

of which I think this is my favourite:

Harm to Ongoing
Matter – H a r m to
Ongoing Matter

Some headings formed haiku:

P . 6(e) 7.
Interactions and Contacts
with the Trump Campaign

Other Potential
Campaign Interest in Russian
Hacked Materials

Others which seemed to make sense and stop at actual sentence or at least clause boundaries were:

They are talking to
us. -It is a lot of risk. –
Office of Putin.

“If you have any
questions, I will be happy
to help contact him.”

“We understand all
of the sensitivities and
are not in a rush.”

We also sought a
voluntary interview
with the President.

It’s all because you
recused. AG is supposed to
be most important

He’s a showboater.
He’s a grandstander. I don’t
know any Russians.

you know, this Russia
thing with Trump and Russia is
a made-up story.

But I feel so-I
tell you, I feel a little
badly about it.

“I don’t want to talk
about that. No, I don’t want
to talk about that.”

The president has
issued no pardons in this

President said, “I
don’t talk about that now. I
don’t talk about that.”

“Manafort really
appreciates the support
of President Trump.”

“Paul Manafort’s a
good man” and “it’s a very
sad thing that happened.”

The Supreme Court has
applied that clear-statement rule
in several cases.

No statutory
term could easily bear that
specialized meaning.

I understand these
documents already have
been produced to you.

Some were just amusingly surreal because of artefacts in the text:

Corney recalled he did not

This is the worst thing
that ever happened to me.

The President responded,
“I never said that.”

If you imagine that’s the real end of the sentence, and slang for ‘get out!’, it sort of makes sense:

Not telling you to
do anything. Dershowitz
says POTUS can get

I haven’t read the report, nor am I likely to know enough about the surrounding events and characters to fully understand it (nor would I be able to do much about it if I did, not having the right to vote anywhere), but maybe these pseudorandom pseudopoetic snippets will bring some comic relief for those who have. Perhaps I’ll run it through NastyWriter next.

, , , , , , ,

1 Comment

Another Haiku Detector Update, and Some Observations on Mac Speech Synthesis

Screenshot of Haiku Detector

I subjected Haiku Detector to some serious stress-testing with a 29MB text file (that’s 671481 sentences, containing 16810 haiku, of which some are intentional) a few days ago, and kept finding more things that needed fixing or could do with improvement. A few days in a nerdsniped daze later, I have a new version, and some interesting tidbits about the way Mac speech synthesis pronounces things. Here’s some of what I did:

  • Tweaked the user interface a bit, partly to improve responsiveness after 10000 or so haiku have been found.
  • Made the list of haiku stay scrolled to the bottom so you can see the new ones as they’re found.
  • Added a progress bar instead of the spinner that was there before.
  • Fixed a memory issue.
  • Changed a setting so it should work in Mac OS X 10.6, as I said here it would, but I didn’t have a 10.6 system to test it on, and it turns out it does not run on one. I think 10.7 (Lion) is the lowest version it will run on.
  • Added some example text on startup so that it’s easier to know what to do.
  • Made it a Developer ID signed application, because now that I have a bit more time to do Mac development (since I don’t have a day job; would you like to hire me?), it was worth signing up to the paid Mac Developer Program again. Once I get an icon for Haiku Detector, I’ll put it on the app store.
  • Fixed a few bugs and made a few other changes relating to how syllables are counted, which lines certain punctuation goes on, and which things are counted as haiku.

That last item is more difficult than you’d think, because the Mac speech synthesis engine (which I use to count syllables for Haiku Detector) is very clever, and pronounces words differently depending on context and punctuation. Going through words until the right number of syllables for a given line of the haiku are reached can produce different results depending on which punctuation you keep, and a sentence or group of sentences which is pronounced with 17 syllables as a whole might not have words in it which add up to 17 syllables, or it might, but only if you keep a given punctuation mark at the start of one line or the end of the previous. There are therefore many cases where the speech synthesis says the syllable count of each line is wrong but the sum of the words is correct, or vice versa, and I had to make some decisions on which of those to keep. I’ve made better decisions in this version than the last one, but I may well change things in the next version if it gives better results.

Here are some interesting examples of words which are pronounced differently depending on punctuation or context:

ooohh Pronounced with one syllable, as you would expect
ooohh. Pronounced with one syllable, as you would expect
ooohh.. Spelled out (Oh oh oh aitch aitch)
ooohh… Pronounced with one syllable, as you would expect
H H Pronounced aitch aitch
H H H Pronounced aitch aitch aitch
H H H H H H H H Pronounced aitch aitch aitch
Da-da-de-de-da Pronounced with five syllables, roughly as you would expect
Da-da-de-de-da- Pronounced dee-ay-dash-di-dash-di-dash-di-dash-di-dash. The dashes are pronounced for anything with hyphens in it that also ends in a hyphen, despite the fact that when splitting Da-da-de-de-da-de-da-de-da-de-da-de-da-da-de-da-da into a haiku, it’s correct punctuation to leave the hyphen at the end of the line:


Though in a different context, where – is a minus sign, and meant to be pronounced, it might need to go at the start of the next line. Greater-than and less-than signs have the same ambiguity, as they are not pronounced when they surround a single word as in an html tag, but are if they are unmatched or surround multiple words separated by spaces. Incidentally, surrounding da-da in angle brackets causes the dash to be pronounced where it otherwise wouldn’t be.

U.S or u.s Pronounced you dot es (this way, domain names such as are pronounced correctly.)
U.S. or u.s. Pronounced you es
US Pronounced you es, unless in a capitalised sentence such as ‘TAKE US AWAY’, where it’s pronounced ‘us’

I also discovered what I’m pretty sure is a bug, and I’ve reported it to Apple. If two carriage returns (not newlines) are followed by any integer, then a dot, then a space, the number is pronounced ‘zero’ no matter what it is. You can try it with this file; download the file, open it in TextEdit, select the entire text of the file, then go to the Edit menu, Speech submenu, and choose ‘Start Speaking’. Quite a few haiku were missed or spuriously found due to that bug, but I happened to find it when trimming out harmless whitespace.

Apart from that bug, it’s all very clever. Note how even without the correct punctuation, it pronounces the ‘dr’s and ‘st’s in this sentence correctly:

the dr who lives on rodeo dr who is better than the dr I met on the st john’s st turnpike

However, it pronounces the second ‘st’ as ‘saint’ in the following:

the dr who lives on rodeo dr who is better than the dr I met in the st john’s st john

This is not just because it knows there is a saint called John; strangely enough, it also gets this one wrong:

the dr who lives on rodeo dr who is better than the dr I met in the st john’s st park

I could play with this all day, or all night, and indeed I have for the last couple of days, but now it’s your turn. Download the new Haiku Detector and paste your favourite novels, theses, holy texts or discussion threads into it.

If you don’t have a Mac, you’ll have to make do with a few more haiku from the New Scientist special issue on the brain which I mentioned in the last post:

Being a baby
is like paying attention
with most of our brain.

But that doesn’t mean
there isn’t a sex difference
in the brain,” he says.

They may even be
a different kind of cell that
just looks similar.

It is easy to
see how the mind and the brain
became equated.

We like to think of
ourselves as rational and
logical creatures.

It didn’t seem to
matter that the content of
these dreams was obtuse.

I’d like to thank the people of the xkcd Time discussion thread for writing so much in so many strange ways, and especially Sciscitor for exporting the entire thread as text. It was the test data set that kept on giving.

, , , , , , , , , , , , ,


Haiku Detector Update

I’ve been sitting on some improvements to Haiku Detector for a while, and it’s about time I released the new version. I had been planning to put this version on the app store, but I’m waiting to hear back from somebody about an icon for it. So for now, you can download it without going through the store. It should work on Mac OS X 10.6 or later.

This version finds haiku made up of multiple sentences rather than only those made of 17-syllable sentences. I also fixed the bug which caused it to crash occasionally when dealing with very long texts. To celebrate, I’ll go through some of the same texts I did when I first released Haiku Detector, and see what new haiku are discovered. To start with, John Scalzi‘s Old Man’s War. This version of Haiku Detector finds 304 haiku in it. Sometimes, sentences can be included in more than one haiku:

“I’m sorry. My sense
of humor was surgically
removed as a child.”

“My sense of humor
was surgically removed as
a child.” “Oh,” I said.

“Oh,” I said. “That was
a joke,” she said, and stood up,
extending her hand.

Here are some of my favourites of the multi-sentence haiku:

She asked, still without
actually looking up
at me. “Pardon me?”

“Okay,” I said. “Mind
if I ask you a question?”
“I’m married,” she said.

“Well, she doesn’t have
to live with you, now does she.”
“How was the cookie?”

“Our friend Thomas would
make it to mile six before
his heart imploded.”

This one sounds like it could be a metaphysical statement about what consciousness is in general:

Your consciousness is
perceiving the small time lag
between there and here.

“I would not presume
to assume, Master Sergeant!”
‘Presume to assume’?

My wife’s out here, sure.
But she’s happy to live her
new life without me.

“Let me see.” Silence.
The familiar voice again.
“Get this log off him.”

“The question now is
what is really going on.”
“Any thoughts on it?”

I think this one is my favourite:

I can just be me.
But I think you could love me
if you wanted to.

I found a lot of new haiku in the CMS paper announcing the discovery of the Higgs boson, but they were all combinations of names from the stupendous author list. Since I included some from New Scientist last time, here are some from the issue of New Scientist that I am currently reading, a special issue on the human brain:

Imaging techniques
are allowing us to see
the brain in action.

The sound waves broke up
the synchronous firing,
ending the seizure.

Thought experiments
Sometimes an experiment
is impossible.

The ancient Greeks knew
about thought experiments
in mathematics.

These two go together:

Does that mean we should
revise our definition
of intelligence?

Until recently,
the same one had been used since
the 1950s.

I have many ideas for improving Haiku Detector, and I’d still like to see if I can detect the best-sounding haiku using linguistic tagging, but before that I’m thinking of rewriting the whole thing in Swift as a learning exercise. Since I don’t have a day job at the moment, I have a bit of free time if I strategically ignore sections of my to-do list. Actually, on that note, here are some particularly obvious haiku from the Mac OS X and iOS Human Interface guidelines:

At a minimum,
a menu displays a list
of menu items.

A picker displays
a set of values from which
a user picks one.

That will do for now. I hope you enjoy playing with the new version of Haiku Detector.

, , , , , ,

1 Comment

Haiku Detector Achieves its Purpose (and will now proceed to have an existential crisis)

I originally wrote Haiku Detector because my friend Gry saw Times Haiku and wondered whether there were any haiku in her Ph. D. thesis. The other day I heard back about the haiku she found. It turns out that even the title of the thesis is a haiku:

Developments for
studies of the extremes of
nuclear matter

Here’s another one, which could be about anything. The last line is a bit of an anticlimax.

As of today, the
origin of this strength is
not well understood.

When I read this one, I wondered if miniball was a mini-golf style version of another ball game:

the MINIBALL would be used
for the same purpose.

The impurities
of 48,50Ti
are easily seen.

After seeing these, I sent her the as-yet-unreleased new version of Haiku Detector, which can detect haiku made up of several sentences. Having mostly had my name on papers authored by the entire CMS collaboration, I expected her to find a lot of haiku in the author list. But ISOLDE is much smaller, and also this is her thesis that she wrote, not some paper whose author list she got tacked onto. So she got some from references:

Kitatani, S.
Goko, H. Toyokawa,
K. Yamada, T.

C 47,

and some things with section numbers tacked on:

Open shell nuclei and
collective models

This matrix is the
starting point for the Oslo
method. 45

That last one has so many possibilities. I like to think of it as being about an electronic band called The Oslo Method which released a 45rpm record about The Matrix. Unfortunately, nobody can be told what the haiku is. You have to see it for yourself. And indeed, you can see the other haiku she found on the #MyHaikuThesis tag on Twitter.

I noticed something interesting while writing this post — some of the ‘haiku’ Gry found include gamma (γ) symbols:

The γ-ray strength functions
display no strong enhancement
for low γ energies.

Particle energy-γ-ray
energy matrix

Haiku Detector on her Mac has treated them as having zero syllables, as if they are not pronounced, and I think I recall characters like that not being pronounced in the Princeton Companion to Mathematics. But I just checked on my Mac running Mac OS X Yosemite, and the speech synthesis (which Haiku Detector relies on for syllable counting) pronounces γ as ‘Greek small letter gamma’, so Haiku Detector does not find those erroneous haiku. I think that this might be a new feature in Yosemite.

But here’s where it gets weird: you’d think that it’s just reading ‘Greek small letter gamma’ because that’s the unicode name of the character. I tried with a few emoji and other special characters, and that hypothesis is upheld. But the unicode character named ‘chicken’ (🐔) is pronounced ‘chicken head’. Spooky. Another strange thing is that there is no unicode ‘duck’ character.

If you’ve been paying attention, you probably know why I happened to come across those oddities. I’ll have to investigate them later, though; right now I’m in Edinburgh for NSScotland, and it’s about time I looked at some tourism information.

So, Haiku Detector; what now? Maybe look for supersymmetric haiku?

Update: It seems that in Mac OS X 10.8, γ is not pronounced, and 🐔 is pronounced ‘chicken emoji’. Other emoji also have ’emoji’ in their pronunciations, while still others are not pronounced. I wonder if pronunciations were added (and later edited to remove the ’emoji’) for certain emoji, and now the default pronunciation has changed from nothing to the unicode name. So ‘🐔’ ended up with the explicit pronunciation ‘chicken head’ while others which were not previously pronounced use their unicode names. So this should be a haiku in Yosemite, though for some reason Haiku Detector does not detect it:


, , , , , , , , ,

Leave a comment

Unintentional Haiku Spoken in a Courtroom 241 Years Ago

When I discovered that the court proceedings of the Old Bailey were available online, naturally I had to see whether they contained any haiku. The archive is too huge to put into Haiku Detector all at once, so I just checked the ‘on this day in…’ link whenever I had time. The most haiku-rich I’ve seen so far was from a wounding case on 8 September 1773, which, now that I think about it, should not have appeared as an ‘on this day…’ link yet. I had to clean up the text a little first, to remove all the Q.s and speakers’ names. Here are some of the 55 haiku that were left.

These ones sound like some kind of metaphor for the fiddly final steps towards achieving goals, and the monsters that might demotivate us from climbing toward those goals, but which are secretly part of ourselves:

How far is it from
the upper step of the stairs
to the door itself?

Upon the landing.
Was the door within view of
you at that time?   Yes.

The General must
have seen you coming up two
or three steps at least?

How far had you got
up stairs before you saw Hyde?
Did you hear Hyde’s voice?

Who else was with you
there?  I cannot remember
any one but me.

Where did you wait while
Hyde went into the house?   At
the top of the street.

The world’s simplest riddle:

Yes. Where did you go
when you came into the house?
Into the entry.

And some more intriguing questions:

After Lee struck me:
the knife dropped upon the ground.
Was it by a blow?

Had he no blow with
the butt end of a pistol?
Not that I know of.

You say you knew the
General very well; do
you think he knew you?

When you came back what
part of the family did
you find below stairs?

In what condition
was the door when he fired
the second pistol?

What did he tell him?
That a parcel of fellows
were below with sticks.

Did you observe the
hole in the door case that was
made by the pistol?

Did you look through the
door to see the direction
the ball had taken?

Was the General
upon his legs or not? He
was upon his legs.

Some which sound like bloody massacres until you get to the last line:

I believe this is
the knife you was cutting the
bread and butter with.

Was James in the room
with you while you was cutting
the bread and butter?

Finally, a few which sound a bit dirty (or so I am told) if you have that kind of mind:

Read the rest of this entry »

, , , ,

Leave a comment

Unintentional Haiku from New Scientist on The Unknown Universe

I added some features to Haiku Detector so that it will find haiku made of more than one sentence, though I haven’t released the new version yet, since I’d like to release it on the Mac App store (even though it will probably still be free, at least at first) to see how that works, and to do that I’ll need an icon first. If you know anyone who can make Mac icons at a reasonable price, let me know. Meanwhile, New Scientist has released a new ‘collection‘ called The Unknown Universe, so why not mine it for haiku? The topics are ‘The early universe’, ‘The nature of reality’ (again), ‘The fabric of the cosmos’, ‘Dark materials’, ‘Black holes’, ‘Time’ (again) and ‘New directions’.

Let’s start at the very beginning, the early universe:

Can we really be
sure now that the universe
had a beginning?

At first, that seems like a terrible place to break the sentence to start a new line. But what if we pretend, until we get to the next line, that ‘Can we really be?’ is the whole question? Because that’s the real reason people wonder about the universe.

Now, here’s a multi-sentence one, which conveniently has a full sentence as the first line:

“We’re back to square one.”
Tegmark agrees: “Inflation
has destroyed itself.”

Deep. But what is this inflation thing, anyway?

Well, for one thing, it’s
not clear what actually
does the inflating.

Only then will we
truly know what kind of a
bang the big bang was.

“I am not convinced
the cyclic model is that
grander idea.”

But I think this is my favourite. There’s a monster at the end of this universe, and it’s making crosswords.

Cosmic monsters that
have survived into our times
also pose puzzles.

Now for the nature of reality:

“It pulls the rug out
from under us to prove a
theory right or wrong.”

Maybe we just need to look around us.

There is also down,
and, for that matter, left, right,
forwards and backwards.

Have we figured out what we’re looking for yet?

What it is, though, we
do not have the words or the
concepts to express.

Maybe E. L. James can help us figure it out:

“This experiment
allows us to see the shades
of grey in between.”

These ones are about the fabric of the cosmos:

“If you go by what
we observe, we don’t live in
space-time,” Smolin says.

We battle against
them each time we labour up
a hill or staircase.

“But where did the weak
primordial fields that seed the
dynamo come from?”

The same force that keeps
our feet on the ground also
shapes the universe.

I like this one for the contrast between the first and last lines:

The information-
loss paradox dissolves.  Big
questions still remain.

Here are some of the ‘dark materials‘ haiku, about dark matter and dark energy:

The discovery of
dark matter would be the find
of the century.

I love how this contrasts ‘discovery of’ with ‘find of’; I didn’t notice that in prose form.

We still don’t know what
it is. It is everywhere
and we can’t see it.

That opens the door
to a dazzling array of

This chase through space will
be thrilling, but the quarry
may still elude us.

“It seems like a long
shot,” he says. But others are
being won over.

“But we don’t see a
fifth force within the solar
system,” says Burrage.

Though maybe the array of possibilities isn’t so dazzling after all:

It is limited
to perhaps three things. First, dark
energy pushes.

There are only two haiku about black holes, but one of them sounds like an idea Dan Brown might write about, probably without first reading New Scientist:

A BOMB made out of
a black hole is a rather
unsettling thought.

And the other sounds like it belongs on an episode of Doctor Who:

One of them will have
to blink if this paradox
is to be undone.

There are no more haiku on time, but luckily there were some in the last collection. I love this one about new directions, though:

Put that to many
physicists, and you will get
a grumpy response.

Ah, those physicists, always hopeful:

“Historically, these
things have usually led
somewhere,” says Davies.

They even have a solution to that ‘we still don’t know what it is’ problem from earlier:

“We don’t know what it
is so we have to give it
a name, a symbol.”

After that, it gets
a lot more speculative,
but here’s the best guess.

But they’re not that confident about it:

There are also good
reasons to think it is an
unwarranted one.

Paths to a theory
of everything will become
even more winding.

For instance, it could
decrease with time, or even
become negative.

Infinity makes things even more difficult:

is a concept that defies

But it is at the
big bang that infinity
wreaks the most havoc.

The first line of the first infinity one reminds me of a CERN friend’s recipe for gravity: you just put ‘it’ in gravy.

, , , , , , , , , , ,

Leave a comment

Unintentional Haiku from New Scientist, on Shakespeare and Stuff

I’m still behind on New Scientist, so I’m now reading the issue which has a special feature on Shakespeare. It seemed like a good issue to look for poetry in. Here are the haiku that Haiku Detector detected in the articles about Shakespeare. The first is a strategically-syllabicised book promo:

His book The Science
of Shakespeare is published this
month (St Martin’s Press)

The next has a supporting quote from the Bard himself:

Supporting quote: “If
sack and sugar be a fault,
God help the wicked.”

but this one is my favourite:

Most of all he swings
between moods superbly high
and desperately low.

That doesn’t seem like enough stuff for a blog post. Luckily, the issue just after the special issue that I already found haiku in has a feature on ‘stuff’, so here’s the only haiku from that:

His leather backpack
is today’s bag to haul our
essentials around.

In case it’s still Star Wars Day when you read this, you might want to check out my post from last Star Wars Day featuring a video in which I read my poem about not having seen Star Wars.

, , , , , , , ,

Leave a comment

Unintentional Haiku from New Scientist, on Self, Sleep, and Death

Following on from the posts on reality, existence, and God and consciousness, life, and time, here are the unintentional haiku that Haiku Detector found in the last three sections of New Scientist’s special issue with the ‘big questions’: the self, sleep, and death. The ‘self’ section has a haiku in an image caption:

The self may be a
necessary illusion
(Image: Darren Hopes)

I suppose it could make sense if somebody named Darren hopes that the self is an image:

The self may be a
necessary illusion
(image, Darren hopes)

The others are from the main text:

But we surely still
have the same self today that
we had yesterday.

For most people, most
of the time, the sense of self
is seamless and whole.

These ones are about sleep, perchance about dreaming:

Our emotional
undercurrents seem to be
the guiding force here.

This one requires ‘2008’ to be pronouned ‘two thousand eight’, not ‘two thousand and eight’:

In 2008,
hints emerged that these might be
the deeper stages.

The fountain of youth
may have been as close as our
bedrooms all along.

So it’s puzzling that
we still don’t really know why
it is that we sleep.

And finally, one on the final sleep, death:

When the risk is slight,
mild concern may be all that
is appropriate.

That’s all from that special issue of New Scientist, though the latest issue is dedicated to Shakespeare, so I hope to find some poetry in it. If there’s anything else you’d like me to mine for haiku, let me know!

While I was writing a poem a day, there would be times when I’d just feel like writing prose, for a break. I was hoping that this prose pressure would build up and I’d write something amazing when NaPoWriMo ended. Now that I’m trying to prioritise writing a short story for a competition, poems are trying to force their way out. So I still could manage 30 poems in 30 days, but I’m not going to pressure myself to post them by each midnight, and I won’t feel bad about posting found haiku when I don’t have a poem ready.

, , , , , , , , ,

1 Comment

%d bloggers like this: