RhymePad: phonetic rhyme scratchpad for poets & rappers

FastAPI backend with CMU-dict rhyme detection (perfect, internal,
multisyllabic slant, consonance, multi-word phrases), g2p fallback for
unknown words, rhyme/synonym lookup, draggable stanza reordering,
localStorage drafts, and synthesized beats. 19 regression tests drawn
from real verses (Wayne, Em, Kanye).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-07 01:10:39 -04:00
commit 84bae60dff
7 changed files with 2305 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
[project]
name = "rhymepad"
version = "0.1.0"
description = "A scratchpad for poets & rappers — phoneme-aware rhyme-scheme detection."
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.110",
"uvicorn>=0.29",
"pronouncing>=0.2",
"wordfreq>=3.0",
"g2p-en>=2.1.0",
]
[dependency-groups]
dev = [
"pytest>=9.0.3",
]
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]