rime / rime-cangjie

【倉頡】輸入方案
GNU Lesser General Public License v3.0
27 stars 14 forks source link

Feature request: Support of wildcard character #13

Open ChristophSchmidpeter opened 3 years ago

ChristophSchmidpeter commented 3 years ago

Some Cangjie implementations support a wildcard character. A possible implementation is described in the IBus Cangjie documentation:

Wildcards Do you really know all the input codes for all the 70000+ Chinese characters? No? Well don’t worry, we thought about that. Whenever you don’t know the exact input code of a character, just try using a wildcard. For example, the Cangjie code for 你 is onf. But if you only remember the beginning and end, just try typing o*f, and we’ll return it, along with 繁 (okvif), 煲 (odf) and all the characters for which the code starts with an o and ends with an f.

I think having such a feature would be greatly helpful, especially when you are still learning new characters. For example, one could still enter a character into a Cangjie dictionary, even if one cannot figure out the exact Cangjie code.

ChristophSchmidpeter commented 3 years ago

Is such a feature possible to implement on the rime-cangjie level from a technical standpoint? Or does it need to be implemented into rime itself?

LEOYoon-Tsaw commented 3 years ago

No. It would needs extra rime features

ChristophSchmidpeter commented 3 years ago

@LEOYoon-Tsaw Thanks for the info

leafpool243 commented 1 month ago

@LEOYoon-Tsaw But Array schema has wildcard features. You can enter l?x to get 我(lox). So why can't Cangjie be the same?