feat: 支持东风破
This commit is contained in:
parent
45a5824b08
commit
3061144c46
46
README.md
46
README.md
@ -57,19 +57,49 @@
|
|||||||
|
|
||||||
## 使用说明
|
## 使用说明
|
||||||
|
|
||||||
备份后删除配置目录下原有的配置文件,再将仓库所有文件复制粘贴进去就好了。
|
建议备份原先配置,清空配置目录。
|
||||||
|
|
||||||
更新词库:词库每个月都会更新几次,更新时只需要将下面 3 个文件夹覆盖过去并重新部署即可。
|
### 手动安装
|
||||||
|
|
||||||
- `cn_dicts` 拼音相关词库
|
将仓库所有文件复制粘贴进去就好了。
|
||||||
- 里面的文件在 `rime_ice.dict.yaml` 中引用
|
|
||||||
|
|
||||||
- `en_dicts` 英文相关词库
|
### 东风破 [plum](https://github.com/rime/plum)
|
||||||
- 里面的文件在 `melt_eng.dict.yaml` 中引用
|
|
||||||
|
|
||||||
- `opencc` Emoji
|
所有配方(`others/recipes/*.recipe.yaml`)只是简单地更新覆盖文件,适合更新词库时使用。
|
||||||
|
|
||||||
*更新词库后报错,可能是增删改了词库文件,需要检查 `*.dict.yaml` 与词库文件是否对应上。
|
后四个配方只是更新词库文件,并不更新 `rime_ice.dict.yaml` 和 `melt_eng.dict.yaml`,因为用户可能会挂载其他词库。
|
||||||
|
|
||||||
|
如果更新后部署时报错,可能是增、删、改了文件名,需要检查上面两个文件和词库的对应关系。
|
||||||
|
|
||||||
|
安装或更新:全部文件
|
||||||
|
|
||||||
|
```
|
||||||
|
bash rime-install iDvel/rime-ice:others/recipes/full
|
||||||
|
```
|
||||||
|
|
||||||
|
安装或更新:所有词库文件(包含下面三个)
|
||||||
|
|
||||||
|
```
|
||||||
|
bash rime-install iDvel/rime-ice:others/recipes/all_dicts
|
||||||
|
```
|
||||||
|
|
||||||
|
安装或更新:拼音词库文件
|
||||||
|
|
||||||
|
```
|
||||||
|
bash rime-install iDvel/rime-ice:others/recipes/cn_dicts
|
||||||
|
```
|
||||||
|
|
||||||
|
安装或更新:英文词库文件
|
||||||
|
|
||||||
|
```
|
||||||
|
bash rime-install iDvel/rime-ice:others/recipes/en_dicts
|
||||||
|
```
|
||||||
|
|
||||||
|
安装或更新:opencc(emoji)
|
||||||
|
|
||||||
|
```
|
||||||
|
bash rime-install iDvel/rime-ice:others/recipes/opencc
|
||||||
|
```
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
21
others/recipes/all_dicts.recipe.yaml
Normal file
21
others/recipes/all_dicts.recipe.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# encoding: utf-8
|
||||||
|
---
|
||||||
|
recipe:
|
||||||
|
Rx: others/recipes/all_dicts
|
||||||
|
args:
|
||||||
|
description: >-
|
||||||
|
所有词库安装、更新
|
||||||
|
install_files: >-
|
||||||
|
cn_dicts/8105.dict.yaml
|
||||||
|
cn_dicts/base.dict.yaml
|
||||||
|
cn_dicts/ext.dict.yaml
|
||||||
|
cn_dicts/others.dict.yaml
|
||||||
|
cn_dicts/sogou.dict.yaml
|
||||||
|
cn_dicts/tencent.dict.yaml
|
||||||
|
en_dicts/cn_en.dict.yaml
|
||||||
|
en_dicts/en.dict.yaml
|
||||||
|
en_dicts/en_ext.dict.yaml
|
||||||
|
opencc/emoji-map.txt
|
||||||
|
opencc/emoji.json
|
||||||
|
opencc/emoji.txt
|
||||||
|
opencc/others.txt
|
14
others/recipes/cn_dicts.recipe.yaml
Normal file
14
others/recipes/cn_dicts.recipe.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# encoding: utf-8
|
||||||
|
---
|
||||||
|
recipe:
|
||||||
|
Rx: others/recipes/cn_dicts
|
||||||
|
args:
|
||||||
|
description: >-
|
||||||
|
拼音词库安装、更新
|
||||||
|
install_files: >-
|
||||||
|
cn_dicts/8105.dict.yaml
|
||||||
|
cn_dicts/base.dict.yaml
|
||||||
|
cn_dicts/ext.dict.yaml
|
||||||
|
cn_dicts/others.dict.yaml
|
||||||
|
cn_dicts/sogou.dict.yaml
|
||||||
|
cn_dicts/tencent.dict.yaml
|
11
others/recipes/en_dicts.recipe.yaml
Normal file
11
others/recipes/en_dicts.recipe.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# encoding: utf-8
|
||||||
|
---
|
||||||
|
recipe:
|
||||||
|
Rx: others/recipes/en_dicts
|
||||||
|
args:
|
||||||
|
description: >-
|
||||||
|
英文词库安装、更新
|
||||||
|
install_files: >-
|
||||||
|
en_dicts/cn_en.dict.yaml
|
||||||
|
en_dicts/en.dict.yaml
|
||||||
|
en_dicts/en_ext.dict.yaml
|
36
others/recipes/full.recipe.yaml
Normal file
36
others/recipes/full.recipe.yaml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# encoding: utf-8
|
||||||
|
---
|
||||||
|
recipe:
|
||||||
|
Rx: others/recipes/full
|
||||||
|
args:
|
||||||
|
description: >-
|
||||||
|
完整安装、更新
|
||||||
|
install_files: >-
|
||||||
|
cn_dicts/8105.dict.yaml
|
||||||
|
cn_dicts/base.dict.yaml
|
||||||
|
cn_dicts/ext.dict.yaml
|
||||||
|
cn_dicts/others.dict.yaml
|
||||||
|
cn_dicts/sogou.dict.yaml
|
||||||
|
cn_dicts/tencent.dict.yaml
|
||||||
|
custom_phrase.txt
|
||||||
|
default.custom.yaml
|
||||||
|
double_pinyin.schema.yaml
|
||||||
|
double_pinyin_flypy.schema.yaml
|
||||||
|
en_dicts/cn_en.dict.yaml
|
||||||
|
en_dicts/en.dict.yaml
|
||||||
|
en_dicts/en_ext.dict.yaml
|
||||||
|
liangfen.dict.yaml
|
||||||
|
liangfen.schema.yaml
|
||||||
|
melt_eng.dict.yaml
|
||||||
|
melt_eng.schema.yaml
|
||||||
|
opencc/emoji-map.txt
|
||||||
|
opencc/emoji.json
|
||||||
|
opencc/emoji.txt
|
||||||
|
opencc/others.txt
|
||||||
|
rime.lua
|
||||||
|
rime_ice.dict.yaml
|
||||||
|
rime_ice.schema.yaml
|
||||||
|
squirrel.custom.yaml
|
||||||
|
symbols_custom.yaml
|
||||||
|
weasel.custom.yaml
|
||||||
|
zh-hans-t-essay-bgw.gram
|
12
others/recipes/opencc.recipe.yaml
Normal file
12
others/recipes/opencc.recipe.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# encoding: utf-8
|
||||||
|
---
|
||||||
|
recipe:
|
||||||
|
Rx: others/recipes/opencc
|
||||||
|
args:
|
||||||
|
description: >-
|
||||||
|
opencc(Emoji)安装、更新
|
||||||
|
install_files: >-
|
||||||
|
opencc/emoji-map.txt
|
||||||
|
opencc/emoji.json
|
||||||
|
opencc/emoji.txt
|
||||||
|
opencc/others.txt
|
Loading…
x
Reference in New Issue
Block a user