Git Product home page Git Product logo

Cli-dictionary

A lightweight and fast dictionary from command line.

stars tags Language grade: Python


Languages

Language Abbreviation
English en
Portuguese_BR pt
Hindi hi
Spanish es
French fr
Japanese ja
Russian ru
German de
Italian it
Korean ko
Chinese (simplified) zh
Arabic ar
Turkish tr

Features

Setting default language

$ cli-dictionary --lang-default <lang>

after that, you don't need to type the language to search a word, example: $ cli-dictionary <word>

note: in all the examples below, the <lang> can be omitted.

Synonyms

$ cli-dictionary <word> <lang> -s or $ cli-dictionary <word> <lang> --synonyms

Examples

$ cli-dictionary <word> <lang> -e or $ cli-dictionary <word> <lang> --examples

Anki - Flashcards

  • card-types: basic, basic-reverse and cloze.
  • if your profile name have spaces, like: "User name", you need to use quote marks.

note: you don't need to create the deck and subdecks, the app does it itself.

Creating card

$ cli-dictionary <word> <lang> --card <type>

Changing profile before creating the card

$ cli-dictionary <word> <lang> --profile "User name" --card <type>

⚡ Installing

try versions in devmode from:

or simply: $ sudo snap install cli-dictionary

Using Anki Features

Just follow the steps in the documentation (is pretty simple ;D)

note: while you're using the dictionary to create cards, the anki app must be open, otherwise some weird errors will appear :P

🚀 Running

command: $ cli-dictionary <word> <lang>

☕ Contributing

Dependencies

Special Thanks

  • Rafael Ferrari whom made the logo | mailto, number: +55 14 988045194

cli-dictionary's Projects

freedictionaryapi icon freedictionaryapi

There was no free Dictionary API on the web when I wanted one for my friend, so I created one.

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.