Babelian

The Babelian is a dictionary of a Terminal.


Keywords
dictionary, python, terminal
License
MIT
Install
pip install Babelian==1.1

Documentation

Python Platform license

Babelian

You generally use a web-browser to search some words.
But, have you thought that there are too many steps for one word?.
The steps are

  • Run a web-browser.
  • Click some links until you get a page to search.
  • Type some words.

Here is a solution for you can search words easily.

Babelian is a dictionary on command-line.
You can search some words/phrases/examples without running WebBrowser.
This program will help Developers/Students/Teachers, or who learns 2nd languages.

Youtube : https://youtu.be/Za7eRZOowtw

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

  • = Python 2.7 (tested)

  • = Python 3.4 (tested)

Install

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

$ cd babelian

$ [sudo] python setup.py install

We recommend you install it on your Python virtual environment.

Uninstall

$ [sudo] pip uninstall babelian

All babelian modules will be removed on 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)