Skip to content
Poetry

Generating poetry from Moby Dick

What if Moby Dick was written as a sonnet, a limerick, or a haiku? I wrote a quick program that takes an original text and tries to do just that.

What if Moby Dick was written as a sonnet, or a limerick, or as a haiku? I wrote a quick program that can take an orginal text like Moby Dick and try to do just that.

Here are some of the examples:

Haikus

till after sunset the clothes that the night had wet haven't seen him yet
that behind those forms he enters the sign of storms a field strewn with thorns

Limerick

thou art a full ship and homeward bound he lays it against a gloomy ground the whole calamity that's christianity whaling scenes to be anywhere found

Sonnet (partial)

i here saw but a few disordered joints where his bayonet rays moved on in stacks this carpenter was prepared at all points which in a voyage of four years perhaps
consider also the devilish brilliance rushing among the boats with open jaws this great whaling house was in existence ambergris is supposed to be the cause
]]>

Reference shelf

A short shelf of sources and related reading. Opens in a new tab.