Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求教个性化设置melt_eng设置引入词典的问题,谢谢 #422

Closed
ernestyao opened this issue Jul 30, 2023 · 2 comments
Closed

求教个性化设置melt_eng设置引入词典的问题,谢谢 #422

ernestyao opened this issue Jul 30, 2023 · 2 comments

Comments

@ernestyao
Copy link

#133 中提到默认启用的中英混输词库是全拼的,需要在 melt_eng.dict.yaml 中修改为对应的双拼的,请问是只能直接修改 melt_eng.dict.yaml 吗?还是可以在double_pinyin_flypy.custom.yaml里设置?如果可以的话,在custom里怎么写?

因为我为了省事,一般是一条指令全量更新的,如果改了melt_eng,更新的时候还会被改回来。

@iDvel
Copy link
Owner

iDvel commented Jul 30, 2023

方法一、
刚调整了英文方案的引入方式,方便打补丁。
#133 刚更新了补丁示例,你看看。

方法二、
可以在 git pull 之后再加上 sed 命令来替换,ChatGPT 生成:

sed -i '' 's/  - en_dicts\/cn_en/  # - en_dicts\/cn_en/g' /Users/dvel/Library/Rime/melt_eng.dict.yaml
sed -i '' 's/# - en_dicts\/cn_en_double_pinyin_flypy/- en_dicts\/cn_en_double_pinyin_flypy/g' /Users/dvel/Library/Rime/melt_eng.dict.yaml

方法三、
不全量更新,可以用 plum 只更新词库。

@ernestyao
Copy link
Author

感谢,用方法一解决了问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants