From 2f64840cf55809a77e39a8cd64823d1527c8a0ed Mon Sep 17 00:00:00 2001 From: Dvel Date: Sat, 25 Feb 2023 05:10:20 +0800 Subject: [PATCH] =?UTF-8?q?config:=20=E4=BF=AE=E6=94=B9=20db=5Fclass=20?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +++- double_pinyin.schema.yaml | 1 + double_pinyin_flypy.schema.yaml | 1 + rime_ice.schema.yaml | 3 ++- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 178d750..8dbbbd3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,10 +3,12 @@ .vscode/ build/ -*.userdb/ installation.yaml user.yaml +*.userdb/ +rime_ice.txt + others/script/scel2txt/out/* others/script/scel2txt/scel/* diff --git a/double_pinyin.schema.yaml b/double_pinyin.schema.yaml index a971064..4d62ab0 100755 --- a/double_pinyin.schema.yaml +++ b/double_pinyin.schema.yaml @@ -130,6 +130,7 @@ grammar: translator: dictionary: rime_ice # 挂载词库 rime_ice.dict.yaml prism: double_pinyin # 多方案共用一个词库时,为避免冲突,需要用 prism 指定一个名字。 + db_class: tabledb # tabledb | userdb ,前者会生成人类可读的 *.txt,后者生成二进制的 *.userdb/ contextual_suggestions: true # 开启八股文 initial_quality: 1.2 # 拼音的权重应该比英文大 preedit_format: # preedit_format 影响到输入框的显示和“Shift+回车”上屏的字符 diff --git a/double_pinyin_flypy.schema.yaml b/double_pinyin_flypy.schema.yaml index 1177c3e..eccf7c3 100755 --- a/double_pinyin_flypy.schema.yaml +++ b/double_pinyin_flypy.schema.yaml @@ -130,6 +130,7 @@ grammar: translator: dictionary: rime_ice # 挂载词库 rime_ice.dict.yaml prism: double_pinyin_flypy # 多方案共用一个词库时,为避免冲突,需要用 prism 指定一个名字。 + db_class: tabledb # tabledb | userdb ,前者会生成人类可读的 *.txt,后者生成二进制的 *.userdb/ contextual_suggestions: true # 开启八股文 initial_quality: 1.2 # 拼音的权重应该比英文大 preedit_format: # preedit_format 影响到输入框的显示和“Shift+回车”上屏的字符 diff --git a/rime_ice.schema.yaml b/rime_ice.schema.yaml index 0b1c761..6f68f30 100755 --- a/rime_ice.schema.yaml +++ b/rime_ice.schema.yaml @@ -6,7 +6,7 @@ schema: schema_id: rime_ice name: 雾凇拼音 - version: "1.4.0" + version: "1.4.1" author: - Dvel description: | @@ -146,6 +146,7 @@ grammar: # 主翻译器,拼音 translator: dictionary: rime_ice # 挂载词库 rime_ice.dict.yaml + db_class: tabledb # tabledb | userdb ,前者会生成人类可读的 *.txt,后者生成二进制的 *.userdb/ contextual_suggestions: true # 开启八股文 preedit_format: # preedit_format 影响到输入框的显示和“Shift+回车”上屏的字符 - xform/([jqxy])v/$1u/ # 显示为 ju qu xu yu