Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xion/wikilate

Wikipedia-based command line translator
https://github.com/xion/wikilate

haskell translation wikipedia

Last synced: 2 days ago
JSON representation

Wikipedia-based command line translator

Awesome Lists containing this project

README

        

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