- Accueil
- Plugins
- Améliorations UI
- dsh-cet-vocab
dsh-cet-vocab
zhuran305-web/dsh-cet-vocab
CET-4/CET-6 vocabulary trainer in a draggable, minimizable floating window, so you can study while the model is thinking: 5,805 words bundled from ECDICT; flip cards graded known, fuzzy or unknown, plus multiple-choice quizzes whose distractors are easily confused words; Ebbinghaus-style spaced repetition with due reviews and extra practice; a configurable daily quota of new words; US and UK pronunciation streamed from an online dictionary, falling back to local text-to-speech while offline; and an optional setting that opens the window automatically while a session is running. Progress and window geometry are kept in the browser profile.
Installer
dsh plugin --profile web add github:zhuran305-web/dsh-cet-vocabREADME
dsh-cet-vocab / 背单词(四六级)
A CET-4 / CET-6 vocabulary trainer for the DeepSeek Harness (dsh) Web UI: a draggable, minimizable floating word-card window you can open any time — including while the model is thinking.
一个 DeepSeek Harness(dsh)Web 界面的四六级背单词悬浮窗:可拖动、可最小化,随时点开背单词——包括模型思考的空档期。
Features / 功能
- Word list / 词库 — 5,805 words (CET-4 3,849 / CET-6 5,407, deduplicated), extracted from ECDICT by tag and sorted by frequency. The list is bundled into the client, so the plugin works fully offline. 词库按 cet4/cet6 标签从 ECDICT 提取、按词频排序,内嵌进前端,运行时不需要网络。
- Two study modes / 两种模式 — flip-card with three-button grading (known / fuzzy / unknown), or multiple-choice quiz with distractors picked from confusable words (edit distance, shared prefix/suffix/bigrams). 翻卡三键评分(认识/模糊/不认识),或形近词干扰项的选择题模式。
- Spaced repetition / 间隔复习 — Ebbinghaus-style ladder (10 min → 1 d → 2 d → 4 d → 8 d → 16 d); failed cards reset and re-queue after 10 minutes. 艾宾浩斯阶梯复习,答错 10 分钟后重新进队。
- Daily plan / 每日计划 — configurable daily new-word quota (0–500); today's review count shown on the pill badge. 每日新词数可自定义(0–500),药丸徽标显示今日待复习数。
- Review / extra practice / 复习与加练 — when today's quota is done, review due cards (≤20) or practice 10 unseen words; practice results don't consume the quota. 完成当日额度后可复习到期词或加练未学词,不计额度。
- Auto-open / 思考时自动弹出 — opens the window automatically whenever a session starts running; toggleable in settings. 检测到会话运行时自动弹出窗口,可在设置中关闭。
- Pronunciation / 发音 — real human US/UK recordings fetched per word from Youdao's open dictionary audio (accent selectable: auto / US / UK), with the browser's
speechSynthesisas the offline fallback — no Windows voice pack or admin rights needed. 每个词实时取有道词典的真人美式/英式发音(口音可选:自动/美式/英式),断网时自动回落到系统语音合成——不需要安装任何 Windows 语音包,也不需要管理员权限。 - Window / 窗口 — draggable with pointer capture and edge clamping, minimizes to a badge pill that stays where you left it; geometry persisted. 拖动带边界钳制,最小化成药丸且停在原地,几何持久化。
- Stats & settings / 统计与设置 — per-book progress and streaks; switch between CET-4 / CET-6 / all books. 各词书进度统计,可切换四级/六级/全部词库。
- Keyboard / 快捷键 —
Spacereveal,1/2/3grade in card mode,1-4answer in quiz mode. 卡片模式空格翻面、123 评分,选择题 1-4 作答。
Progress is stored in localStorage (per browser profile). 进度存于浏览器 localStorage。
Install / 安装
From any DSH plugin marketplace that mirrors the awesome-dsh-plugin catalog (e.g. dshmarket, dsh-plugin-mall), or directly / 或直接:
dsh plugin add dsh-cet-vocab # from npm
dsh plugin add "https://github.com/zhuran305-web/dsh-cet-vocab/releases/latest/download/dsh-cet-vocab.tgz" # from GitHub Releases
The package ships prebuilt client.js — no build step, no telemetry. Pronunciation streams one small mp3 per word from Youdao's dictionary audio on demand (cached by the browser); everything else works offline. 包内自带构建好的 client.js,无构建步骤、无遥测。发音按需流式加载有道词典音频(浏览器自带缓存),其余功能完全离线。
Build from source / 从源码构建
node scripts/build_client.mjs # embeds data/words.json into client.js
data/words.json is generated from ECDICT (scripts/build_words.py filters the cet4/cet6 tags); download the ECDICT release CSV to data/ecdict.csv to regenerate it.
Data license / 词库来源
The word list is extracted from ECDICT (MIT License, © skywind3000). Everything else is MIT — see LICENSE.
License / 许可
MIT
Plugins associés
dsh-web (dsh-task-board)
zhu1090093659/dsh-web
dsh-web (dsh-web-all)
zhu1090093659/dsh-web
dsh-TUI
ccch1mneyyy/dsh-tui
dsh-web-ui (dsh-task-board)
zhu1090093659/dsh-web-ui