A Woman Learning Thai...and some men too ;)

Learn Thai Language & Thai Culture

Creating Thai Anki Flashcard Decks with Audio and Pictures

Anki Flashcard Decks

Anki Flashcard Decks: The introduction…

Anki is a Flashcard based spaced repetition program. It can help you to study Thai by training new words using flashcards. You can create your own flashcard decks.

In this document I’ll show you how you can make your own flashcard decks that include:

  • Audio (Thai and English)
  • Pictures (from schoolbooks)
  • Transliterations
  • Thai script

I’ll be using the official schoolbooks for P.1 and P.2 but you can use any other Thai course book with pictures. You’ll need an electronic or scanned version of the books. The result will look like this:

So, what do you need to make this?

1. You need pictures. Pictures can come from any source. The official Thai schoolbooks contain hundreds of little drawings so they are a great source of pictures. Below the drawings you’ll find meaning of the picture in Thai. Many schoolbooks are available for download on the net (from legal websites). Here are some links:

The OTPC project:
All current P1 schoolbooks on all subjects.
All current P2 schoolbooks on all subjects.

The SEALANG website:
All older P.1 to P.6 Thai language schoolbooks (click on LAB – Basal readers).

2. You need a program called Anki, which is a space repetition flashcard program. Anki is available for Linux, Android, iOS, OSX and Windows. Oh yes, and it’s free.

3. You need a computer or smartphone.

4. You need any Text-to-Speech (TTS) engine. In this example I use the audio of google Translate (which is quite good and not to be confused with the translations of google translate). Google translate is a free online service. If you have you have an APPLE system you could also use the tools provided by APPLE.

5. You need a plugin for Anki that will convert pictures and their file names into flashcards. This plugin is called “Media Import”.

The Preparation…

These steps have to be done only once (at time of installation).

Step 1: Install Anki:

  1. Go to ankisrs.net
  2. And download and install Anki.

Step 2: Install AwesomeTTS:

  1. Start Anki.
  2. In the Anki menu click on: Tools / Add-ons / Browse & Install.
  3. Enter the following code in the dialog box: 301952613.
  4. And click on OK.

Step 3: Install Media import:

  1. Start Anki.
  2. In the Anki menu click on : Tools / Add-ons / Browse & Install.
  3. Enter the following code in the dialog box : 1531997860.
  4. And click on OK.

Creating a flashcard deck…

This step needs to be done only once. If you start from an existing deck you can skip this step. In the Anki window click on the “Create Deck” button (at the bottom of the window).

Creating Anki Flashcard Decks with Audio and Pictures

In the “Create Deck” dialog box fill in ”school book” and click on the “OK” button.

Creating Anki Flashcard Decks with Audio and Pictures

In the Anki window click on “Add”

Creating Anki Flashcard Decks with Audio and Pictures

In the “Add” dialog box click on “Fields…”. The “fields for Basic” dialog box will pop up.

Creating Anki Flashcard Decks with Audio and Pictures

In the “Field for Basic” dialog box use the “add”, “delete” and “rename” buttons to create 4 fields (remove other fields):

Creating Anki Flashcard Decks with Audio and Pictures

Field for Basic dialog box:

  • Thai
  • Phonetics Thai
  • English
  • Picture
  1. Click on the “close” button in the “fields or basic” dialog box.
  2. In the “Add” dialog box click on the “Cards…” button.

Creating Anki Flashcard Decks with Audio and Pictures

The “card types for Basic” dialog box will pop up. First let’s create the layout for a card with English on the frontside and Thai on the backside. In the “Card types for Basic” dialog box fill in the “Front Template” and “Back Template” field as shown in the picture and click on the close button. You can copy/paste the fields from here:

Front Template:
{{English}}
</br>{{Picture}}

Back Template:
{{FrontSide}}
<hr id=answer>
{{Thai}}
</br>
{{Phonetics Thai}}

Creating Anki Flashcard Decks with Audio and Pictures

Now let’s create the layout for a card with Thai on the frontside and English on the backside. Click the “+” button, in the fields as shown and click on close. You can copy/paste the fields from here:

Front Template:
{{Thai}}
</br>
{{Phonetics Thai}}

Back Template:
{{FrontSide}}
<hr id=answer>
{{Picture}}
</br>
{{English}}

Creating Anki Flashcard Decks with Audio and Pictures

Click on the “close” button in the “add” dialog box.

Creating Anki Flashcard Decks with Audio and Pictures

Adding data to the deck…

First you’ll need to collect pictures from the schoolbooks. You can do this with the help of a PDF viewer and just take screenshots of the selected area. Only select the picture (not the text). Keep the selection as small as possible.

  • On ubuntu you just press shift-printscreen.
  • On MAC you just press Command-Shift-4.
  • On windows 7 and up you can use the snipping tool to do so.

Save the file and give it the name of the Thai word (later on you’ll also need the transliteration).

You can use thai-language.com or thai2english.com for this or any other site or you can use your own system or even better don’t fill in the transliteration field.

Step 1: create new cards based on file names.

  1. Select “Tools- Media Import …” from the Anki menu.
  2. Browse to the directory where you’ve stored your pictures and select the other field as shown in the picture.

Creating Anki Flashcard Decks with Audio and Pictures

Step 2: adding other data to the cards.

Click on “Browse” in the main Anki window.

Creating Anki Flashcard Decks with Audio and Pictures

Select “school book” by clicking on it.

Creating Anki Flashcard Decks with Audio and Pictures

Click on the card you want to add data to in the list and fill in the remaining fields (English and Phonetics Thai).

Creating Anki Flashcard Decks with Audio and Pictures

Adding audio…

  1. Go back to the browse window and make sure your deck is selected.
  2. Select “edit/select all” in the anki menu.
  3. Select “AwesomeTTS/Add audio to selected” in the anki menu.
  4. Fill in the dialog box as follows and click on generate.

Creating Anki Flashcard Decks with Audio and Pictures

Do the same thing one more time for English.

Creating Anki Flashcard Decks with Audio and Pictures

Remarks…

Replacing incorrect audio:

If AwesomeTTS would generate incorrect audio you can replace the generated audio with your own file.

  1. Click on “browse” in the main Anki window.
  2. Select your deck (school book) on the left side.
  3. Select the faulty card.
  4. Delete the “[sound:xxxx]” part from the “Thai” or “English” field (depending on if the mistake is in English or Thai) and upload your own audio by clicking on the paper-clip).

Create a filtered deck with only English-Thai cards:

The deck you’ve made contains both Thai-English and English-Thai cards. To study for instance only English-Thai you can create a filtered deck. Select “Tools/Create filtered deck…” from the main menu and choose only card1, which is the English-Thai cards like this: (change the maximum number of cards you want to have in your new deck if necessary).

Creating Anki Flashcard Decks with Audio and Pictures

If you want to make a deck with only Thai-English cards, replace card:1 by card:2.

Rescheduling a deck for new study:

Anki limits how many times you can review a certain card on one day. But you can manually reschedule your deck for new study.

You can reschedule your deck for new study via the browse window:

  1. Go to the main Anki window.
  2. Click on Browse (on the top of the window).
  3. Select your decks (schoolbook) on the left side.
  4. Choose edit/select all in the menu…
  5. …and then choose Edit/reschedule in the menu.

Exporting a deck: Sharing it with others:

To export a deck (to share it with others):

  1. Go to the main Anki window.
  2. Click on “Decks” (on the top of the window).
  3. Choose File/Export… from the menu.

You’ll now see the Export dialogue box:

  1. Un-ckeck “Include scheduling information”.
  2. Check “Include media”.
  3. Choose your deck “school book” in the include field.

Creating Anki Flashcard Decks with Audio and Pictures

Creating filtered decks with cards of only 1 lesson:

You can also create filtered decks that contain only the vocabulary of 1 lesson. For that you just fill in the “Tags” field when you add or browse the cards.

Creating Anki Flashcard Decks with Audio and Pictures

When creating all filtered deck you could select for instance all…

  • English-Thai cards
  • of lesson 1

…by filling in the following the “Tools/Create filtered deck …” dialog box.

Creating Anki Flashcard Decks with Audio and Pictures

Share Button

6 Comments

  1. Good article. I have been using Anki for a long time and it is great. Recently, I have decided I want to get serious about writing (and improving my reading too, naturally) and I realized that while I have a ton of Anki cards to review, there is no way to practice my typing/spelling. I figured there must be a way to add a text box to type the words before revealing the flip side of the card, and indeed there is. Might be a good follow up for you to discuss this. I am happy to share what I learned if you aren’t familiar with this already.

  2. Hi Jeff,

    You can add a text input box to type the words, using the {{type:xxx}} syntax, where xxx is the name of the field, for example, Thai.

    The following is a simplified front template of a writing card that I use:

    {{English}}

    {{hint:Hint}}

    {{type:Thai}}

  3. Hi Jeff,
    This deck focuses on audio. If the spelling is different from what you thought you’re supposed to click on “Again”. The same word will keep on coming back later on as long as you click on “again”. So, in case you’re honest while judging yourself, you will learn how the word is written after seeing it many times.
    Feel free to download the sample deck I’ve made and add text input for those people that need the typing practice to help them to remember how the word or written. At this moment the deck has only 535 pictures/words.

  4. Thanks Alex. I think the hint field is useful too. The hint could for instance be a sample sentence.

  5. In all of your screenshots anki looks ‘different’. Have you applied a theme? What gives it that clean, flat look? Thank you.

  6. Hi Brandon. I don’t use any theme. But I use Linux/Ubuntu. That might explain the different look.

Leave a Reply

Your email address will not be published.

*