jieba.el
jieba.el copied to clipboard
在Emacs中使用jieba中文分词
hi, 我依葫芦画瓢糊了一个 Python 的后端,有兴趣看看不 https://github.com/fingerknight/jieba.el. 目前我是只启用一个 server, 随桌面启动而启动;所有 Emacs buffer 去连接这个 server 做分词。 Server 的启用也可以随 Emacs 进行,可以在 jieba-mode 开启时检查,如果 server 没有启用,则调用个子进程启用。
doom emacs `M-x jieba-forward-word` 后报错 "Current backend: node is not available!" `emacs --debug-init` 报错的backtrace: ``` Debugger entered--Lisp error: (error "[JIEBA] Current backend: node is not available!") signal(error ("[JIEBA] Current backend:...
启动后重启jieba-mode后会出现 [jsonrpc] Server exited with status 9 的message,分词功能可以正常使用。 看起来像是错误消息,但功能不受影响,不晓得该如何确认问题? os:windows 10 专业版 20H2 emacs版本:28.0.91 msys2编译 nodejs版本:scoop安装 v16.14.0