Coder Social home page Coder Social logo

rdict's Introduction

Rdict

一个命令行词典工具。

Usage

>> rdict -h
USAGE:
    rdict [OPTIONS]

OPTIONS:
    -d, --dict <DICT>           Where do you want to query from? [default: youdao] [possible values:
                                youdao, bing]
    -h, --help                  Print help information
    -l, --list <LIST>           list query history
    -p, --phrase <PHRASE>...    What do you want to query?
    -v, --voice <VOICE>         query with voice, uk or 1 for uk, us or 2 for us [possible values:
                                us, uk, 1, 2]
    -V, --version               Print version information

usage.gif

目前支持功能:

目前只支持Linux系统。

  1. 查词
    rdict -p hello
    
    目前只支持从有道查询,Bing暂时不支持,以后可能支持本地、维基百科或者其他来源。
  2. 语音
    rdict hello -v
    
    可以指定英美发音
  3. 查看N条查询历史
    rdict -l 123
    
    默认显示5条历史

TODO

  1. 导出生词本到有道或者Anki
  2. 显示更多例句
  3. 更多的查询来源
  4. 跨平台

rdict's People

Contributors

yuuzao avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.