Hacker GitHub

← All repos

darius/versecop

View on GitHub ↗ ★ 7 Python

Match text against verse forms, like: is this line in iambic pentameter?

5 mentions on Hacker News by 1 person: 0 stories, 5 comments · first 2010-05-30 · latest 2013-02-17

Mentions per year 5 mentions · busiest year 2010 (4)
20082026
  1. …my (messy) code; http://glozer.net/ wrote the frontend in Erlang but AFAIK never released it. https://github.com/darius/versecop Pentametron is cooler. I did try filtering for rhymes too, but there wasn't enough data in the free feed, at…
  2. Thanks! https://github.com/darius/versecop/blob/master/passages.py Results from a scan over some Gutenberg Project novels and Lord of the Rings at http://darius.livejournal.com/48525.html
  3. https://github.com/darius/versecop/blob/master/passages.py -- it uses the CMU pronouncing dictionary and just punts on words not in it. I'd like to go back and improve it sometime. (The test passage there is from The Lord of the Rings.)
  4. How'd you measure metricality of text? http://github.com/darius/versecop was my own hack at that using the CMU pronouncing dictionary -- I'd like to come back to it sometime.
  5. …dryad loveliness". I can't resist sharing another bit of found poetry, found by a program of mine at http://github.com/darius/versecop -- at the climax of all the action, Sam stands on Mount Doom and sees Sauron's works fall to ruin: ... A…
    comment by abecedarius · 2010-05-30 · in Is Tolkien Actually Any Good? (2003)