config!: use recipe to config double_pinyin (#662)

BREAKING CHANGE: 中英混输词库由英文方案附属切换到单独的 table_translator

- 词库文件由 `cn_en*.dict.yaml` 变为 `cn_en*.txt`
- 双拼不再需要去 `melt_eng.dict.yaml` 更改引用词库
This commit is contained in:
mirtlecn
2024-02-04 20:49:51 +08:00
committed by GitHub
parent b96a716bdd
commit 0017a08e42
26 changed files with 6535 additions and 3352 deletions

View File

@@ -0,0 +1,24 @@
# encoding: utf-8
---
recipe:
Rx: others/recipes/config
args:
- schema=flypy
description: >-
Customize input schema to enable double_pinyin.
- flypy小鹤双拼
- double_pinyin自然码双拼
- mspy微软双拼
- sogou搜狗双拼
- abc智能 ABC 双拼)
- ziguang紫光双拼
patch_files:
radical_pinyin.custom.yaml:
- patch/+:
speller/algebra:
__include: radical_pinyin.schema.yaml:/algebra_${schema:-flypy}
melt_eng.custom.yaml:
- patch/+:
speller/algebra:
__include: melt_eng.schema.yaml:/algebra_${schema:-flypy}