Skip to content

Commit

Permalink
conf: 增加九宫格的自定义短语 custom_phrase_t9.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
iDvel committed Feb 2, 2024
1 parent b5c67c1 commit 7ff9e64
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions t9.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ engine:
translators:
- punct_translator
- script_translator
- lua_translator@date_translator # 时间、日期、星期
# - table_translator@melt_eng # 英文输入
- lua_translator@date_translator # 时间、日期、星期
- table_translator@custom_phrase # 自定义短语 custom_phrase_t9.txt
# - table_translator@melt_eng # 英文输入
filters:
- simplifier@emoji # Emoji
- simplifier@traditionalize # 简繁切换
Expand All @@ -58,6 +59,17 @@ translator:
spelling_hints: 100


# 自定义短语:custom_phrase_t9.txt
# ⚠️ 编码要用数字
custom_phrase:
dictionary: ""
user_dict: custom_phrase_t9
db_class: stabledb
enable_completion: false
enable_sentence: false
initial_quality: 99


# 九宫格 1 键上的符号序列
punctuator:
half_shape:
Expand Down

0 comments on commit 7ff9e64

Please sign in to comment.