Skip to content

Commit

Permalink
chore: update gram config
Browse files Browse the repository at this point in the history
  • Loading branch information
boomker committed Nov 6, 2024
1 parent 31c1d7e commit 45c5a6a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions flypy_xhfast.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,18 @@ grammar:
translator:
dictionary: flypy_xhfast
spelling_hints: 1 # `0`: 关闭单字编码提示
initial_quality: 1.3
initial_quality: 1.3 # 初始词频
dynamic_model: true # 启用动态语言模型
enable_user_dict: true # 开启用户词库
enable_completion: true # 启用输入补全
prioritize_quality: true # 启用优先质量选项
encode_commit_history: true # 历史上屏自动编码成词
contextual_suggestions: true # 开启语言模型优化候选
sentence_over_completion: true # 逐鍵提示時啓智能組句
# max_homophones: 7
# max_homographs: 7
# max_phrase_length: 5
# sentence_over_completion: true # 逐鍵提示時啓智能組句
# segment_length: 4 # 设置分词长度
# max_homophones: 7 # 最大同音簇长度〔需配合 grammar 使用〕
# max_homographs: 7 # 最大同形簇长度〔需配合 grammar 使用〕
# max_phrase_length: 7 # 设置短语的最大长度
# enable_encoder: true
# always_show_comments: true
# disable_user_dict_for_patterns:
Expand Down

0 comments on commit 45c5a6a

Please sign in to comment.