emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/pyim 8c0a57e7a8 1/2: Remove weight-table.


From: ELPA Syncer
Subject: [elpa] externals/pyim 8c0a57e7a8 1/2: Remove weight-table.
Date: Sat, 8 Jan 2022 03:57:47 -0500 (EST)

branch: externals/pyim
commit 8c0a57e7a81d88a574eb12e7ef8386a1a66a2284
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    Remove weight-table.
    
            * pyim-candidates.el (pyim-candidates-create:xingma)
            (pyim-candidates-create-quanpin): remove weight-table.
---
 pyim-candidates.el | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/pyim-candidates.el b/pyim-candidates.el
index 2d93cbb95a..85e19f2319 100644
--- a/pyim-candidates.el
+++ b/pyim-candidates.el
@@ -132,7 +132,7 @@ IMOBJS 获得候选词条。"
                        (personal-words (pyim-candidates-sort personal-words))
                        (common-words (pyim-dcache-get last-code '(code2word)))
                        (chief-word (pyim-candidates-get-chief scheme-name 
personal-words common-words))
-                       (common-words (pyim-candidates-sort common-words 
weight-table))
+                       (common-words (pyim-candidates-sort common-words))
                        (other-words (pyim-dcache-get last-code 
'(shortcode2word))))
                   (mapcar (lambda (word)
                             (concat prefix word))
@@ -198,10 +198,11 @@ IMOBJS 获得候选词条。"
 
 (defun pyim-candidates-create-quanpin (imobjs scheme-name &optional 
fast-search)
   "`pyim-candidates-create:quanpin' 内部使用的函数。"
-  (let ( jianpin-words znabc-words
-         personal-words common-words
-         pinyin-chars-1 pinyin-chars-2
-         chief-word weight-table)
+  (let (;; Let indent beautiful.
+        jianpin-words znabc-words
+        personal-words common-words
+        pinyin-chars-1 pinyin-chars-2
+        chief-word)
     ;; 智能ABC模式,得到尽可能的拼音组合,查询这些组合,得到的词条做为联想词。
     (let ((codes (mapcar (lambda (x)
                            (pyim-subconcat x "-"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]