lita-wordnik is a handler for Lita that adds dictionary functionality backed by Wordnik.
Add lita-wordnik to your Lita instance's Gemfile:
gem "lita-wordnik"
api_key
(String) - Your API key for Wordnik. Register for one at the Wordnik Developer page.
Lita.configure do |config|
config.handlers.wordnik.api_key = "abc123"
end
To get the definition for a word:
Lita: define WORD
To get synonyms for a word:
Lita: synonyms WORD
or
Lita: words like WORD
To get antonyms for a word:
Lita: antonyms WORD
or
Lita: words unlike WORD