Unlike mainstream IMEs that ship hundreds of megabytes of cloud dictionaries, Zhiyi IME carries only offline packs — about 40k Chinese and 20k English words — and reranks candidates with a small local model reading the text before the cursor: full pinyin, initials, Wubi, double pinyin with fuzzy sounds, U/V modes and foreign-language glosses, never going online (C++, GPL-3.0).
- v1.7.2
- Published at
- 5d ago
- 123
- Stars
- 707
- Download
- Synced at
- 4d ago
Latest release
v1.7.2Nov 22, 2026, 02:44 AMDownloads slow? Switch the source anytime above
README
Project Overview
What sets Zhiyi apart is context awareness: a small model running on your CPU reads the text before the cursor and moves the most likely candidate to the front, flagged with a blue-purple star — deciding, say, between 权利 / 权力 / 全力 from the sentence around it. Nothing typed leaves the machine.
| Item | Value |
|---|---|
| Platform | Windows |
| Language | C++ |
| License | GPL-3.0 |
| Input schemes | Full pinyin / initials / Wubi / double pinyin |
The first candidate is chosen by a local model that reads your context.
Key Features
- Contextual ranking: the model runs on CPU with no network access; promoted candidates get a star marker
- Learning mode (candidate glosses): each candidate shows foreign meanings and part of speech, up to three senses; Chinese translates to English / Japanese / Korean / French / German / Spanish / Russian and vice versa, with polyphonic characters split by reading
- Offline glossaries: ~40k Chinese and ~20k English words; the installer bundles zh→en and en→zh, other languages download on demand
- On-device translation model: for phrases and rare words outside the glossary, a ~0.3 GB distilled model (from Tencent Hy-MT2-7B) translates roughly a page in 0.3 s on CPU
- Ctrl+digit emits the gloss: hold
Ctrland press1-9to type the candidate's translation instead of the candidate (xianzai+Ctrl+1givesnow) - Four input schemes:
Ctrl+Spacecycles; full pinyin accepts initials and mixes (wsyige→ 我是一个); initials mode maps one letter per character (zgr→ 中国人); double pinyin supports Microsoft, Xiaohe, Ziranma, Sogou and Intelligent ABC layouts - Fuzzy sounds: z=zh, c=ch, s=sh, n=l, an=ang, en=eng, in=ing toggle independently, with correct pinyin shown on matched words
- U and V modes:
vprefixes Chinese numerals, capital amounts, dates (incl. lunar), times and arithmetic;ufinds rare characters by stroke or component reading - Phrase shortcuts: Sogou-compatible format with import/export; typing 日期 / 时间 / 星期 inserts the current value
- Extras: custom punctuation table, tray right-click quick switching, vertical or horizontal candidate window at three font sizes, self-learning (backspace right after commit undoes it), one-file backup and migration, optional launch at startup
Data & Privacy
- Dictionaries, learning data, language packs and model cache can all be relocated to another drive
- The optional experience-improvement program is off by default and writes only locally
System Requirements
| Item | Requirement |
|---|---|
| OS | Windows |
| Hardware | Any CPU for the ranking model; GPU optional for the translation model |
| Disk | Extra language packs and the ~0.3 GB translation model download on demand |
Notes
- GPL-3.0: modified distributions must stay open under the same license
- Glossaries are licensed separately: the word lists are public in
zhiyi-glossaryand corrections go there - Phrase compatibility: shortcuts follow Sogou's format — back up existing configs before importing
Release history
Sort