https://github.com/xion/wikilate
Wikipedia-based command line translator
https://github.com/xion/wikilate
haskell translation wikipedia
Last synced: 2 months 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 (about 14 years ago)
- Default Branch: master
- Last Pushed: 2017-06-24T11:03:48.000Z (over 8 years ago)
- Last Synced: 2025-01-14T04:12:08.171Z (about 1 year 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 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.