[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 6f23551: * pyim-cstring.el (pyim-cstring-split-to-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 6f23551: * pyim-cstring.el (pyim-cstring-split-to-list): Re-add max-word-length. |
Date: |
Tue, 7 Dec 2021 22:57:36 -0500 (EST) |
branch: externals/pyim
commit 6f2355103034d85ad36e6f7f1ca62bc88bc4c5e8
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim-cstring.el (pyim-cstring-split-to-list): Re-add max-word-length.
---
pyim-cstring.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyim-cstring.el b/pyim-cstring.el
index 753a383..d373508 100644
--- a/pyim-cstring.el
+++ b/pyim-cstring.el
@@ -114,7 +114,7 @@ CHINESE-STRING 分词,得到一个词条 alist,这个 alist 的元素都是
(pyim-dcache-init-variables)
(let (result)
- (dolist (string-list (pyim-cstring-substrings chinese-string))
+ (dolist (string-list (pyim-cstring-substrings chinese-string
max-word-length))
(let ((pinyin-list (pyim-cstring-to-pinyin (car string-list) nil "-" t)))
(dolist (pinyin pinyin-list)
(let ((words (pyim-dcache-get pinyin '(code2word)))) ; 忽略个人词库可以提高速度
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/pyim 6f23551: * pyim-cstring.el (pyim-cstring-split-to-list): Re-add max-word-length.,
ELPA Syncer <=