Xion / wikilate

Wikipedia-based command line translator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wikilate

Translate phrases from command line using Wikipedia

Usage

wikilate PHRASE [-s SOURCE_LANG] [-d DEST_LANG[,DEST_LANG...]]

Translates given PHRASE from SOURCE_LANG (en by default) to one or more DEST_LANGs, (de, fr, es and pl by default), using titles of Wikipedia articles.

Example:

$ wikilate lentil -d de,pl,es
de: Linse (Botanik)
es: Lens culinaris
pl: Soczewica jadalna

Installation

You can use standard Stack:

$ git clone git://github.com/Xion/wikilate.git
$ cd wikilate
$ stack install

If your ~/.local/bin directory is in $PATH, you should be able to use the wikilate command now.

About

Wikipedia-based command line translator


Languages

Language:Haskell 100.0%