cangjie.el is available on MELPA.
cangjie.el under your
(require 'cangjie) in your init file.
cangjie-at-point: Lookup Cangjie encoding for character at point.
cangjie (CHARACTER): Lookup Cangjie encoding for CHARACTER (asked in prompt when called interactively).
cangjie-source: the dictionary to be used by
Its value can be:
- a path,
cangjieread from that path if it's a valid RIME dictionary.
'rime, to download the dictionary from https://github.com/rime/rime-cangjie, and save it for future use.
wiktionary-raw, to output the line with the Cangjie code on the character's Wiktionary page,
'wiktionary, or anything else, to grep the Wiktionary page like
'wiktionary-raw, then try to remove the markup in the result, leaving just the Cangjie code.