redguardtoo / pyim2fcitx

Conver pyim dictionary to fcitx dictionary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyim2fcitx

Convert pyim dictionary to fcitx dictionary.

将 pyim 词库转换成 fcitx4/fcitx5 词库

Usage

Fcitx4

You can also use my pyphrase.mb converted from pyim-greatdict, containing 3296385 words.

Fcitx5

  • 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

使用方法

Fcitx4

也可直接下载 我的 pyphrase.mb. 该词库的数据从 pyim-greatdict 转化过来. 包含 3296385 个词.

Fcitx5

  • 运行 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

About

Conver pyim dictionary to fcitx dictionary


Languages

Language:Python 100.0%