query dict.leo.org from your program/shell
leo
is a command-line program and library written in the
haskell
programming language for querying the leo translation
database. Its a pet project, intented to help me get into haskell
, the most
beautiful programming language I know of as of the date of this writing. I
might make your life easier, or not. It certainly made mine fun for a few days.
cabal configure
cabal install
The command line application specifies a few options. Find out about them using
the --help
switch.
leo --help
leo -l en -n 10 kettle
Valid languages are:
en - English
fr - French
sp - Spanish
it - Italian
ch - Chinese
ru - Russian
pt - Portugese
pl - Polish
- Implement JSON output format
leo
is basically a web scraper, so be prepared that it might break while I'm
on holiday. Drop me an email if that should happen and I don't notice it.
Otherwise, you know what to do...