無道詞典
無道詞典,簡潔優雅的有道詞典命令列版本。支援離線查詢和線上查詢英/漢的功能。Python編寫。
歡迎大家來我github上發issue或者pull request。
https://github.com/ChestnutHeng/Wudao-dict
英漢(柯林斯):
漢英:
功能特性 20w英文詞庫 + 10w漢英詞庫 英漢/漢英查詢功能 片語查詢功能(直接輸入wd in order to) 線上查詢功能(從有道詞典擷取) 安裝說明 Linux
安裝環境: 需要python3和bs4 (線上搜尋用)
pip3 install bs4
運行
$ git clone https://github.com/ChestnutHeng/Wudao-dict/$ cd ./wudao-dict/wudao-dict$ sudo sh setup.sh
看到出現Setup Finished!表明安裝成功。如果發生由於移動安裝檔案不能使用的情況,只需再次運行該指令碼即可。
解壓./wudao-dict/wudao-dict/dict/dict.zip在./wudao-dict/wudao-dict/dict/下開始使用。 Windows
由於編碼問題暫不能使用。 使用說明
運行wd -h查看使用說明。
$ wd -hUsage: wd [OPTION]... [WORD]Youdao is wudao, An powerful dict.-k, --kill kill the server process-h, --help display this help and exit-s, --short-desc show description without the sentence-o, --online-search search word online
查詞時可以直接使用wd 詞語查漢英詞典,或wd word查英漢詞典(可以自動檢測)。
參數說明
使用方法: wd [OPTION]... [WORD]-k 殺死詞典伺服器處理序-s 只列印簡短的單詞介紹-h 查看協助-o 線上查詢