Skip to content

Commit

Permalink
!feat: 反查统一使用U开头
Browse files Browse the repository at this point in the history
  • Loading branch information
Mintimate committed Apr 3, 2024
1 parent 8d8781b commit 51779ac
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 37 deletions.
20 changes: 9 additions & 11 deletions double_pinyin_flypy.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -281,16 +281,14 @@ wubi98_mint:
dictionary: wubi98_mint
enable_user_dict: false
enable_completion: true
prefix: "~w"
suffix: "'"
prefix: "Uw"
tips: 〔五笔〕

stroke:
tag: stroke
dictionary: stroke
enable_user_dict: false
prefix: '~i'
suffix: "'"
prefix: 'Ui'
tips: 〔笔画〕
preedit_format:
- xlit/hspnz/一丨丿丶乙/
Expand All @@ -301,10 +299,9 @@ radical_reverse_lookup:
prism: flypy_radical_pinyin
enable_completion: false
enable_sentence: false
prefix: "~~"
suffix: " '"
comment_format:
- erase/^.*$//
prefix: "Uu"
# comment_format:
# - erase/^.*$// # 删除注释
tips: 〔拆字〕

reverse_lookup:
Expand Down Expand Up @@ -340,8 +337,9 @@ recognizer:
patterns:
url: "^[a-z]+[.].+$"
punct: "^/([0-9]0?|[a-z]+)$"
wubi98_mint: "~w[a-z]*'?$"
stroke: "~i[a-z]*'?$"
radical_lookup: "~~[a-z]*'?$"
wubi98_mint: "Uw[a-z]*'?$"
stroke: "Ui[a-z]*'?$"
radical_lookup: "Uu[a-z]*'?$"
rmb: "^R[0-9]+[.]?[0-9]*" # 响应 lua_translator@number_translator 脚本将自动获取第 2 个字符作为触发前缀
gregorian_to_lunar: "^N[0-9]{1,8}" # 响应 lua_translator@Chinese_lunar_calendar 公历转农历,输入 N20240115 得到「二〇二四年腊月初五」,脚本将自动获取第 2 个字符作为触发前缀
uppercase: "" # 覆写默认的 uppercase 使其可以在输入大写后,输入数字
20 changes: 9 additions & 11 deletions rime_mint.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -272,16 +272,14 @@ wubi98_mint:
dictionary: wubi98_mint
enable_user_dict: false
enable_completion: true
prefix: "uw"
suffix: "'"
prefix: "Uw"
tips: 〔五笔〕

stroke:
tag: stroke
dictionary: stroke
enable_user_dict: false
prefix: 'ui'
suffix: "'"
prefix: 'Ui'
tips: 〔笔画〕
preedit_format:
- xlit/hspnz/一丨丿丶乙/
Expand All @@ -291,10 +289,9 @@ radical_reverse_lookup:
dictionary: radical_pinyin
enable_completion: false
enable_sentence: false
prefix: "uu"
suffix: " '"
comment_format:
- erase/^.*$//
prefix: "Uu"
# comment_format:
# - erase/^.*$// # 删除注释
tips: 〔拆字〕

reverse_lookup:
Expand Down Expand Up @@ -328,8 +325,9 @@ recognizer:
patterns:
url: "^[a-z]+[.].+$"
punct: "^/([0-9]0?|[a-z]+)$"
wubi98_mint: "uw[a-z]*'?$"
stroke: "ui[a-z]*'?$"
radical_lookup: "uu[a-z]*'?$"
wubi98_mint: "Uw[a-z]*'?$"
stroke: "Ui[a-z]*'?$"
radical_lookup: "Uu[a-z]*'?$"
rmb: "^R[0-9]+[.]?[0-9]*" # 响应 lua_translator@number_translator 脚本将自动获取第 2 个字符作为触发前缀
gregorian_to_lunar: "^N[0-9]{1,8}" # 响应 lua_translator@Chinese_lunar_calendar 公历转农历,输入 N20240115 得到「二〇二四年腊月初五」,脚本将自动获取第 2 个字符作为触发前缀
uppercase: "" # 覆写默认的 uppercase 使其可以在输入大写后,输入数字
18 changes: 9 additions & 9 deletions rime_mint_flypy.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -297,16 +297,16 @@ wubi98_mint:
dictionary: wubi98_mint
enable_user_dict: false
enable_completion: true
prefix: "uuw"
suffix: "'"
prefix: "Uw"
suffix: " '"
tips: 〔五笔〕

stroke:
tag: stroke
dictionary: stroke
enable_user_dict: false
prefix: 'uui'
suffix: "'"
prefix: 'Ui'
suffix: " '"
tips: 〔笔画〕
preedit_format:
- xlit/hspnz/一丨丿丶乙/
Expand All @@ -316,10 +316,9 @@ radical_reverse_lookup:
dictionary: radical_pinyin
enable_completion: false
enable_sentence: false
prefix: "uuu"
prefix: "Uu"
suffix: " '"
comment_format:
- erase/^.*$//
- xform/([nljqxy])v/$1ü/
tips: 〔拆字〕

Expand Down Expand Up @@ -354,8 +353,9 @@ recognizer:
patterns:
url: "^[a-z]+[.].+$"
punct: "^/([0-9]0?|[a-z]+)$"
wubi98_mint: "uuw[a-z]*'?$"
stroke: "uui[a-z]*'?$"
radical_lookup: "uuu[a-z]*'?$"
wubi98_mint: "Uw[a-z]*'?$"
stroke: "Ui[a-z]*'?$"
radical_lookup: "Uu[a-z]*'?$"
rmb: "^R[0-9]+[.]?[0-9]*" # 响应 lua_translator@number_translator 脚本将自动获取第 2 个字符作为触发前缀
gregorian_to_lunar: "^N[0-9]{1,8}" # 响应 lua_translator@Chinese_lunar_calendar 公历转农历,输入 N20240115 得到「二〇二四年腊月初五」,脚本将自动获取第 2 个字符作为触发前缀
uppercase: "" # 覆写默认的 uppercase 使其可以在输入大写后,输入数字
13 changes: 7 additions & 6 deletions terra_pinyin.custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ patch:
dictionary: wubi98_mint
enable_user_dict: false
enable_completion: true
prefix: "uw"
prefix: "Uw"
suffix: "'"
tips: 〔五笔〕
comment_format:
Expand Down Expand Up @@ -290,7 +290,7 @@ patch:
tag: stroke
dictionary: stroke
enable_user_dict: false
prefix: 'ui'
prefix: 'Ui'
suffix: "'"
tips: 〔笔画〕
preedit_format:
Expand Down Expand Up @@ -331,7 +331,7 @@ patch:
tag: radical_lookup
dictionary: radical_pinyin
enable_completion: true
prefix: "uu"
prefix: "Uu"
preedit_format:
- xform/([nljqxy])v/$1ü/
comment_format:
Expand Down Expand Up @@ -399,6 +399,7 @@ patch:
patterns:
url: "^[a-z]+[.].+$"
punct: "^/([0-9]0?|[a-z]+)$"
wubi98_mint: "uw[a-z]*'?$"
stroke: "ui[a-z]*'?$"
radical_lookup: "uu[a-z]*'?$"
wubi98_mint: "Uw[a-z]*'?$"
stroke: "Ui[a-z]*'?$"
radical_lookup: "Uu[a-z]*'?$"
uppercase: "" # 覆写默认的 uppercase 使其可以在输入大写后,输入数字

0 comments on commit 51779ac

Please sign in to comment.