;ELC ;;; Compiled ;;; in Emacs version 26.3 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\312%\210\313\314\315\316\317DD\320\321\322%\207" [require cl-lib pyim-common pyim-dcache pyim-codes custom-declare-group pyim-candidates nil "Candidates of pyim." :group pyim custom-declare-variable pyim-enable-shortcode funcall function #[0 "\300\207" [t] 1] "启用输入联想词功能." :type boolean] 6) #@36 所有备选词条组成的列表. (defvar pyim-candidates nil (#$ . 802)) #@77 上一轮备选词条列表,这个变量主要用于 autoselector 机制. (defvar pyim-candidates-last nil (#$ . 883)) #@120 当前选择的词条在 ‘pyim-candidates’ 中的位置. 细节信息请参考 `pyim-page-refresh' 的 docstring. (defvar pyim-candidate-position nil (#$ . 1011)) (pyim-register-local-variables '(pyim-candidates pyim-candidate-position)) #@150 按照 SCHEME-NAME 对应的输入法方案, 从输入法内部对象列表: IMOBJS 获得候选词条。 (fn IMOBJS SCHEME-NAME &optional ASYNC) (defalias 'pyim-candidates-create #[770 "\205\300\301\"\211\205\302\303\304\"!#\262\207" [pyim-scheme-get-option :class intern format "pyim-candidates-create:%S"] 8 (#$ . 1261)]) #@114 `pyim-candidates-create' 处理五笔仓颉等形码输入法的函数. (fn IMOBJS SCHEME-NAME &optional ASYNC) (defalias 'pyim-candidates-create:xingma #[770 "\211?\205a\300\211\203X\211@\301\302\"!\211@\301A!\300\211C\203)\211\303\304\305#\240\210\306\305\307\310\311\312\313\314!\315\"\316\317%\320\321\"\"\206E\242C\"\262\322\"\262\266A\266\202\202\210\211@\205_\211\262\207" [nil reverse pyim-codes-create mapconcat #[257 "\300!@\207" [pyim-dcache-get] 3 "\n\n(fn CODE)"] "" remove mapcar make-byte-code 257 "\300\242P\207" vconcat vector [] 3 "\n\n(fn X)" pyim-dcache-get (icode2word code2word shortcode2word) append] 20 (#$ . 1607)]) #@99 `pyim-candidates-create' 处理全拼输入法的函数. (fn IMOBJS SCHEME-NAME &optional ASYNC) (defalias 'pyim-candidates-create:quanpin #[770 "\211?\205_@G\302V\205 \205 \303\304\305\306@\302#\307#\310\"\311\211\211\211\306@\"\211GS\311S\312\211W\203T\211\313\312Z#\304\305\307#B\262\266\211T\262\2022\266\314!\211\203o\211@\315 \303!\"\262 A\266\202\202Y\266\211\203)\211@\315\303\304\305\306\"\307#\203\216\316\202\217\317\"\"\262\320!\262\303\304\305\306 \"\307#\203\252\321\202\253\322\"\211G\312V\203 G\312V\203 G\302=\204\310G\323=\203 \211GG^\311\312\211W\203\353\2118B\262\2118B\262\211T\262\202\317\315\237\211GW\203\374\202\nGW\205 \233\"\266\203\202\315\"\262\262\315\303\306 \"@!\"\262A\266\202\202s\210@\324\325A\"B\262 \203N\326\327 \330\331\332\f\333 \334\257\f!\210\320\335\311\315\n\n\n%\"!\266\205\207" [pyim-enable-shortcode pyim-debug 1 pyim-dcache-get mapconcat identity pyim-codes-create "-" (ishortcode2word) nil 0 cl-subseq reverse append (icode2word ishortcode2word) (icode2word) delete-dups (code2word shortcode2word) (code2word) 2 pyim-dcache-call-api sort-words princ :imobjs :personal-words :common-words :jianpin-words :znabc-words :pinyin-chars delq] 21 (#$ . 2284)]) #@99 `pyim-candidates-create' 处理双拼输入法的函数. (fn IMOBJS SCHEME-NAME &optional ASYNC) (defalias 'pyim-candidates-create:shuangpin #[770 "\300\301#\207" [pyim-candidates-create:quanpin quanpin] 7 (#$ . 3609)]) #@18 (fn CANDIDATE) (defalias 'pyim-candidate-parse #[257 "\211:\203\n\211@\202 \211\211;\203\300\301\"@\202\211\207" [split-string ":"] 5 (#$ . 3838)]) (provide 'pyim-candidates)