Synset to Lyrics ( how-to write over 5000 poems in an hour or so)


  1. Download a website or torrent of song lyrics
  2. Parse the result (with BeautifulSoup)
  3. Use NLTK (Natural Language Toolkit) to lookup Wordnet synsets (homonyms, holonyms, hypernyms, antonyms, meronyms, synonyms and lemmas) as replacement candidates.
  4. Replace all the words in the poem (retaining the words-per-line and verse and grammar of prepositions and pronouns)
  5. Sift through ‘the reservoir of words that returned no results from synset search to find dense tweets worthy of a bot.
  6. Or check out the [ for now, terrible] 5,067 poems created in 8898 secs
reservoir of unique words
click on image to see code on github

Have a peek at a few results posted on my twitter feed:

Screen Shot 2014-07-13 at 4.02.05 pm

The poetic problem is that these poems lack insight. Blastocytes have orders of magnitude more experiential insight than these poems.

Screen Shot 2014-07-13 at 5.11.24 pm

The poetic problem that arises also motivates the appeal of these poems conceptually. At a linguistic level, code-salad-bot-poems extend the project initiated by LANGUAGE poets to shift poetry’s emphasis away from lyrical transcendence to contextual linguistics.

Screen Shot 2014-07-13 at 5.16.54 pm

Density obliterates the reading subject’s potential for narrative engagement even as the formal syntax invokes echoes of such narratives. Integrity and perception are replaced by a pure implacable vertigo.

Screen Shot 2014-07-13 at 5.26.21 pm

The fact that these poems can be computationally generated at extremely rapid rates obliterates the dexterity of author as collision operator smashing together words at increasing velocities to see what stray numinous trace particle paths might etch on meaning’s sensor.

Screen Shot 2014-07-13 at 5.36.57 pm

The author is neither me nor the original poets who provide the rhythmic and structural templates, but the momentum of culture itself, an aggregate of words protuding out of mouths, filtered thru conversations, social network servers and random cultural trajectories. The author resurrects, readers die under an overload.

Screen Shot 2014-07-13 at 5.49.46 pm

,