Code Monkey home page Code Monkey logo

lookup's Introduction

lookup

    ___________________   ___________________
.-/|  01   ~~**~~      \ /      ~~**~~   02  |\-.
||||                    :                    ||||
||||   $ lookup         :   Difficult        ||||
||||                    :   circumstances    ||||
||||                    :   serve as a       ||||
||||   Nothing seek,    :   textbook of      ||||
||||   nothing find.    :   life for people. ||||
||||                    :                    ||||
||||                    :           @fengsp  ||||
||||___________________ : ___________________||||
||/====================\:/====================\||
`---------------------~___~--------------------''

english-chinese dictionary via the command line

Do you read english documentation a lot? Do you find yourself constantly opening a webpage or switching to dictionary application for understanding an english word?

Suppose you want to know what does one word mean. Why open your browser and search when you can simply stay in the console and ask lookup:

$ lookup
usage: lookup [WORD]

$ lookup hello
iCIBA: hello
------------
你好; 问好; 喂; 呼叫

$ lookup "execuse me"
iCIBA: execuse me
-----------------
借口; 原谅; 挡箭牌; 理由

$ lookup 计算机
iCIBA: 计算机
-------------
computer; computers; computer science; calculating machine

Installation

$ pip install lookup
or
# Use Mac OS X brew
$ brew install https://raw.github.com/fengsp/lookup/master/lookup.rb
or
# Download the zipball and install it
$ wget https://github.com/fengsp/lookup/archive/master.zip
$ python setup.py install

Note

There is known issue that homebrew might run into error. Try use the following command to fix it:

$ sudo chmod -R go+w /Library/Python/2.7/site-packages/

Better

If you feel anything wrong, feedbacks or pull requests are welcomed.

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.