Rime schema repository
GPLv3
Individual packages in this collection can be released under different licenses. Please refer to their respective LICENSE files.
This software is a collection of data packages used by Rime to support various Chinese input methods, including those based on modern dialects or historical diasystems of the Chinese language.
A Rime input schema describes the behaviors of a specific input method
in Rime's DSL. It consists of a configuration file named *.schema.yaml
where
*
is schema ID, and an optional Rime dictionary file named *.dict.yaml
.
A package may contain one or several interrelated input schemata and their affiliated Rime dictionaries.
prelude
: the prelude package, providing Rime's default settingsessay
: 八股文 / a shared vocabulary and language model
Modern Standard Madarin
luna-pinyin
: 朙月拼音 / Pinyin in Tranditional Chineseterra-pinyin
: 地球拼音 / School-taught Pinyin, with tone marksbopomofo
: 注音 / Zhuyin (aka. Bopomofo)pinyin-simp
: 袖珍簡化字拼音 / Pinyin in Simplified Chinese
Derivatives of Pinyin
double-pinyin
: 雙拼 / Double Pinyin (ZiRanMa, ABC, flyPY, MSPY, PYJJ variants)combo-pinyin
: 宮保拼音 / Chord-typing Pinyinstenotype
: 打字速記法 / a stenographic system derived from ABC Easy Shorthand
Other modern varieties of Chinese
Middle Chinese
middle-chinese
: 中古漢語拼音 / Middle Chinese Romanization
stroke
: 五筆畫 / five strokescangjie
: 倉頡輸入法 / Cangjie input methodquick
: 速成 / Simplified Cangjiewubi
: 五筆字型array
: 行列輸入法scj
: 快速倉頡
emoji
: 繪文字 / input emoji with English or Chinese Pinyin keywordsipa
: 國際音標 / International Phonetic Alphabet
To prepare your Rime configuration for Squirrel, Weasel or ibus-rime, you can get started by running
curl -fsSL https://git.io/v13uY | bash
Or to get the "preset" configuration (note the colon):
curl -fsSL https://git.io/v13uY | bash -s -- :preset
This is equivalent to cloning this repo and running rime-install
:
git clone --depth 1 https://github.com/rime/brise.git
cd brise
bash rime-install :preset
You can then add packages, many of them, from great Rime developers on GitHub:
bash rime-install middle-chinese lotem/rime-zhung acevery/rime-zhengma
For other Rime distributions, specify the path to Rime user directory in the command line:
rime_dir=$HOME/.config/fcitx/rime bash rime-install
To update la brise itself, run
bash rime-install update
The Makefile builds and installs Rime data as a binary package on Unix systems.
- git
- librime>=1.3 (for
rime_deployer
)
- librime>=1.3
- opencc>=1.0.2
The make target all
uses git
command line to download the latest packages
from GitHub.
make
sudo make install
You can optionally build YAML files to binaries by setting the shell variable
BRISE_BUILD_BINARIES
. To build preset packages, do
BRISE_BUILD_BINARIES=yes make preset
We are grateful to the makers of the following open source projects:
- Android Pinyin IME (Apache 2.0)
- Chewing / 新酷音 (LGPL)
- ibus-table (LGPL)
- OpenCC / 開放中文轉換 (Apache 2.0)
- moedict / 萌典 (CC0 1.0)
- Rime 翰林院 / Rime Academy (GPLv3)
Also to the inventors of the following input methods:
- Cangjie / 倉頡輸入法 by 朱邦復
- Array input method / 行列輸入法 by 廖明德
- Wubi / 五筆字型 by 王永民
- Scj / 快速倉頡 by 麥志洪
- Middle Chinese Romanization / 中古漢語拼音 by 古韻
The repository is a result of collective effort. It was set up by the following people by contributing files, patches and pull-requests. See also the contributors page for a list of open-source collaborators.
- 佛振
- Kunki Chou
- 雪齋
- Patrick Tschang
- Joseph J.C. Tang
- lxk
- Ye Zhou
- Jiehong Ma
- StarSasumi
- 古韻
- 寒寒豆
- 四季的風
- 上海閒話abc
- 吳語越音
Pull requests are welcome for established, open-source input methods that haven't been included in the repository. Thank you! But you'll be responsible for providing source files along with an open-source license because licensing will be rigidly scrutinized by downstream packagers.