Skip to content

Commit

Permalink
Update wanxiang.schema.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
amzxyz authored Nov 20, 2024
1 parent 608f134 commit 8516ae5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wanxiang.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ reduce_english_filter:
translator:
dictionary: wanxiang # 挂载词库 wanxiang.dict.yaml
# prism: double_pinyin # 多方案共用一个词库时,为避免冲突,需要用 prism 指定一个名字。
contextual_suggestions: true #上下文建议开启〔需配合 grammar 使用〕
prioritize_quality: true # 启用优先质量选项
enable_completion: true # 启用候选词补全
max_candidates: 10 # 设置最大候选词数量
Expand All @@ -194,7 +193,7 @@ translator:
# candidate_filter: "^(?!abc).*$" # 过滤掉包含 "abc" 的候选词
# user_dict: zrm.userdb # 用户词典的文件名称
# db_class: tabledb #开启后就不会产生zrm.userdb这样的文件夹,会直接输出文本zrm.txt同时无法使用同步能力
enable_user_dict: true # 是否开启自动调频
enable_user_dict: false # 是否开启自动调频
enable_correction: false #是否开启自动纠错
encode_commit_history: true # 预留历史上屏自动编码成词
initial_quality: 3 # 初始质量拼音的权重应该比英文大
Expand Down

0 comments on commit 8516ae5

Please sign in to comment.