Skip to content

Barthcbb/Python-Query-Oxford-API-for-Anki

Repository files navigation

  • 👋 Hi, I’m @Barthcbb
  • 👀 I’m interested in Language Learning, Fiction, and Film.
  • I'm an English philology student.
  • I'm not a programmer.
Update

I managed to build a MacOS Shortcut that does the same things below, maybe even better. It was definitely easier to build. You can find it here: Add shortcut

WHAT IS THIS?

I wrote these scripts because I couldn't find an Anki add-on that did ALL of the following:

  • define a batch of words automatically
  • collect their multiple meanings and examples separately (one word meaning & its example, one flashcard)
  • collect their pronunciation
  • format the resulting list so as to be compatible with the Anki import feature

WHY BOTHER?

  • I meet more new words than I have time to create new flashcards carefully
  • I prefer having a dictionary entry based card than none because I lacked the time and energy
  • I wanted to create flashcards that respected the minimum information principle & respected honomyms.
  • I needed one separate card for each meaning and its usage example.

WHAT NOW?

There are several improvements that I can only dream of, but don't have the skills or the time to apply. If you want to contribute, feel free. Some interesting things would be:

  • making it an actual add-on
  • pulling from Kindle’s vocab.db
  • pulling other relevant metadata attached to the meaning (such as register ‘formal/informal’, and context ‘medical/historical/scientific’)
  • unifying the script to pull from both the EN-US and EN-GB corpus
  • make it into an app/web app (I would happily purchase something like that)

That's it folks.

WHAT DO YOU NEED TO RUN THIS?

Honestly, I want to believe that you only need what I had:

  • Microsoft Visual Studio Code
  • Whatever package it asks you to install
  • An Oxford API Account and credentials Application ID & Application Keys
  • A considerable amount of patience to make up for any skill you lack, or information I left unclear because I don't even know how I pulled this off.

About

Query scripts using the Oxford API, intended to be used with Anki.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages