Skip to content

Commit

Permalink
pyim-cstring-split-to-string-1 -> pyim-cstring--split-to-string
Browse files Browse the repository at this point in the history
  • Loading branch information
tumashu committed Jun 24, 2022
1 parent 20d9fee commit 3142799
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyim-cstring-utils.el
Expand Up @@ -95,13 +95,13 @@ CHINESE-STRING 分词,得到一个词条 alist,这个 alist 的元素都是
(mapconcat (lambda (str)
(when (> (length str) 0)
(if (not (pyim-string-match-p "\\CC" str))
(pyim-cstring-split-to-string-1
(pyim-cstring--split-to-string
str prefer-short-word separator max-word-length)
str)))
(pyim-cstring--partition string) (or separator " ")))

(defun pyim-cstring-split-to-string-1 (chinese-string &optional prefer-short-word
separator max-word-length)
(defun pyim-cstring--split-to-string (chinese-string &optional prefer-short-word
separator max-word-length)
"`pyim-cstring-split-to-string' 内部函数。"
(let ((str-length (length chinese-string))
(word-list (pyim-cstring-split-to-list
Expand Down

0 comments on commit 3142799

Please sign in to comment.