1.Download the repo. 2.Run npm install. 3.Follow below steps
Command Line Dictionary Tool
command line dictionary tool using Oxford Dictionaries (https://developer.oxforddictionaries.com/documentation ) api.
This has to be programmed in NodeJS.
Descrption: The command line tool should have following functions - The output should be nicely formatted on console, and show all relevant information.
-
Word Definitions :
Display definitions of a word. ./dict def -
Word Synonyms Display synonyms of a word. ./dict syn
-
Word Antonyms Display antonyms of a word ./dic ant
-
Word Examples Display examples of a word ./dict ex
-
Word Full Dict Display all above details for a word ./dict or ./dict dict
-
Word of the Day Full Dict Display all above details of word of the day ./dict
-
Word Game ./dict play The program should display a definition, synonym, or antonym And ask the user to enter the word
If correct word is entered, program should tell that the word is correct
- Other(not displayed) Synonyms of the word should be accepted as correct answer.
If incorrect word is entered, program should ask for
-
- try again Lets user enter word again
-
- hint Display a hint, and let user enter word again Hint can be Display the word randomly jumbled (cat -> atc) OR Display another definition of the word OR Display another antonym of the word OR Display another synonym of the word
-
- Other(not displayed) Synonyms of the word should be accepted as correct answer.
If incorrect word is entered, program should ask for