Giter VIP home page Giter VIP logo

dictionanki's Introduction

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).

dictionanki's People

Contributors

seungwoochoe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.