condy0919 / fanyi.el Goto Github PK
View Code? Open in Web Editor NEWNot only English-Chinese translator for Emacs.
License: GNU General Public License v3.0
Not only English-Chinese translator for Emacs.
License: GNU General Public License v3.0
farseerfc/ydcv-rs#40 参考这个
longman backand return nothing or just pronunciation. there's no meaning or something useful.
for some reason certain words takes long time to get the result displayed in buffer..
few examples:
error in process filter: cl--assertion-failed: Assertion failed: (> (length arg) 2)
error in process filter: Assertion failed: (> (length arg) 2)
(span
((class . "GLOSS"))
(span
((class . "neutral span"))
" (=")
"official agreements"
(span
((class . "neutral span"))
")"))
Lines 388 to 393 in 8764e67
TODO
comment in 8764e67. It's been assigned to @condy0919 because they committed the code.翻译的目的之一是协助阅读,期待能实现这么一个功能
比如阅读一篇文章,假设文章有若干个不重复词(简便起见,不用词性还原,比如do does did是不同的词)
能够按照用户指定的单词列表(可一行一个单词;词组应该更难些可以不搞)将认知词(熟词如apple+忽略词如the)和未知词分开
比如认知词不作底色处理,未知词底色变一下,这样在过未知词时,如果认识就触发一个快捷键追加到熟词表里
不认识的快捷键加到生词表里(不清楚这个难度,如果不可行的话,可以直接将文章处理成一个
全部(不重复)单词表buffer,再去对比熟词表buffer生成未知词表buffer(生词表里的词不在未知词表里)
这样积累一段时间,或者由用户提前做好自己个人熟词表,阅读时就能很快挑出需要fanyi帮助查询的词了
基本流程是 文章--生成未知词表--挑出生词--fanyi初步意思--回去看文章顺畅加巩固
user-error: Unimplemented. (span
((class . "FULLFORM"))
" inch")
为了加快查询速度(在线查结果总是要等一下才能出来)
建议结合https://github.com/skywind3000/ECDICT
增加一个本地简明英汉的查询结果,这样不仅速度快,断网的时候也能用
maybe it's the font I'm using cause this issue? Currently I'm using Jetbrains mono, the icon where we click to play sound shows blank in my emacs.
It's superseded by Youdao dict.
很好的插件,nice
左右分屏查词时,如左边是文章,右边是查词结果,阅读时希望保持焦点在左侧,遇到生词时查一下,继续阅读再查另一个,来回跳转有点分神
It should be more understandable to name it fanyi-dwim-at-point
, I was trying to write my own version before I found out fanyi-dwim2
does the exact same thing. And of course thanks for the package, its great.
got this error when look up buttons
:
error in process filter: Unimplemented. (span
((class . "BOOKFILM"))
"Cinderella")
有可能读取kill-ring里的单词进行翻译吗
Thanks for this great extension!
I tried fanyi
, youdao-dictionary
and go-translate
, and looks fanyi
is the slowest. It's better if fanyi
can return the results faster.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.