Skip to content

🚀 功能建议:模糊词查询+打字实时翻译 #870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 of 5 tasks
alzco opened this issue Apr 11, 2025 · 1 comment
Open
4 of 5 tasks

🚀 功能建议:模糊词查询+打字实时翻译 #870

alzco opened this issue Apr 11, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@alzco
Copy link

alzco commented Apr 11, 2025

请先确认以下事项

  • 已仔细阅读了 README
  • issues 页面搜索过(包括已关闭的 issue),未发现类似功能建议
  • Easydict 已升级到 最新版本
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

功能描述

你好开发者,感谢这款便利的词典工具!我在使用的时候,发现缺少模糊词查询。apple自带的词典可以做到输入错误单词的时候,推荐发音或者拼写相近的单词,所以有时候不得不回头用原生的词典。AI翻译有时候能识别错误输入。

另外有一个比较个人化的需求,就是“实时翻译全局输入框中的文字”,免去手动查询,便于学习外语表达。Windows上的类似软件如https://github.com/sxzxs/Real-time-translation-typing ,但好像会替换正在输入的中文。实时翻译正在打的字可能非常麻烦,也占内存。有没有简化的处理方法,例如静默获取活动输入框中的段落,遇到句号、感叹号、问号等分句标点,自动翻译该句,然后下一个分句标点出现后刷新。理想情况下只翻译段落最后两个分句标点之间的句子,也就是最新输入的句子;简化的话直接获取输入框全文进行查询,烧一点tokens。

使用场景

模糊词查询大多数词典软件都有,提供一个相近词汇的list。因为有时候只是听到单词,不知道怎么写,或者输入有误。

实时翻译打字的功能多见于手机输入法软件,使用场景是英文社交场合。只显示实时翻译,不替换打字的文本,更加适合外语学习的场景,类似外语字幕软件。这是一个比较独特的需求。

实现方案(可选)

No response

是否愿意提交 PR 实现该功能

  • 我愿意提交 PR 实现该功能
@alzco alzco added the enhancement New feature or request label Apr 11, 2025
Copy link

Hello alzco, Thank you for your first issue contribution 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant