A CLI Dictionary Application, where you type a word and get its meaning from Oxford Dictionaries. Based on the Oxford Dictionaries API. Wordz lookup should give you meaning, pronunciation, sample sentances, synonyms and antonyms (if applicable).
To run/use this application, you need API Key and API_ID from Oxford Dictionaries which you can create for free. Follow the link here
You will need the following environment variables defining:
OXFORD_APPLICATION_ID="Application_ID"
OXFORD_APPLICATION_KEY="Application_Keys"
OXFORD_VOICE_ACTIVATE=1
Note: OXFORD_VOICE_ACTIVATE will pronunce the word, set the value to 1 in environment variable to activate it, 0 to disable the voice pronunciation.
- Run the following command to know the availabe options.
Install
make installTo Build
make buildTo Run and install the binary
make build-projectOther Options Availabe:
### Welcome
#
# __ __ _
# \ \ / / | |
# \ \ /\ / /__ _ __ __| |____
# \ \/ \/ / _ \| '__/ _` |_ /
# \ /\ / (_) | | | (_| |/ /
# \/ \/ \___/|_| \__,_/___|
#
#
### Installation
#
# $ make install
#
### Targets
Choose a command run in wordz:
build-project Build the CLI in PROJECT bin folder
build Build the CLI in Project Folder
clean Clean the Project
get Get Go Dependencies
install Install "go install GOFILES"
run Run the Project
start Start the application "bin/PROJECT"
stop Stop the application "bin/PROJECT"Once the binary is built, lets make it easy for us to use it. Create a aliases for the application.
Open zsh configuration file: sudo vim ~/.zshrc
Add this to the file: alias wz='wordz find'
Apply the changes: source ~/.zshrc or you can restart your terminal session.
~ » wz excellent
Please wait while we search for the meaning...
Word: excellent
Loading.. .. .. 🌏 ¯\\_(ツ)_/¯~ » wz excellent
Please wait while we search for the meaning...
Word: excellent
-->>>>> excellent Adjective
Notation: IPA Phonetic: ˈɛks(ə)l(ə)nt
Dialects: British English
Short Definitions: extremely good
Definitions: extremely good; outstanding
Example sentence:
- the lorry was in excellent condition
- their results are excellent
Etymologies:
- late Middle English (in the general sense ‘outstanding’ in either a good or bad way): from Old French, from Latin excellent-‘being pre-eminent’, from excellere (see excel). The current appreciatory sense dates from the early 17th century
-->>>>> excellent Interjection
Notation: IPA Phonetic: ˈɛks(ə)l(ə)nt
Dialects: British English
Short Definitions: used to indicate approval or pleasure
Definitions: used to indicate approval or pleasure
Example sentence:
- ‘What a lovely idea! Excellent!’

