Skip to content

Commit

Permalink
feat: add moqi_cf and set it active
Browse files Browse the repository at this point in the history
  • Loading branch information
loveminimal committed Dec 1, 2024
1 parent 52ffb32 commit d88bb9e
Show file tree
Hide file tree
Showing 3 changed files with 40,537 additions and 1 deletion.
13 changes: 12 additions & 1 deletion flyyx_rime_jk.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ switches:
reset: 1
states: [ 💀, 😄 ]
- name: chaifen
reset: 0
reset: 1
states: [ 拆隐, 拆显 ]


Expand Down Expand Up @@ -257,6 +257,17 @@ emoji:
opencc_config: emoji.json
inherit_comment: false # 在 corrector.lua 及反查中,emoji 返回空注释


# 显示墨奇码拆分
chaifen:
option_name: chaifen
opencc_config: moqi_cf.json
tips: char
show_in_comment: true
comment_format:
- "xform/ / /"


# === 标点符号控制 ===
punctuator:
import_preset: default # 设定符号表,这里直接导入预设的
Expand Down
23 changes: 23 additions & 0 deletions opencc/moqi_cf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "chaifen",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "text",
"file": "moqi_cf.txt"
}
},
"conversion_chain": [
{
"dict": {
"type": "group",
"dicts": [
{
"type": "text",
"file": "moqi_cf.txt"
}
]
}
}
]
}
Loading

0 comments on commit d88bb9e

Please sign in to comment.