Convert pyim dictionary to fcitx dictionary.
将 pyim 词库转换成 fcitx4/fcitx5 词库
- Run
python pyim2fcitx.py my-personal.pyim > my-personal.org
- Run
createPYMB gbkpy.org my-personal.org
(createPYMB
is fromfcitx-tools
) - Copy
pyphrase.mb
to~/.config/fcitx/pinyin/
or do https://wiki.archlinux.org/index.php/Fcitx_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87) as instructed - Restart fcitx
You can also use my pyphrase.mb converted from pyim-greatdict, containing 3296385 words.
- Run
python pyim2fcitx.py -f 5 my-personal.pyim > my-personal.org
- Run
libime_pinyindict my-personal.org chaizi.dict
- Stop fcitx5
- Copy “chaizi.dict” to ”usr/share/fcitx5/pinyin”
- Start fcitx5
- 运行
python pyim2fcitx.py my-personal.pyim > my-personal.org
- 运行
createPYMB gbkpy.org my-personal.org
(createPYMB
来自于fcitx-tools
) - 复制
pyphrase.mb
到~/.config/fcitx/pinyin/
或参照 https://wiki.archlinux.org/index.php/Fcitx_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87) - 重启 fcitx
也可直接下载 我的 pyphrase.mb. 该词库的数据从 pyim-greatdict 转化过来. 包含 3296385 个词.
- 运行
python pyim2fcitx.py -f 5 my-personal.pyim > my-personal.org
- 运行
libime_pinyindict my-personal.org chaizi.dict
- 停止 fcitx5
- 拷贝 “chaizi.dict” 到 ”usr/share/fcitx5/pinyin”
- 启动 fcitx5