[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 68e406ed4f 19/58: pyim-candidates-znabc-words -> p
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 68e406ed4f 19/58: pyim-candidates-znabc-words -> pyim-candidates--znabc-words |
Date: |
Fri, 24 Jun 2022 06:57:53 -0400 (EDT) |
branch: externals/pyim
commit 68e406ed4f0cf86fd8200a6e8dd69149243d5dd3
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
pyim-candidates-znabc-words -> pyim-candidates--znabc-words
---
pyim-candidates.el | 4 ++--
tests/pyim-tests.el | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pyim-candidates.el b/pyim-candidates.el
index f3d9391195..8053efa3d1 100644
--- a/pyim-candidates.el
+++ b/pyim-candidates.el
@@ -151,7 +151,7 @@
(defun pyim-candidates--quanpin (imobjs scheme &optional fast-search)
"用于全拼输入法的 `pyim-candidates-create' 方法内部使用的函数。"
- (let* ((znabc-words (pyim-candidates-znabc-words imobjs scheme fast-search))
+ (let* ((znabc-words (pyim-candidates--znabc-words imobjs scheme fast-search))
(jianpin-words (pyim-candidates-jianpin-words imobjs scheme
fast-search))
(quanpin-words (pyim-candidates--quanpin-words imobjs scheme
fast-search))
(personal-words (pyim-candidates--sort (nth 0 quanpin-words)))
@@ -170,7 +170,7 @@
(when pyim-debug (print words))
(delete-dups (cl-remove-if-not #'stringp words))))
-(defun pyim-candidates-znabc-words (imobjs scheme &optional fast-search)
+(defun pyim-candidates--znabc-words (imobjs scheme &optional fast-search)
"智能ABC模式,得到尽可能的拼音组合,查询这些组合,得到的词条做为联想词。"
(let ((codes (mapcar (lambda (x)
(pyim-subconcat x "-"))
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index 1d184ba7da..d1a08e707f 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -558,7 +558,7 @@
wubi)
'("㠭子叕" "㠭子又")))))
-(ert-deftest pyim-tests-pyim-candidates-znabc-words ()
+(ert-deftest pyim-tests-pyim-candidates--znabc-words ()
(let* ((pyim-dhashcache-code2word (make-hash-table :test #'equal))
(pyim-dhashcache-icode2word (make-hash-table :test #'equal))
(quanpin (pyim-scheme-get 'quanpin))
@@ -566,9 +566,9 @@
(puthash "ni-hao" (list "你好" "尼耗") pyim-dhashcache-code2word)
(puthash "ni-hao-ma" (list "你好吗" "你好马") pyim-dhashcache-code2word)
(puthash "ni-hao-ma-peng-you" (list "你好吗朋友" "你好吗喷油")
pyim-dhashcache-code2word)
- (should (equal (pyim-candidates-znabc-words imobjs quanpin)
+ (should (equal (pyim-candidates--znabc-words imobjs quanpin)
'("你好吗朋友" "你好吗" "你好" "你好吗喷油" "你好马" "尼耗")))
- (should (equal (pyim-candidates-znabc-words imobjs quanpin t)
+ (should (equal (pyim-candidates--znabc-words imobjs quanpin t)
'("你好吗朋友" "你好吗" "你好")))))
(ert-deftest pyim-tests-pyim-candidates-jianpin-words ()
- [elpa] externals/pyim f4074fc4ef 04/58: pyim-cregexp-valid-p -> pyim-cregexp--valid-p, (continued)
- [elpa] externals/pyim f4074fc4ef 04/58: pyim-cregexp-valid-p -> pyim-cregexp--valid-p, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 291798d23d 09/58: pyim-cregexp-scheme -> pyim-cregexp--scheme, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim b243e7e8e7 15/58: pyim-isearch-search-fun -> pyim-isearch--search-fun, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 56505723bc 16/58: pyim-autoselector-xingma-1 -> pyim-autoselector--xingma, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim ea2988cf16 26/58: pyim-dict-manager-buffer -> pyim-dict-manager--buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 91b1aa37da 11/58: pyim-cregexp-build-xingma-regexp-from-words -> pyim-cregexp--build-xingma-regexp-from-words, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 40ed5dc8a4 10/58: pyim-cregexp-quanpin- -> pyim-cregexp-quanpin--, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 2064692d35 40/58: pyim-liberime-get-code -> pyim-liberime--get-code, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 48e904bbe6 42/58: pyim-outcome-magic-convert-cache -> pyim-outcome--magic-convert-cache, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim d5d98bdbdb 12/58: pyim-cstring-partition -> pyim-cstring--partition, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 68e406ed4f 19/58: pyim-candidates-znabc-words -> pyim-candidates--znabc-words,
ELPA Syncer <=
- [elpa] externals/pyim df48854299 22/58: pyim-cloudim-parse-baidu-buffer -> pyim-cloudim--parse-baidu-buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 67f800c819 23/58: pyim-cloudim-parse-google-buffer -> pyim-cloudim--parse-google-buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 0629a400d9 31/58: pyim-indicator-timer -> pyim-indicator--timer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim d40f7c4f86 45/58: pyim-pinyin-yunmu -> pyim-pinyin--yunmu, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 889db4b5ab 49/58: pyim-pinyin-get-charpy -> pyim-pinyin--get-charpy, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim dfed7ddeaf 50/58: Sort pyim-pinyin.el, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 067ba514bd 56/58: pyim-pymap-py2cchar-cache3 -> pyim-pymap--py2cchar-cache3, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 29516cfd7a 35/58: pyim-indicator-update-mode-line -> pyim-indicator--update-mode-line, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 2a22da363a 39/58: pyim-liberime-create-word -> pyim-liberime--create-word, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 04ae08aa0f 41/58: Sort pyim-liberime.el, ELPA Syncer, 2022/06/24