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

**URL:** <https://forums.ankiweb.net/t/add-on-that-enables-you-to-create-cards-from-english-dictionary/14682>\
**Category:** Add-ons\
**Created:** [November 4, 2021, 6:56pm UTC](https://forums.ankiweb.net/t/add-on-that-enables-you-to-create-cards-from-english-dictionary/14682 "2021-11-04T18:56:19Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![artursz](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@artursz](https://forums.ankiweb.net/u/artursz)\
**Post date:** [November 4, 2021, 6:56pm UTC](https://forums.ankiweb.net/t/add-on-that-enables-you-to-create-cards-from-english-dictionary/14682/1 "2021-11-04T18:56:19Z")

</div>

Video representing the usage of this api:

[![](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/c/c55ac5a14b72cdfa8e85af3df554d77a7f68824b.jpeg "anki oxford-api add on") ](https://www.youtube.com/watch?v=edHaKGNhvvk)

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

> **[Oxford Dictionaries API](https://developer.oxforddictionaries.com/)**
>
> The Oxford Dictionaries API gives you access to our world-renowned dictionary data, including definitions, translations, synonyms, and audio pronunciations.

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!

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [November 5, 2021, 11:05am UTC](https://forums.ankiweb.net/t/add-on-that-enables-you-to-create-cards-from-english-dictionary/14682/2 "2021-11-05T11:05:32Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![artursz](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@artursz](https://forums.ankiweb.net/u/artursz)\
**Post date:** [November 5, 2021, 3:46pm UTC](https://forums.ankiweb.net/t/add-on-that-enables-you-to-create-cards-from-english-dictionary/14682/3 "2021-11-05T15:46:22Z")

</div>

[https://ankiweb.net/shared/info/657359787](https://ankiweb.net/shared/info/657359787)

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [November 9, 2021, 12:44am UTC](https://forums.ankiweb.net/t/add-on-that-enables-you-to-create-cards-from-english-dictionary/14682/4 "2021-11-09T00:44:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![artursz](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@artursz](https://forums.ankiweb.net/u/artursz)\
**Post date:** [November 9, 2021, 3:50pm UTC](https://forums.ankiweb.net/t/add-on-that-enables-you-to-create-cards-from-english-dictionary/14682/5 "2021-11-09T15:50:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![artursz](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@artursz](https://forums.ankiweb.net/u/artursz)\
**Post date:** [November 9, 2021, 4:23pm UTC](https://forums.ankiweb.net/t/add-on-that-enables-you-to-create-cards-from-english-dictionary/14682/6 "2021-11-09T16:23:42Z")

</div>

For the time being:  
word formation type should have these fields:  
 ![obraz](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/2/2328f90e940c9b4e01e61d11ceb4742ca0cc4604.png)

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

\<br\>

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

\<br\>

{{EXPL}}

 ![obraz](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/9/926c502eee1eeb31837445864de7ca25e1796159.png)

BACK TEMPLATE:  
{{sentence without example}}

\<br\>

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

\<br\>

{{EXPL}}

 ![obraz](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/9/973c60b0fb551d6994921ff9da5201c1a2537f8c.png)

---

<div class="post-metadata">

**Author:** ![matta](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/matta/32/5126_2.png) [@matta](https://forums.ankiweb.net/u/matta)\
**Post date:** [November 10, 2021, 3:43am UTC](https://forums.ankiweb.net/t/add-on-that-enables-you-to-create-cards-from-english-dictionary/14682/7 "2021-11-10T03:43:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![artursz](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@artursz](https://forums.ankiweb.net/u/artursz)\
**Post date:** [November 10, 2021, 3:32pm UTC](https://forums.ankiweb.net/t/add-on-that-enables-you-to-create-cards-from-english-dictionary/14682/8 "2021-11-10T15:32:33Z")

</div>

[https://pypi.org/project/eng-to-ipa/](https://pypi.org/project/eng-to-ipa/)

---

<div class="post-metadata">

**Author:** ![matta](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/matta/32/5126_2.png) [@matta](https://forums.ankiweb.net/u/matta)\
**Post date:** [November 10, 2021, 8:31pm UTC](https://forums.ankiweb.net/t/add-on-that-enables-you-to-create-cards-from-english-dictionary/14682/9 "2021-11-10T20:31:29Z")

</div>

Thanks.

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

Try [this one](https://easypronunciation.com/en/english-phonetic-transcription-converter), 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.

---

<div class="post-metadata">

**Author:** ![artursz](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@artursz](https://forums.ankiweb.net/u/artursz)\
**Post date:** [November 14, 2021, 4:08pm UTC](https://forums.ankiweb.net/t/add-on-that-enables-you-to-create-cards-from-english-dictionary/14682/10 "2021-11-14T16:08:31Z")

</div>

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
