rime / rime-double-pinyin

雙拼輸入方案
GNU General Public License v3.0
396 stars 94 forks source link

有没有办法让双拼支持/X符号功能? #10

Open custard-pi opened 3 years ago

custard-pi commented 3 years ago

Screenshot from 2021-08-07 12-14-16 如图所示,明月拼音可以如此输入特殊符号 在明月拼音・小鹤双拼中则无此功能 我试过在double_pinyin_flypy.schema.custom.yaml中加入 patch: punctuator/import_preset: symbols recognizer/patterns/punct: '^/([0-9]0?|[A-Za-z]+)$' 然而仍然无法使用/x符号,问题出在哪里呢?

tshu-w commented 1 year ago

我这边这样配置之后使用正常 https://github.com/tshu-w/rime-conf/blob/a6927fb600afb1d23667a3d30d03ec3931717143/double_pinyin_flypy.custom.yaml#L27-L38