From 792388ab9a4bf44b2705470d8825c14a81d9541d Mon Sep 17 00:00:00 2001 From: Asa Venton Date: Mon, 19 Oct 2020 13:19:07 +0100 Subject: Add readme --- readme.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..6f55029 --- /dev/null +++ b/readme.md @@ -0,0 +1,29 @@ +OED Query +============== + +About +----- + +Bash script for querying various info from Oxford English Dictionary (https://www.oed.com/) + +Usage +----- + +./oedquery.sh [flag] [word] + +Flags +-d define (default) - return first definition of each lexical category with an example sentence. +-et etymology - return etymology, if available, for given word. +-a audio - return first audio file for given word. +-t thesaurus - return synonyms for given word. +-wod word of the day - return defintion for Lexico's word of the day. + +This script designed to be used in IRC with a specific bot, but should +work fine from the command line using stdin or args (once that's done). + +Note: you must provide your own App ID and App Key for access to the OED API. These can be got for free from their website (https://developer.oxforddictionaries.com/) + +Sources +------- + +Oxford English Dictionary API - English Dictionary published by Oxford University -- cgit v1.2.3