Alfred-ldoce-anki
Alfred 3 workflow to quick look of Longman dictionary and creating Anki cards.
The search, ldoce <query>
, uses Pearson's API to hunt for headwords and senses that match headeword/<query>
. 25 results are retrieved by default for headword search.
This workflow searches from Longman Dictionary of Contemporary English (5th edition)[ldoce5 - API]. And creates Anki cards by your choices (if an article of the current word in this API not existing audio examples the Alfred will create audio examples from Oddcast. [uses random voices: Julie, Kate, James]
$ npm install --global alfred-ldoce
or as ldoce-Express.alfredworkflow
Requires: Node.js 7.6+, Alfred Powerpack, Anki intelligent flash cards, AnkiConnect plugin for Anki.
ldoce < query > — Search for entries with the given headword
ldoces
< query > — Search for previous matching ldoce < query >
< ldl > (last query or last query for phrasal verb) go to the definition of the word of the last query
If you notice this sign 🔦 it means the current deffinition exist additional words for search. Hit ⌃ + ↵ (SEE ALSO) to show and search by this words.
<ldoce !> — Choose, create or delete deck for Anki
Note: OS X's "delete word" shortcut ( ⌥ + ⌫ ) is very handy for backing out of a current search result.
: Regular
: Gramatical
: Phrasal verbs
: Collocation
: Run-on sentences
language
: Choose your language (it use google-translate-api).path_to_anki-media
: /Library/Application Support/Anki2/< Profile name of Anki >/collection.media.note_type
: "Ldoce-Express" - by default don't need to change.MIT © bikeNik