linux下的命令列詞典__linux

來源:互聯網
上載者:User
無道詞典

無道詞典,簡潔優雅的有道詞典命令列版本。支援離線查詢和線上查詢英/漢的功能。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                            線上查詢
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.