Smartdict Core
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin Update populator script Jun 10, 2012
config Implement translator middleware May 29, 2012
features Smartdict.info API Jun 9, 2012
lib
plugins/hello_world/lib
spec Update LingoYandex driver Jul 15, 2012
.document
.gitignore
.rspec rand order for specs Jun 1, 2012
.rvmrc
.simplecov simplecov Mar 3, 2012
.travis.yml Smartdict.info API Jun 9, 2012
CHANGELOG.markdown update CHANGELOG Jun 10, 2012
GPL-LICENSE.txt refactor commands Feb 18, 2012
Gemfile Add LingvoYandex driver May 28, 2012
Gemfile.lock
Guardfile Update Guardfile May 31, 2012
README.markdown Update README/travis Apr 10, 2012
Rakefile Version command Jun 9, 2012
VERSION
smartdict-core.gemspec

README.markdown

smartdict-core Build Status

By Sergey Potapov

Core of Smartdict dictionary.

Installation

gem install smartdict

Usage

To get help just type:

smartdict --help

To get a help on specific command:

smartdict help <COMMAND>

Translate words:

To translate word hallo from German to Russian:

smartdict translate --from de --to ru hallo

List translated words:

If you want to take a look at words you've translated use list command. You can specify date range and languages to filter words and you can specify format for output.

To get more information see help:

smartdict translate --help

Example:

To see words translated today:

smartdict list

To save words translated since 13th of January 2012 from English to Russian in FictionBook format to words.fb2 file.

smartdict --since 2012-01-13 --from en --to ru --format fb2 > ./words.fb2

How to configure?

See file $HOME/.smartdict/configuration.yml.

NOTE: currently not all options listed there have an effect.

Contributing to smartdict

  • Make sure all tests pass.
  • Send me a patch.

Copyright

Copyright (c) 2012 Potapov Sergey. The software is distributed under GNU GeneralPublic License version 2. See GPL-LICENSE.txt file for more details.