
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
oxford_learners_dictionaries
Advanced tools
Parser for Oxford Learners Dictionary.
It parses http://www.oxfordlearnersdictionaries.com/ and return the definition(s) of the word you're looking up.
Classification (verb, noun, adverb, etc) with its definition(s) and word of the day.
Definitions including example(s) and Recent Popular searches.
Including picture and pronunciation (American(NAmE) and British(BrE)).
Usage, e.g. when looking for 'car', it'll also provide information about 'having a car', 'driving a car', etc.
Please let me know :)
Add this line to your application's Gemfile:
# Add to your Gemfile
gem 'oxford_learners_dictionaries'
# or install manually
gem install oxford_learners_dictionaries
And then execute:
$ bundle
# Creates object
word = OxfordLearnersDictionaries::English.new("car")
# Goes to the dictionary and parse its data
word.look_up
word.definition
=> {
:definition_0 => "a road vehicle with an engine and four wheels that can carry a small number of passengers",
:definition_1 => "a separate section of a train",
:definition_2 => "a coach/car on a train of a particular type"
}
# Gets word of the day and short definition
word_of_the_day = OxfordLearnersDictionaries::WordOfTheDay.new
=> "pragmatic"
=> "solving problems in a practical…"
# Get the full definition
word_of_the_day.look_up
=> {:definition_0=>"solving problems in a practical and sensible way rather than by having fixed ideas or theories"}
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)FAQs
Unknown package
We found that oxford_learners_dictionaries demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.