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>
This commit is contained in:
2026-06-07 02:09:00 -04:00
parent e33bf58b11
commit 69b8ab4e93
6 changed files with 105 additions and 16 deletions
+1 -1
View File
@@ -18,5 +18,5 @@ jobs:
# under both its old and new (nltk>=3.9) names
- run: |
uv run python -c "import nltk;
[nltk.download(p, quiet=True) for p in ('averaged_perceptron_tagger','averaged_perceptron_tagger_eng','cmudict')]"
[nltk.download(p, quiet=True) for p in ('averaged_perceptron_tagger','averaged_perceptron_tagger_eng','cmudict','wordnet','omw-1.4')]"
- run: uv run pytest