The Rime Input Method Engine core library powers customizable Chinese and multilingual keyboard input with schema-driven configuration.
Overview
Librime is the core C++ library behind the Rime Input Method Engine, a modular engine for building keyboard input methods. It is designed to cover phonetic and shape-based Chinese input styles and related regional text needs.
The engine is extensible and built on open-source dependencies. It supports Traditional Chinese natively and can convert to Simplified Chinese and other regional standards through OpenCC. Input behavior is defined through Rime schemata written in YAML, including spelling algebra for variant readings and dialect-specific rules.
Chord typing on a generic Qwerty layout is supported. The library is meant to be embedded in frontends on Linux (IBus, Fcitx), Windows, and macOS; end users typically install Rime frontends such as 小狼毫 or 鼠鬚管 rather than using librime alone.
Developers can author custom input schemata to try new input method ideas. The broader Rime project pairs this core with community frontends and plugins that handle encoding and other concerns.
Key features
- Modular input method engine
- YAML input schemata
- Traditional and Simplified Chinese
- OpenCC text conversion
- Spelling algebra for variants
- Chord typing support
- Cross-platform C++ core
- Phonetic and shape-based methods
Use cases
- Building custom input methods
- Chinese keyboard input frontends
- Dialect-specific spelling variants
- Experimenting with input schemas