-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
自代的倉頡五代能有萬用字符? #1612
Comments
rime/rime-cangjie#13 這裡有人說沒辦法,可是行列輸入法(rime-array)就有萬用字符 |
可以實現。思路是使用 spelling algebra 生成帶萬用符的拼寫。正確打法提示可用 spelling_hints。 |
array30_query.schema.yaml 有一堆 regex, 但我完全看不懂 speller:
alphabet: "abcdefghjiklmnopqrstuvwxyz;,./?"
delimiter: "'"
algebra:
- xform/^(.*)!$/$1/ # 簡碼
- xform/^(.*)@$/$1/ # 特別碼(須置於簡碼之後)
# "?"萬用字元
- derive/^([^?])([^?])?([^?])?[^?](i)?$/$1$2$3\?$4/ # .(.)(.)?(i)
- derive/^([^?])([^?])[^?]([^?])(i)?$/$1$2\?$3$4/ # ..?.(i)
- derive/^([^?])([^?])?[^?][^?](i)?$/$1$2\?\?$3/ # .(.)??(i)
- derive/^([^?])[^?]([^?])([^?])?(i)?$/$1\?$2$3$4/ # .?.(.)(i)
- derive/^([^?])[^?]([^?])[^?](i)?$/$1\?$2\?$3/ # .?.?(i)
- derive/^([^?])[^?][^?]([^?])(i)?$/$1\?\?$2$3/ # .??.(i)
- derive/^([^?])[^?][^?][^?](i)?$/$1\?\?\?$2/ # .???(i)
- derive/^[^?]([^?])([^?])?([^?])?(i)?$/\?$1$2$3$4/ # ?.(.)(.)(i)
- derive/^[^?]([^?])([^?])?[^?](i)?$/\?$1$2\?$3/ # ?.(.)?(i)
- derive/^[^?]([^?])[^?]([^?])(i)?$/\?$1\?$2$3/ # ?.?.(i)
- derive/^[^?]([^?])[^?][^?](i)?$/\?$1\?\?$2/ # ?.??(i)
- derive/^[^?][^?]([^?])([^?])?(i)?$/\?\?$1$2$3/ # ??.(.)(i)
- derive/^[^?][^?]([^?])[^?](i)?$/\?\?$1\?$2/ # ??.?(i)
- derive/^[^?][^?][^?]([^?])(i)?$/\?\?\?$1$2/ # ???.(i) 可是我還是不懂它是如何知道array_query這個方案要用來做這件事 |
我以為看一下行列是怎麽做的就可以模仿,結果沒那麼容易 🤣 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
找了很久也不知道能不能設定。十多年用了系統自帶的,主要用三代(己經懂得加三代擴展)
有時侯真得打不出來,想用萬用字符*或?
主要有一些不常字,寫也忘了如何寫, 例如: 薦 “甘戈難火” 輸入 “甘戈*火” 或 “甘*難火” 或 “甘*火” 能在侯選字中查出來
The text was updated successfully, but these errors were encountered: