Prosody

Search tool for finding poems by their internal machinery

Prosody is a poem search tool that indexes formal structure: meter, rhyme scheme, enjambment, the volta. A Python script annotates a few hundred curated poems once, offline, and ships the result as one JSON file, so the whole thing runs as a static site with no database, no query endpoint, and no server.

There's no live backend—this was a small curated corpus which means every filter combination returns something worthwhile. Python script runs once, offline, and turns poems into structured annotations in three layers:

  • Deterministic: syllable counts and stress patterns from the CMU pronouncing dictionary (via pronouncing), plus rhyme scheme and line structure. Rules only.

  • Heuristic: anaphora, caesura, and enjambment, all detectable from structure.

  • Semantic: theme and volta, from a batched Claude call. Finding the turn in an argument needs language understanding.