A command line dictionary under Linux __linux

Source: Internet
Author: User
Tags git clone
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.