Skip to content

Commit

Permalink
feat: remove octagram model
Browse files Browse the repository at this point in the history
  • Loading branch information
loveminimal committed Dec 8, 2024
1 parent c145538 commit aafa5d1
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 27 deletions.
Binary file removed amz-v2n3m1-zh-hans.gram
Binary file not shown.
5 changes: 0 additions & 5 deletions flypy_rime_jk.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,3 @@ recognizer:
patterns:
import_preset: default
reverse_lookup: "`[a-z]*'?$"


# === 启用语言模型 ===
octagram:
__include: wanxiang.yaml:/octagram
5 changes: 0 additions & 5 deletions py_rime_jk.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,3 @@ recognizer:
patterns:
import_preset: default
reverse_lookup: "`[a-z]*'?$"


# === 启用语言模型 ===
octagram:
__include: wanxiang.yaml:/octagram
14 changes: 2 additions & 12 deletions wanxiang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ fuzhu_hanxin:
- derive|^(\w+?);.*,(\w)(\w).*$|$1$2$3/| # 整句模式下,输入syff/ 出单字 增强单字性能
- derive|^(.{2});.*,(\w)(\w).*$|$1$2$3/| # 整句模式下,输入syff/ 出单字 增强单字性能


# === 模糊音 ===
# mohuyin:
# __append:
# # 模糊音 可选择性开启
Expand All @@ -248,15 +250,3 @@ fuzhu_hanxin:
# - derive/^v([a-z])/z$1/
# - derive/^i([a-z])/c$1/
# - derive/^u([a-z])/s$1/

# __include: octagram #启用语言模型
# === 语言模型 ===
octagram:
__patch:
grammar:
language: amz-v2n3m1-zh-hans
collocation_max_length: 5
collocation_min_length: 2
translator/contextual_suggestions: true
translator/max_homophones: 7
translator/max_homographs: 7
5 changes: 0 additions & 5 deletions zrm_rime_jk.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,3 @@ recognizer:
patterns:
import_preset: default
reverse_lookup: "`[a-z]*'?$"


# === 启用语言模型 ===
octagram:
__include: wanxiang.yaml:/octagram

0 comments on commit aafa5d1

Please sign in to comment.