https://github.com/maxmacstn/oxford2anki
Simple Python script to convert list of vocabulary to anki dictionary deck, based on Oxford dictionaries
https://github.com/maxmacstn/oxford2anki
Last synced: 5 months ago
JSON representation
Simple Python script to convert list of vocabulary to anki dictionary deck, based on Oxford dictionaries
- Host: GitHub
- URL: https://github.com/maxmacstn/oxford2anki
- Owner: maxmacstn
- Created: 2020-05-17T09:16:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-17T10:16:36.000Z (about 6 years ago)
- Last Synced: 2025-04-06T13:47:11.861Z (over 1 year ago)
- Language: HTML
- Size: 1.31 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Oxford2Anki

A simple Python script to convert lists of vocabularies to AnkiWeb cards. Words definitions are query from Oxford dictionaries API.
## usage
1. Clone or download this repository.
2. Obtain `APP KEY` and `API KEY` from [Oxford Dictionaries API website](https://developer.oxforddictionaries.com/).
Note: Free tier can query 1,000 request/month
3. Modify `credentials.py` and put your `APP KEY` and `API KEY` in it.
4. Prepare words/vocabularies files. Each line must contains only one word. Non-alphabet such as spaces, dashes, numbers are acceptable. This script will strip it out anyway.
5. Run the script, it requires two options which is input file name and output file name respectively.
```
oxford2anki.py -i -o
```
6. Import output file to Anki, match it to your word and meaning field and voilà!
If you still unsure how it works, hopefully [this video](https://www.youtube.com/watch?v=-yxgUPfVe3Q) will help you.
## Comparisons to Mac OS Dictionary
Cards that are generated by this script will include every definition from the homograph of the word, lexical catagory, sense, subsense and example.
