Rime is a lightweight, powerful cross-platform input method framework. As it takes care of many repetitive tasks for developers, developers can then focus on develop a better schema library and better input method.
Despite of its powerful functionalities, Rime does not provide user interface in every platform, and an English documentation is missing at the moment.
Moreover, the documentation does not mention the existence of a Yale Cantonese schema library at all!
Therefore, this tutorial will help you install Rime Squirrel to input Cantonese with Yale Cantonese on macOS
A computer running in macOS
This tutorial will teach you how to install Rime Squirrel on macOS to input Cantonese with Yale Cantonese.
Go to Rime official website to download Rime Squirrel。
Rime Squirrel by default use Mandarin schema library. In order to input Cantonese with Rime Squirrel, we need to download a Cantonese schema library first from GitHub, and put it in a designated folder.
The fastest way to pull this off is to download it through inputting command in Terminal. Press command and space for Spotlight, then search terminal.
You may need to install Xcode for using Terminal on your Mac.
After you have opened Terminal, input the following command to download:
curl -fsSL https://git.io/rime-install | bash -s -- :preset emoji sgalal/rime-opencc-latest cantonese custom:set:config=default,key=patch/any_key,value=any_value custom:add:schema=jyut6ping3
After you have installed Jyutping schema library, you have to activate it manually before you can input Cantonese with Rime Squirrel.
Select 鼠鬚管 from your input methods and press 用戶設定 (User setting).
After you have pressed user setting, the folder containing all files from Rime Squirrel will be opened. Open the folder named ‘build’ here.
In the folder of ‘build’, look for a file called default.yaml and open it.
After you have opened it, search for
schema_list, change it as the following and save it:
Despite being the fastest way to modify default.yaml, this is not the best way to do so, as this file will be overrode when you update Rime Squirrel. To prevent that, you need to create a file named default.custom.yaml, copy all codes from default.yaml and modify here.
Click 重新部署 (Redeploy) and 同步用戶資料 (Sync user data), and then you will be able to input Cantonese in Yale Cantonese with Rime Squirrel.