Coder Social home page Coder Social logo

Comments (12)

tumashu avatar tumashu commented on August 18, 2024
  1. 重启emacs
  2. 在添加词库时,不能设置成guess-dict

from pyim.

et2010 avatar et2010 commented on August 18, 2024

都试过了,还是不行
我修改了设置,直接指定文件位置(之前是指定路径,用管理器在设置文件里添加自定义设置):

(setq pyim-use-tooltip t
      pyim-dicts
      '(:name "BigDict"
        :file "~/.emacs.d/.cache/dicts/pyim-bigdict.pyim"
        :coding utf-8-unix
        :dict-type dict)
      pyim-personal-file "~/.emacs.d/.cache/pyim-personal.txt"
      default-input-method "chinese-pyim")

但是词典管理器变成了这样:

pyim4

并且切换输入法时会报错:
pyim-load-file: Wrong type argument: stringp, nil

from pyim.

et2010 avatar et2010 commented on August 18, 2024

我把配置全部删除,用管理器将词典文件下载至默认位置,问题依旧
特别奇怪的是,可以输入“的”字,除了这个字外还没有发现其它的字能够输入

from pyim.

tumashu avatar tumashu commented on August 18, 2024

:dict-type 设置不对吧? 我记得好像是pinyin-dict吧?

from pyim.

et2010 avatar et2010 commented on August 18, 2024
pyim-dicts is a variable defined in `chinese-pyim-core.el'.
Its value is
(:name "BigDict" :file "~/.emacs.d/.cache/dicts/pyim-bigdict.pyim" :coding utf-8-unix :dict-type pinyin-dict)

Original value was nil

改为pinyin-dict问题依旧
依然是管理器中出现空词库,还有切换输入法报错:
pyim-load-file: Wrong type argument: stringp, nil

from pyim.

tumashu avatar tumashu commented on August 18, 2024

好像是你 pyim-dicts 的格式不对,少了一对括号。。。

((:name ...))

from pyim.

et2010 avatar et2010 commented on August 18, 2024

对不起,是我的错。
但是,改正以后又回到第一种情况上了,就是不显示候选字。

from pyim.

et2010 avatar et2010 commented on August 18, 2024

把dict-type改为pinyin-dict后,问题解决了
这个字典管理器默认保存dict-type为dict,是不是应该将默认改为pinyin-dict更为合理呢?
不管怎样,问题终于解决了,很开森,非常感谢!

from pyim.

tumashu avatar tumashu commented on August 18, 2024

确实是一个bug,已经解决了。。。。 多谢同学提供的信息

from pyim.

et2010 avatar et2010 commented on August 18, 2024

能帮上忙很开森!输入法很好用,谢谢!

from pyim.

tumashu avatar tumashu commented on August 18, 2024

建议看一下使用说明,有许多挺好用的功能默认是没有开启的。。。。 比如:使用 guess-dict 词语联想

from pyim.

et2010 avatar et2010 commented on August 18, 2024

嗯嗯,和之前版本相比变化是很大的,正在研究中。。。

from pyim.

Related Issues (20)

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.