Code Monkey home page Code Monkey logo

fanyi.el's Introduction

Hi there

My GitHub

Top Langs

fanyi.el's People

Contributors

condy0919 avatar syohex avatar ymfsing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fanyi.el's Issues

dragon 出现解析失败的情况

error in process filter: cl--assertion-failed: Assertion failed: (> (length arg) 2)
error in process filter: Assertion failed: (> (length arg) 2)

`start` 翻译提示错误

(span
 ((class . "GLOSS"))
 (span
  ((class . "neutral span"))
  " (=")
 "official agreements"
 (span
  ((class . "neutral span"))
  ")"))

Remove trailing whitespace

There are some trailing whitepace in the fanyi buffer, I think may be we can remove them, It will be better for the users who are using white-space-mode.

use the following setting to see trailing whitespace

(setq-default show-trailing-whitespace t)

image

setup mode

fanyi.el/fanyi.el

Lines 388 to 393 in 8764e67

;; TODO setup mode
))
;; Create a new instance per search.
(let ((instances (seq-map #'clone fanyi-providers)))
(seq-do (lambda (i)


This issue was generated by todo based on a 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初步意思--回去看文章顺畅加巩固

audio button icon not shown

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.

Too slow

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.