Revert "config: 修改 db_class 类型"

This reverts commit 2f64840cf5.
This commit is contained in:
Dvel 2023-02-25 17:44:29 +08:00
parent 2f64840cf5
commit 7fa5b80137
4 changed files with 2 additions and 7 deletions

4
.gitignore vendored
View File

@ -3,12 +3,10 @@
.vscode/
build/
*.userdb/
installation.yaml
user.yaml
*.userdb/
rime_ice.txt
others/script/scel2txt/out/*
others/script/scel2txt/scel/*

View File

@ -130,7 +130,6 @@ 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+回车”上屏的字符

View File

@ -130,7 +130,6 @@ 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+回车”上屏的字符

View File

@ -6,7 +6,7 @@
schema:
schema_id: rime_ice
name: 雾凇拼音
version: "1.4.1"
version: "1.4.0"
author:
- Dvel
description: |
@ -146,7 +146,6 @@ 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