A thesaurus gem.
Add this line to your application's Gemfile:
gem 'bronto-gem', '0.0.2'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bronto-gem
require 'bronto-gem'
synonyms = BrontoGem.lookup("fish") #=>
{
verb: {
syn: ["angle", "catch", "grab", "look for", "search", "seek", "take hold of"]
},
noun: {
syn: [
"aquatic vertebrate",
"food",
"individual",
"mortal",
"person",
"pisces",
"pisces the fishes",
"solid food",
"somebody",
"someone",
"soul"]
}
}
- Fork it ( https://github.com/adelevie/bronto-gem/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
See LICENSE.txt