A dictionary without a word
Without a dictionary, concise and elegant Youdao dictionary command line version. Support offline query and online query English/Chinese features. Python writing.
Welcome to my GitHub to send issue or pull request.
Https://github.com/ChestnutHeng/Wudao-dict
English and Chinese (Collins):
English:
Functional Characteristics 20w Thesaurus + 10w English-Chinese thesaurus/English Query function phrase query function (direct input WD in order to) online query function (get from Youdao dictionary) installation instructions Linux
Installation environment: Need Python3 and BS4 (for online search)
PIP3 Install BS4
Run
$ git clone https://github.com/ChestnutHeng/Wudao-dict/
$ CD./wudao-dict/wudao-dict
$ sudo sh setup.sh
See the presence of the setup finished! indicates the installation was successful. If this happens because the mobile installation file is not available, simply run the script again.
unpack ./wudao-dict/wudao-dict/dict/dict.zip is used under./wudao-dict/wudao-dict/dict/. Windows
Because the encoding problem is temporarily not available. Instructions for use
Run wd-h View usage instructions.
$ wd-h
usage:wd [OPTION] ... [WORD]
Youdao is Wudao, a powerful dict.
-K,--kill kill the server process
-H,--help display this help
and exit-S,--short-desc show Descri Ption without the sentence
-O,--online-search search Word Online
Search words can be directly used in the WD word search Chinese-English dictionary, or WD Word search English-Chinese dictionary (can be automatically detected).
parameter Description
Use method: WD [OPTION] ... [WORD]
-K Kill dictionary Server
process -s only print short word introduction-
H view Help-
o online query