chinese-word-at-point.el
chinese-word-at-point.el copied to clipboard
how to move cursor between chinese word.
Is there any method to move cursor using the function backward-word but with chinese word split way?
Technically possible, but the process is very very inefficient.
Because chinese-word-at-point.el
uses external Chinese word segmentation tool, such as 结巴分词,
- usually, 结巴分词 (written in Python) itself may be quite slow and
- the communication between Emacs and 结巴分词, i.e.,
shell-command-to-string
, is slow too
Currently, I only use chinese-word-at-point.el
in youdao-dictionary.el
and osx-dictionary.el
written by myself.