feature request: adding a Canjie input method for Chinese users
Hi, Recently I installed UT to my old smartphone as a great alternative other than android and iOS, however there's some problem in order to type Chinese characters without too much hassle.
Although there's pinyin and chewing for Chinese-writing User, these are phonic-based input method, mainly for Mainland Chinese and Taiwanese which made it based on their Standardized Mandarin speaking language.
However for some Chinese like Hong Kongers, Malaysian, Singaporean and other oversea Chinese, they might not Mandarin-speaking but their regional Speaking languages(Hakka, Hokkien, Shanghainese, Cantonese, etc., things are quite complex in Chinese speaking culture) they'd preferred shape-based input method instead of phonic, as it doesn't restricted their way to type as long as they know the writing pattern of those characters.
For shape-based input method, Cangjie and it's sister IM Quick-Canjie(mostly bundled each other for most of the linux IM varients) is one of the mainstream, and Google, Apple also developed this method for their own OSes as well(like G-board for google, you can inspire a bit for the layout) implement this shall promote potential non-mandarin speaking Chinese get in use with it better.
here's the documentation for ibus-canjie, the iBus input version for canjie, also its background and mechanics as a reference, I don't know that algorithm can port to this keyboard easily but it should give some good starting point IMHO :) https://cangjians.github.io/projects/ibus-cangjie/documentation/
for the word database, the fcitx's canjie3/canjie5 and quick3/quick5 and rime's ibus-cangjie should help a bit, like how english's word inspiration works but in specific code string (3 and 5 are the versions of canjie, they have slight difference of handwrite "guessing" logic, and quick is a simplified version of canjie which tend to simplify the code into first and last cangjie code but required manual searching) https://github.com/fcitx/fcitx-table-extra/tree/master/tables https://github.com/rime/rime-cangjie/blob/master/cangjie5.dict.yaml