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

如何将词库转换为 txt #45

Closed
wuhgit opened this issue Mar 19, 2024 · 0 comments
Closed

如何将词库转换为 txt #45

wuhgit opened this issue Mar 19, 2024 · 0 comments

Comments

@wuhgit
Copy link
Owner

wuhgit commented Mar 19, 2024

如果需要 txt 格式的词库,比如用于其它输入法,可以通过 Fcitx 的词库进行转换,但需要您使用 Linux 系统 (WSL也可以)

  • 下载 CustomPinyinDictionary_Fcitx_<版本号>.tar.gz 并解压,得到词库文件 CustomPinyinDictionary_Fcitx.dict
  • Linux 下,安装 libime
  • 在词库文件所在目录下使用命令 libime_pinyindict -d CustomPinyinDictionary_Fcitx.dict CustomPinyinDictionary_Fcitx.txt 进行转换

提示:

在使用 libime 进行转换的时候请注意软件版本,如果出现转换失败,多半是因为不是最新版本所导致。

最新的版本号请查阅 https://github.com/fcitx/libime/tags 或者 https://archlinux.org/packages/extra/x86_64/libime/

Repository owner locked and limited conversation to collaborators Mar 19, 2024
@wuhgit wuhgit pinned this issue Mar 19, 2024
@wuhgit wuhgit closed this as completed Mar 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant