Skip to content

Instantly share code, notes, and snippets.

@emckean
Created June 4, 2012 19:02
Show Gist options
  • Save emckean/2870194 to your computer and use it in GitHub Desktop.
Save emckean/2870194 to your computer and use it in GitHub Desktop.
%w(rubygems wordnik).each {|lib| require lib}
Wordnik.configure do |config|
config.api_key = 'YOUR_KEY_HERE'
end
result = Wordnik.words.get_frequency('judgement')
print result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment