Skip to main content

Query Youdao Dictionary in Command Line

Project description

有道词典命令行查询工具

Install

$ pip install youdao-dict

Usages

$ youdao hello
                       _                       _ _      _
 _   _  ___  _   _  __| | __ _  ___         __| (_) ___| |_
| | | |/ _ \| | | |/ _` |/ _` |/ _ \ _____ / _` | |/ __| __|
| |_| | (_) | |_| | (_| | (_| | (_) |_____| (_| | | (__| |_
 \__, |\___/ \__,_|\__,_|\__,_|\___/       \__,_|_|\___|\__|
 |___/

=================================================
hello
=================================================
有道翻译:
int. 喂;哈罗
n. 表示问候, 惊奇或唤起注意时的用语
n. (Hello)人名;()埃洛
网络释义:
你好
您好
哈啰

=================================================
$ youdao hello world
$ youdao --shell

具体参数:

usage: youdao [-h] [--shell] [words [words ...]]

Youdao Dictionary in Command Line

optional arguments:
  -h, --help   show this help message and exit

Interactive Shell:
  --shell, -s

Pass Words as Arguments:
  words

DevLog

  • 2020-11-10 19:45:37 +0800: 添加不同后端(say, vlc, pyttsx3)的英文发音功能
  • 2020-11-10 16:01:17 +0800: 根据Edit Distance和Probability添加了拼写相似词推荐(参考)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for youdao-dict, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size youdao_dict-1.0.3-py3-none-any.whl (2.4 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size youdao-dict-1.0.3.tar.gz (2.4 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page