Skip to content

Sumibi v6.0.0

Choose a tag to compare

@kiyoka kiyoka released this 08 Apr 13:37
· 23 commits to main since this release

What's New

Chinese Pinyin Input Method (sumibi-chinese)

Sumibi now supports Chinese input! A new module sumibi-chinese enables Pinyin-to-Chinese conversion powered by LLM API.

Key Features

  • Pinyin to Chinese conversion — Type Pinyin and press C-j to convert to Chinese characters
    • Example: wo shi zhongguo ren我是中国人
  • Simplified & Traditional Chinese — Switch with sumibi-chinese-character-set
    • 'simplified (default): 简体字 output
    • 'traditional: 繁體字 output
  • Tone number input — Append tone numbers (1-4) to Pinyin for more accurate conversion
    • Example: ma1 ma2 ma3 ma4妈麻马骂
  • Undo support — Press C-j again after conversion to re-enter candidate selection, or use standard Emacs undo (C-/)
  • Candidate popup — Select from multiple conversion candidates, including the original Pinyin

Quick Start

(require 'sumibi-chinese)
(global-sumibi-chinese-mode 1)

;; For Traditional Chinese:
;; (setq sumibi-chinese-character-set 'traditional)

DeepSeek Provider Presets

Added built-in presets for DeepSeek models:

  • deepseek-chat (DeepSeek-V3)
  • deepseek-reasoner (DeepSeek-R1)

User-Facing Messages in English

All user-facing messages (errors, prompts, status) in sumibi.el have been changed from Japanese to English, so that both Japanese and Chinese users can understand them.

Documentation

  • Added Chinese documentation: README.zh.md, FAQ.zh.md, SECURITY.zh.md, SECURITY_ENVIRONMENT.zh.md, SECURITY_GPG.zh.md, SECURITY_KEYCHAIN.zh.md
  • Added English documentation: README.en.md

Full Changelog

  • Add Chinese Pinyin input method (sumibi-chinese) with Simplified/Traditional support
  • Add Pinyin tone number input (e.g. ma1 ma2 ma3 ma4)
  • Add undo feature for Chinese mode (candidate re-selection with C-j)
  • Add DeepSeek provider presets (deepseek-chat, deepseek-reasoner)
  • Unify user-facing messages to English
  • Add Chinese and English documentation
  • Add ERT tests for sumibi-chinese (20 tests)