Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/xion/wikilate
- Owner: Xion
- Created: 2012-01-27T22:44:36.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2017-06-24T11:03:48.000Z (over 7 years ago)
- Last Synced: 2024-11-14T11:14:45.040Z (2 months ago)
- Topics: haskell, translation, wikipedia
- Language: Haskell
- Homepage:
- Size: 24.4 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.markdown
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
fromSOURCE_LANG
(en
by default)
to one or moreDEST_LANG
s, (de
,fr
,es
andpl
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 installIf your
~/.local/bin
directory is in$PATH
, you should be able
to use thewikilate
command now.