https://github.com/krgn/leo
query dict.leo.org from the shell, or your haskell program
https://github.com/krgn/leo
Last synced: 3 months ago
JSON representation
query dict.leo.org from the shell, or your haskell program
- Host: GitHub
- URL: https://github.com/krgn/leo
- Owner: krgn
- License: bsd-3-clause
- Created: 2014-02-24T22:05:06.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-11T15:48:34.000Z (over 12 years ago)
- Last Synced: 2025-06-13T03:47:22.298Z (about 1 year ago)
- Language: Haskell
- Homepage:
- Size: 232 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Leo
===
query [dict.leo.org](http://dict.leo.org) from your program/shell
Description
-----------
`leo` is a command-line program and library written in the
[haskell](http://www.haskell.org/haskellwiki/Haskell)
programming language for querying the [leo](http://dict.leo.org) 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.
Installation
------------
```
cabal configure
cabal install
```
Usage
-----
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
```
Todo:
----
* Implement JSON output format
Disclaimer
----------
`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...