Skip to content

blackteahamburger/fcitx5-pinyin-sougou-baidu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sougou & Baidu Pinyin dictionary for Fcitx5 and RIME.

Raw Sougou & Baidu pinyin dictionary are automatically updated and released monthly by Github Action with DictSpider.py (modified from Sougou_dict_spider).

Dictionaries are also automatically built and released monthly for fcitx5 and rime by Github Action.

Makefile is modified from fcitx5-pinyin-zhwiki.

Warning: Since the websites of Sougou and Baidu dictionaries may change at any time, making the spider invalid, please check whether some downloaded dictionaries are missing (a notable feature is the file size difference from previous releases).

Installation

Gentoo

Available in gentoo-zh as app-dicts/fcitx-pinyin-sougou-baidu ebuild.

Pre-built

fcitx5

Download latest version of sougou.dict/baidu.dict from release and copy into ~/.local/share/fcitx5/pinyin/dictionaries/ (create the folder if it does not exist).

rime

Download latest version of sougou.dict.yaml/baidu.dict.yaml from release and copy into ~/.local/share/fcitx5/rime/ for fcitx5-rime or ~/.config/ibus/rime/ for ibus-rime (create the folder if it does not exist).

Manual Build

You need to download Sougou/Baidu dictionaries first with DictSpider.py or from release and make sure the dictionaries are put in sougou_dict/baidu_dict directory.

Build requirement: >=imewlconverter-3.1.1 (make sure ImeWlConverterCmd is added to PATH)

fcitx5

Extra build requirement: libime

$ make build_fcitx
# make install_fcitx

rime

$ make build_rime
# make install_rime

License

License: Unlicense

About

Sougou & Baidu Pinyin dictionary for Fcitx5 and RIME

Resources

License

Stars

Watchers

Forks

Packages

No packages published