This script allows us to extract definitions of a word from the WordNik dictionary.
Definitions of the word with the parts-of-speech of the word specified can also be obtained.

Requirement:
Wordnik API key. This can be obtained by registering at Wordnik.com