Add-on that enables you to create cards from english dictionary

Video representing the usage of this api:

At first you need to get id and key from oxford dictionary

I can’t give you my own id and key because every key has a limited number of requests (get prototype)

To use it go to tools and you should see “add-on english api”
You will see a window where you can paste your id and key.
Below you can see 2 areas where you can type and a couple of buttons.

Below the area titles “create cards” you have three buttons.
if you want to create cards that will contain exercises like “word formation” in some exams. you have to write a line which contains 2 words - the first word is an answer and the second one - a question
so it should look like this:
forgo go
If you type this and click “all meanins” it will create cards in a folder which is located in add-on. To find this folder you go tool → add-ons → view files. There should be a folder with my add-on. Go to guy folder and there will be a “file.txt” - it contains cards. A card has 7 fields.

If you want to create cards with phrasals just type a verb like
go

then click button “phrasals” and all phrasal verbs with go will be created (like go off, go about etc)

you can create “abcd” question by typing eg:
mislead / misdirect / misinform
and click button “abcd”

A window “word definition” will give you all definitions of a word, for example if you type
buy
and click button
this is what you will get

1 buy
obtain in exchange for payment
əbˈteɪn ɪn ɪksˈʧeɪnʤ fər ˈpeɪmənt
he bought me a new dress
hi bɔt mi ə nu drɛs

2 buy
obtain in exchange for payment
əbˈteɪn ɪn ɪksˈʧeɪnʤ fər ˈpeɪmənt
we had to find some money to buy a house
wi hæd tɪ faɪnd səm ˈməni tɪ baɪ ə haʊs

3 buy
procure the loyalty and support of (someone) by bribery
proʊˈkjʊr ðə ˈlɔɪəlti ənd səˈpɔrt əv (ˈsəmˌwən) baɪ ˈbraɪbəri
here was a man who could not be bought
hir wɑz ə mæn hu kʊd nɑt bi bɔt

4 buy
be a means of obtaining (something) through exchange or payment
bi ə minz əv əbˈteɪnɪŋ (ˈsəmθɪŋ) θru ɪksˈʧeɪnʤ ər ˈpeɪmənt
money can’t buy happiness
ˈməni kænt baɪ ˈhæpinəs

5 buy
get by sacrifice or great effort
gɪt baɪ ˈsækrəˌfaɪs ər greɪt ˈɛfərt
greatness is dearly bought
ˈgreɪtnəs ɪz ˈdɪrli bɔt

6 buy
accept the truth of
əkˈsɛpt ðə truθ əv
I am not prepared to buy the claim that the ends justify the means
aɪ æm nɑt priˈpɛrd tɪ baɪ ðə kleɪm ðət ðə ɛndz ˈʤəstəˌfaɪ ðə minz

To get the definitions of a phrasal verb type like that:
set_about

1 set_about
start doing something with vigor or determination
stɑrt duɪŋ ˈsəmθɪŋ wɪθ ˈvɪgər ər dɪˌtərməˈneɪʃən
it would be far better to admit the problem openly and set about tackling it
ɪt wʊd bi fɑr ˈbɛtər tɪ ədˈmɪt ðə ˈprɑbləm ˈoʊpənli ənd sɛt əˈbaʊt ˈtækəlɪŋ ɪt

2 set_about
attack someone
əˈtæk ˈsəmˌwən
he set about me with a strap
hi sɛt əˈbaʊt mi wɪθ ə stræp

An underscore is necessary!

Looks nice. Could you put a link to the AnkiWeb page of the add-on here?

https://ankiweb.net/shared/info/657359787

This gave me an error because it uses a hard-coded note type name (“word formation”) which I don’t have. I suggest making the note type programmatically (maybe on first launch) if it’s essential to the add-on working properly, or providing instructions about how to obtain it.

Thank you for an answer. I’ll see about making it in code and for the time being i’ll write how the note should look like

For the time being:
word formation type should have these fields:
obraz

and cards should look like this:
FRONT TEMPLATE:
{{sentence without example}}

<br>

<b>{{word to transform}}</b>

<br>

{{EXPL}}

BACK TEMPLATE:
{{sentence without example}}

<br>

<b>{{word to transform}}</b>

<br>

{{EXPL}}

From where did you get the IPA (phonetics)? It’s really bad.

https://pypi.org/project/eng-to-ipa/

Thanks.

That one seems to be very lazy and thus not quite correct — especially in its representation of vowel sounds.

Try this one, which is used by linguists and teachers of English as a foreign language. It gives good phonetic representation in general American as well as correct British English.

Unfortunately i’m not going to make any money on my add-on so that’s why using a paid api is kind of out of the question