Creating Models in Anki
Creating Models in Anki
Creating Models in Anki
Introduction
The best way to streamline your studying is by using card models. Models tell Anki what information you want to study and how to make flashcards based on that information. In Anki's default model, flashcards have a front side, which displays whatever you put in the Front text box, and a back side that displays the stuff in the Back box. By making a new model, however, you can have Anki make cards that go in multiple directions, like I described in the postall based on the same single set of information. It's pretty easy, and I'll walk you through it step-by-step.
detailed than Front and Back, though, so let's start by clicking Front to edit it. Change name the name from Front to Japanese word. This is where our hiragana or katakana are going to go. Since those are likely going to be fairly important, let's change the font size to size 40 so that by default, when this information is shown on a card, it's relatively big. There are some checkboxes below. These checkboxes are options for the specific field we're working onso right now, they're options for the Japanese word field. Leave most of them as-is; however, make sure that Prevent duplicate entries is unchecked. Because this field is for hiragana, and there are many homophones in Japanese written with the same hiragana but different kanji, we want to be able to use the same hiragana in different cards. Also, make sure to check Prevent empty entries, because if there's no Japanese word, there should be no flashcard in the first place! Again, leave the rest as-is. Let's move on to the next field Change the name of Back to Definition. Uncheck prevent duplicate entries, check prevent empty entries, and leave the rest alone. If all we wanted was to test on hiragana and their English definitions, we'd be done here. But there's so much more we can do. Add another field called Kanji. Change the font color to blue, the font size to 25, check prevent duplicates, and uncheck prevent empty entries, because not all words have kanji. How about an example sentence in Japanese? Probably useful, but we also don't want to make it necessary. Add another field called Example sentence. Make the font color green, and then uncheck both prevent duplicates and prevent empty entries. This way, you can write an example sentence if you want, and even use one from another card, but it's entirely optional. Of course, if we have example sentences, it would help to have definitions, too. Add another field called Example definition. This should be almost exactly the same as Example sentence, except for font size 16. Finallyand this one is very optionalthere might be times when you want to add a note about proper usage of a word. For instance, I've had to make note of words that might have unintended double meanings. Add one last field called Usage note, and set the color to orange, the size to 11, and in terms of options, check preserve whitespace. Phew. Thanks for sticking that one outthat's the hard work. Now, whenever you make a new card with the Japanese Vocabulary model, Anki will ask you for the Japanese word, its definition, the kanji, an example sentence, the example sentence's definition, and a usage notebut out of those, only the word and its definition will be required. If you want to make bare-bones cards, you can! But if you want to put in a lot of info, that's also possible now. The next step, though, is to tell Anki how to display all of the info that it collects here, and we do that using card templates.
{{Definition}} {{#Example definition}}<br />{{Example definition}}{{/Example definition}} {{#Usage note}}<br/>{{Usage note}}{{/Usage note}} Select don't ask me to type in the answer, uncheck hide the question when showing answer, and check Allow the answer to be blank. Congratulations, you've made the first template! There are three more to go; however, you've already done the leg work. Hit the Close button on the Card Layout window, select Back, rename it to English->Hiragana, and click Card Layout again. If you go to the Fields tab, you'll see that all of the fields you already made are still there! That's because Anki will use the same data to make multiple types of cards, as you tell it to. So go back to the Card Templates tab, and copy the following templates: Question: How would you say "{{Definition}}"? {{#Example definition}}<br />For example: "{{Example definition}}"{{/Example definition}} This tells Anki, Ask the question, 'How would you say [this word]?' Then, if there's an English example sentence, say, 'For example:' and show that example sentence. Answer: {{Japanese word}} {{#Kanji}}<br />{{Kanji}}{{/Kanji}} {{#Example sentence}}<br />{{Example sentence}}{{/Example sentence}} This is almost the same as the front side of the Hiragana->English card: it shows the hiragana, the kanji if it's there, and the example sentence if it's there. Hit Close and go back to the Deck Properties window again. Hit Add, rename the new template to Hiragana->Kanji, and copy the following into the Card Layout: Question: How do you write<br /> {{Japanese word}}<br /> which means<br /> {{Definition}} in kanji? {{#Example definition}}<br />For example: "{{Example
definition}}"{{/Example definition}} Answer: {{#Kanji}}<span style="font-family: arial; font-size: 40px; color:blue">{{{Kanji}}}</span>{{/Kanji}} {{^Kanji}}Joke's on you, there is no kanji! Why did you make this card, anyway?<br /> {{Japanese word}}{{/Kanji}} Close, make one more template, rename it to Kanji->Hiragana, and copy the following: Question: How do you read<br /> <span style="font-family: arial; font-size: 40px; color:blue">{{{Kanji}}}</span>,<br /> as used in the following sentence?<br /> {{Example sentence}} Answer: {{Japanese word}}<br /> {{Definition}}<br /> {{Example definition}} Hit Close, and close more windows until you're back at the Add Items window.
but later decide you want to create more from the same fact, simply find the card in the Card Browser and hit Generate Cards in the toolbar (or go Actions>Generate Cards). Thanks for sticking with me through that! Hopefully, it illuminates the process and has given you enough information to not only replicate what I've done, but play with these options in the future.
-SpencerDub