BrontoGem
A thesaurus gem.
Installation (pending)
Add this line to your application’s Gemfile:
ruby
gem 'bronto-gem', '0.1.0'
`
And then execute:
sh
$ bundle
Or install it yourself as:
sh
$ gem install bronto-gem
Usage
```ruby require ‘bronto’
synonyms = Bronto::Thesaurus.new.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” ] } } ```
Contributing
- Fork it ( https://github.com/18F/bronto/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
License
Public Domain. See LICENSE.txt