Hacker News new | ask | show | jobs
by abecedarius 5229 days ago
Nice little hack. My favorite find of that sort came from a verse-finder in Python run over the text of The Lord of the Rings -- it was looking for scansion, not rhyme -- i.e., blank verse like Paradise Lost:

    One turned to stone. A brief vision he had
    Of swirling cloud, and in the midst of it
    Towers and battlements, tall as hills,
    Founded upon a mighty mountain-throne
    Above immeasurable pits; great courts
    And dungeons, eyeless prisons sheer as cliffs,
    And gaping gates of steel and adamant:
    And then all passed.
I suppose it's not a coincidence the longest passage the program found came at the climactic moment of the story.