Commit Graph

3 Commits

Author SHA1 Message Date
kennethreitz 69b8ab4e93 WordNet synonyms + double-click opens definitions
- mode=syn now served locally by NLTK WordNet (already a g2p-en dep),
  sense-grouped by part of speech and frequency-ranked; Datamuse gone
- Double-clicking a word in the draft opens its definition card; the
  card grew a Rhymes button for the old jump
- NLTK wordnet data baked into the Docker image and CI

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 02:09:00 -04:00
kennethreitz a62dce399a CI: pre-download NLTK data for g2p-en
Same pre-warm as the Dockerfile — without the tagger the g2p fallback
dies and the OOV-word tests fail.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 01:53:15 -04:00
kennethreitz 85cf9982a2 Add CI workflow and warm-boot the slow lazy bits
GitHub Actions runs pytest on push/PR via uv. App lifespan now loads
the g2p model and builds the near-rhyme index at startup so the first
keystroke and first lookup are never slow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 01:52:15 -04:00