Coder Social home page Coder Social logo

babelian's Introduction

Python Platform license

Babelian

Language learners typically use a web-browser to look for the definition of words.
But don't you think that the process of looking up is so pricky?!
For example, the steps are,

  • Open a web-browser.
  • Click some links until you get a online dictionary
  • Type some words, then look for words.

This is a solution for looking up words quickly and easily!

Babelian is a dictionary on command-line.
You can look up words/phrases/examples without web-browsers.
This will help Developers/Students/Teachers, or 2nd languages learners.

Youtube : https://youtu.be/Za7eRZOowtw
Github : https://github.com/memnoth/babelian

Index

Features

  • Search words.
  • Search examples.
    • Examples are very important when you learn 2nd languages.
  • Support ISO-639-3 codes.
  • Support unicode.
  • Support systems.
    • Linux (tested)
    • Mac OS X

Python

  • Great than or equal Python 2.7 (tested)
  • Great than or equal Python 3.4 (tested)

Install

$ git clone https://github.com/memnoth/babelian.git

$ cd babelian

$ [sudo] python setup.py install

Recommend to install it in Python Virtual Environment.

Uninstall

$ [sudo] pip uninstall babelian

All babelian modules will be removed from your system.

Quick-Guide

Usage: wrds [-h] [-s LANG] [-d LANG] [-n NUM] [-ws] [-os] word [word ...]

args default description
-h, --help None Show help message and exit.
word None It must be at least one word.
-s LANG eng ISO-639-3 code for source.
-d LANG eng ISO-639-3 code for destination.
-n NUM 3 A number for print limitation.
-ws False Search with examples.
-os False Search only examples.

-s LANG

$ wrds -s kor -n 1 도서관

  - Phrase  : library
  - Meaning : institution which holds books etc.

$

-d LANG

$ wrds -d fra library

  - Phrase  : bibliothèque
  - Meaning : collection of books
  - Meaning : institution which holds books etc.

  ...

$

-n NUM

$ wrds -d kor -n 2 library

  - Phrase  : 도서관
  - Meaning : institution which holds books etc.
  - Meaning : Place where books and other literary materials are kept.

  - Phrase  : 라이브러리
  - Meaning : collection of subprograms
  - Meaning : A location on a SharePoint site where a collection of files
              and their associated metadata are stored.

$

-ws

$ wrds -d ara -n 1 -ws library

  - Phrase  : مكتبة
  - Meaning : institution which holds books etc.

 * Examples

  - Native  : The Satya N. Nandan Library manages the Authority's
              specialized collection of reference and research materials
              focusing on matters relating to the law of the sea, ocean
              affairs and deep seabed mining
  - Second  : تدير مكتبة ساتيا ن. ناندان مجموعة مراجع ومواد بحثية
              متخصصة تملكها السلطة وتركز على المسائل المتعلقة بقانون
              البحار وشؤون المحيطات والتعدين في قاع البحار العميقة

$

-os

$ wrds -s kor -d tur -n 1 -os 도서관
 * Examples

  - Native  : 나는 도서관에서만 공부해요.
  - Second  : Yalnızca kütüphanede çalışırım.

$

Advanced

Search sentences.

$ wrds -d tur -ws -n 1 please to meet you

 * Not found phrases.

 * Examples

  - Native  : Pleased to meet you.- Pleased to meet you
  - Second  : Tanıştığımıza sevindim- Tanıştığımıza
              sevindim

$

from Finnish to Russian.

$ wrds -s fin -d rus -n 1 kirjasto 

  - Phrase  : библиотека
  - Meaning : Место, где хранятся книги и другие написанные материалы.

$

from Turkish to Arabic.

$ wrds -s tur -d ara -n 1 kütüphane 

  - Phrase  : مكتبة

$

from Arabic to Deutsch.

$ wrds -s ara -d deu -n 1 مكتبة  

  - Phrase  : Bibliothek

$

API

Glosbe provides the API.
Thanks to Glosbe!.

License

The MIT License (MIT)

Author

Yi-Soo Thomas An

babelian's People

Contributors

cryptosan avatar lsahn-gh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.