phantastery

Contact us if you find a bug or have an idea or a suggestion.



Haiku-Splicer

This app generates, or splices, a haiku (or a tanka) by randomly picking three (or five) lines from either the English haiku and tanka, the French haiku and tanka, or the German haiku and tanka that I’ve written and published on phantastery.

It does not count syllables or check for a short-long-short line pattern, but it does avoid duplicate lines.

Uses jQuery. The lines are sorted by syllable count beforehand, using Python, NLTK, and CMUdict (Carnegie Mellon University Pronouncing Dictionary).



Poem Hopper

This app consists of two parts: First, it displays a random poem from phantastery. You can specify the language and the poetry genre. Then, once a poem is displayed, you can click on any word and the app displays another poem that includes this word. If no new poem is displayed, then no poem that shares this word has been found.

Uses jQuery. The poems are collected into a json file using Bash, Pandoc, Sed, and Perl.



Random Poem

This app displays a random poem from all the poems that I’ve written and published on phantastery. You can specify the language (German, English, or French) and the poetry genre (haiku, tanka, or free verse).

Uses jQuery. The poems are collected into a json file using Bash, Pandoc, Sed, and Perl.