Rime Input Method Engine, the core library