9 4
Contact Author Sign in to rate

Oxford Dictionaries

<10kB. Updated 2020-01-01. Only supports Anki 2.1.x.
The author has shared 35 other item(s).

Description

Add Tools - Import from Oxford Dictionaries option to import words separated by a newline using Oxford Dictionaries API. 2020-01-01 Updated to v2 API 2020-01-08 The provided API key might not work for some time as it's limited to 1000 requests per month and it's just been reached - "Your application is above 100% limit utilization of Hits per month: 1000/1000." Please create your own API key if the provided API key doesn't work - https://developer.oxforddictionaries.com/ - then Tools - Add-ons - Oxford Dictionaries - View Files - open __init__.py in any text editor, replace {'app_id': 'cb111fc2', 'app_key': 'a3c542f1a99698f8ac642be309b31919'} with your own, save it and restart Anki. The add-on is not maintained and no longer working with the latest Anki version. Nickolay Nonard <kelciour@gmail.com>

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:

1515522458

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author

Reviews

on 1600876600
I keep getting this error:
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.33 (3f403040) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-09-23 16:08:50

Caught exception:
Traceback (most recent call last):
File "C:\Users\HP Omen\AppData\Roaming\Anki2\addons21\1515522458\__init__.py", line 151, in finishProgress
model = self.create_default_note_type(default_fields, default_model)
File "C:\Users\HP Omen\AppData\Roaming\Anki2\addons21\1515522458\__init__.py", line 132, in create_default_note_type
model['css'] = models.defaultModel['css']
AttributeError: module 'anki.models' has no attribute 'defaultModel'
Comment from author
Thank you for reporting the error but it's unlikely will be fixed anytime soon. I added a notice that the add-on is not maintained and doesn't work with the latest Anki version.
on 1598512537
I have successfully updated the file with my own API(app_id + app_key) but it is still not working. Anki Version 2.1.31 (13476503)
I really need this add-on, please fix the problem soon!!
Comment from author
I'm sorry, but it's unlikely will be updated anytime soon. Maybe later, if I figure out a way to use the data from Oxford Advanced Learner's Dictionary 10th edition app for Android.
on 1596438302
Doesn't fill in the pronunciation field for some reason. Works fine otherwise. Many thanks.
on 1594919818
I'm sure it is an awesome add-on but, when I tried it, it imported the entries properly: the cards show multiple fields, BUT when I start studying the first two fields (word and part of speech) only appear. Is there a solution?
on 1589041512
Works great, though it suddenly crashed amid a mass file importing and the API stopped working so I guess I have to ask Oxford Dic for a new one. I'm a newbie in all this, would you mind telling me what to write when Oxford asks me "what's my business name" and to "provide details of my application"?? Thanks.
on 1588482539
This is excellent, thanks to it I was able to create a lot of flashcards really quickly. Is there a way to tweak the code so that all the definitions of a word go on the same note?

@Last comment: I had the exact same problem. You have to go to the Oxford Dictionaries' website, ask for a new API key, and then edit the addon file accordingly
Comment from author before post was edited
Maybe something like this gist - https://gist.github.com/kelciour/222f1c42763b51e2582bb29263f0f503
on 1588061724
it doesn't work.
cannot make flashcard or notetypes.
for example, i want to add this word"insect", system respond:
Traceback (most recent call last):
File "C:\Users\TomNBI\AppData\Roaming\Anki2\addons21\1515522458\__init__.py", line 52, in get_definitions
r.raise_for_status()
File "lib\site-packages\requests\models.py", line 940, in raise_for_status
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://od-api.oxforddictionaries.com/api/v2/entries/en/insect.
on 1586402988
Hi, thank you for sharing!
But I wonder how I could use this add-on? I'm newbie to Anki, really appreciate for your help!
Comment from author
After installing the add-on, restart Anki, then click Tools - Import from Oxford Dictionaries and type a few words separated by a newline.
on 1585458551
Thanks
on 1578061863
Haven't tested it yet, but I think some documentation on ankiweb would be useful
Comment from author
Thank you but there's nothing much else to say. There're no settings. It's just a simple window with a list of words separated by a newline. The add-on will create a new note for every definition and put it in the "Oxford Dictionaries" deck. That's probably all there's to it.

It's more like a first working prototype. It was supposed to be made on a PWYW basis but it never happened and I pretty much abandoned the add-on.

I'm more interested in the addon for LDOCE, but it's been more than a year since I did something about it, but I hope it'll be done sooner than later.

As an alternative, maybe Fast Word Query can be of any help - https://ankiweb.net/shared/info/1807206748
on 1577995635
This is an outstanding plugin that makes generating quality vocabulary cards a snap. I initially had some issues with it not looking up words properly. I contacted the author, and within 24h they got back to me having fixed it. My experience so far with this plugin has been superlative.
on 1553940238
Quite useful. But would be great if there was a way to use The Oxford Advanced Learner’s Dictionary (OALD) and split a headword into notes - each sentence into one note. For example

https://www.oxfordlearnersdictionaries.com/definition/english/accident

This way, with the help of google translator, creating a database for English learners could take let's say a few hours (counting with manual corrections) instead of days.
on 1553867398
great add-on. great add-on author. Thanks for sharing.

Update: Originally I reported a minor bug here. The author fixed it and upload a new version in less than a day!
Comment from author
Thank for the update! Please update the add-on again. I did a quick fix and didn't notice that Pronunciation is always empty now. It's fixed. The audio isn't downloaded but it can be fixed with the Localize Media add-on - https://ankiweb.net/shared/info/1293255374

------------------------------------------------------------

Thanks for the feedback! I've updated the add-on and the errors should be fixed by now.

The add-on is just an example of using Oxford Dictionaries API. It was supposed to be made on commission and maybe improved a little bit after I receive some feedback, but it looks like it won't happen and the add-on is pretty much abandoned as it's no use to me. Maybe something will change in a couple of months when I may complete most of my unfinished projects and Oxford Dictionaries API v2 will be released ("Oxford Dictionaries API v2 will be released Tuesday 16 April 2019. ... We will shut down the API v1 on Sunday 30 June 2019.").