Skip to content

Create English Anki flashcards from macOS system Oxford Dictionary

License

Notifications You must be signed in to change notification settings

chan158/dictionanki

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dictionanki

⚡️ Create your English Anki flashcards from macOS system Oxford Dictionary


Features

  • No internet connection is needed.
  • Replace words from example sentences with underscores (______).
  • Italicize and dim example sentences and labels ([with object], archaic, mainly British, North American, Biology, ...).
  • Optionally prune extra information like comparative and superlative form information, plural form information, regular verb conjugation forms information, ORIGIN part, and more specific definitions that are starting with "•".
  • Configure as you'd like to. Check out the options in the first few lines of main.js.

How to use

After the setup, right click on a word that you want to put into Anki and then select Dictionanki. (You can also assign a shortcut for Dictionanki in macOS System Settings.)


Then a processed text will be automatically written on an opened (or new) text file. You can add more word-definition sets. To prevent TextEdit popping up every time, you can minimize (⌘M) the TextEdit window.


Save the text file and import it into Anki. This is what cards will look like after being imported.

Setup

Download Dictionanki.workflow.zip from Releases and install the workflow by double clicking it.

And voilà, you're done!

Optionally, you can configure options by opening the workflow located in "~/Library (hidden folder, press ⌘+⇧+. to reveal)/Services" and modifying the JavaScript inside. Check out the first few lines of main.js to see the available options.

If you'd like to create a Quick Action by yourself, you can reference the Quick Action example below.


Limitations

  • Cannot hide most of past and past participle forms of irregular verbs.
  • Cannot be used for open compound words like ice cream.
  • Cannot get second+ definitions of homonym words like bat2.
  • Cannot be used for phrases and phrasal verbs.
  • Formatting is not perfect in a few cases.

Quick Action example

Automator - new Quick Action

Save

Then assign a shortcut to this Quick Action (.workflow).

About

Create English Anki flashcards from macOS system Oxford Dictionary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%