[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim a4143ce691 12/41: pyim-candidates-create-like-jian
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim a4143ce691 12/41: pyim-candidates-create-like-jianpin -> pyim-candidates-jianpin-words |
Date: |
Sat, 4 Jun 2022 09:57:46 -0400 (EDT) |
branch: externals/pyim
commit a4143ce691b925002059c69ec7b9cdb3d741b436
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
pyim-candidates-create-like-jianpin -> pyim-candidates-jianpin-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 313c2003fd..88ee5ee296 100644
--- a/pyim-candidates.el
+++ b/pyim-candidates.el
@@ -166,7 +166,7 @@
(defun pyim-candidates-create-quanpin (imobjs scheme &optional fast-search)
"`pyim-candidates-create' 内部使用的函数。"
(let* ((znabc-words (pyim-candidates-znabc-words imobjs scheme fast-search))
- (jianpin-words (pyim-candidates-create-like-jianpin imobjs scheme))
+ (jianpin-words (pyim-candidates-jianpin-words imobjs scheme))
(dcache-words (pyim-candidates-create-get-dcache-words imobjs scheme))
(personal-words (nth 0 dcache-words))
(common-words (nth 1 dcache-words))
@@ -214,7 +214,7 @@
(pyim-zip codes))
fast-search)))
-(defun pyim-candidates-create-like-jianpin (imobjs scheme &optional
fast-search)
+(defun pyim-candidates-jianpin-words (imobjs scheme &optional fast-search)
"简拼模式。
假如输入 \"nih\" ,那么搜索 code 为 \"n-h\" 的词条,然后筛选出所
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index 424b0cf666..a475c0c322 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -526,7 +526,7 @@
(should (equal (pyim-candidates-znabc-words imobjs quanpin t)
'("你好吗朋友" "你好吗" "你好")))))
-(ert-deftest pyim-tests-pyim-candidates-create-like-jianpin ()
+(ert-deftest pyim-tests-pyim-candidates-jianpin-words ()
(let* ((pyim-dhashcache-code2word (make-hash-table :test #'equal))
(pyim-dhashcache-icode2word (make-hash-table :test #'equal))
(pyim-dhashcache-ishortcode2word (make-hash-table :test #'equal))
@@ -534,9 +534,9 @@
(imobjs1 (pyim-imobjs-create "nih" quanpin))
(imobjs2 (pyim-imobjs-create "ni" quanpin)))
(puthash "n-h" (list "你好" "你坏" "尼耗" "南好" "内核" "内河")
pyim-dhashcache-ishortcode2word)
- (should (equal (pyim-candidates-create-like-jianpin imobjs1 quanpin)
+ (should (equal (pyim-candidates-jianpin-words imobjs1 quanpin)
'("你好" "你坏" "尼耗")))
- (should-not (pyim-candidates-create-like-jianpin imobjs2 quanpin))))
+ (should-not (pyim-candidates-jianpin-words imobjs2 quanpin))))
(ert-deftest pyim-tests-pyim-candidates-get-dcache-words ()
(let* ((pyim-dhashcache-code2word (make-hash-table :test #'equal))
- [elpa] externals/pyim updated (872c7139fe -> 2f1aaaa9a7), ELPA Syncer, 2022/06/04
- [elpa] externals/pyim dbd9815164 03/41: * pyim-candidates.el (pyim-candidates-create): Remove comment., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 6d68a1f451 04/41: * tests/pyim-tests.el (pyim-tests-pyim-candidates-create-xingma): New test., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 42bc6092ed 10/41: Add pyim-candidates-create-get-dcache-words, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 5c7ca2cef7 07/41: Add pyim-candidates-create-async for rime., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim a4143ce691 12/41: pyim-candidates-create-like-jianpin -> pyim-candidates-jianpin-words,
ELPA Syncer <=
- [elpa] externals/pyim 5f716730ea 17/41: Update pyim-test.el, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 665867fc0a 31/41: Set pyim-process-autoselector default value is nil., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 424e488118 36/41: Add preview test, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 845e9f6e4f 23/41: * pyim-candidates.el (pyim-candidates-create-async): Simplify shuangpin., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 5611319de0 35/41: Add page test, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim aa07a23fda 39/41: * pyim-probe.el (pyim-probe-org-latex-mode): Update., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 573fefe532 38/41: Use (eql symbol) instead of (eql 'symbol)., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 2f1aaaa9a7 41/41: Merge pull request #442 from tumashu/struct, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim c5a77c3f73 05/41: Add pyim-candidate-create-async, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 0d357b5fd9 08/41: pyim-candidates-create-like-znabc, ELPA Syncer, 2022/06/04