Cara menggunakan WRAPOING pada JavaScript
Show
Panduan Pengguna Anki 2.0Video PengenalanTerjemahanHalaman ini dalam bahasa lain:
Terjemahan ini dibuat oleh relawan. Jika anda ingin membantu menerjemahkan buku petunjuk ini ke bahasa lain, atau jika anda ingin melihat terjemahan yang sedang dalam proses pengerjaan, silahkan lihat bagian translating the manual. PengenalanAnki adalah program yang membuat mengingat berbagai hal menjadi mudah. Karena belajar menggunakan Anki jauh lebih efisien dibandingkan metode belajar tradisional, kamu bisa mengurangi waktu yang kamu gunakan untuk belajar dalam jumlah yang besar, atau meningkatkan banyaknya hal yang kamu pelajari dalam jumlah yang besar. Siapapun yang perlu mengingat hal-hal di kehidupan sehari-harinya bisa mendapat manfaat dari Anki. Karena Anki mensupport gambar, audio, video dan notasi matematika (menggunakan LaTeX), software ini bisa digunakan untuk berbagai macam tujuan. Contohnya:
Ada dua konsep sederhana dibalik Anki: active recall testing dan spaced repetition (pengulangan dengan jarak waktu). Konsep-2 ini tidak diketahui banyak orang, meskipun konsep-2 ini sudah ada di literatur ilmiah dalam waktu yang cukup lama. Mengerti kedua konsep ini akan membuatmu bisa belajar lebih efektif. Active Recall TestingActive recall testing adalah metode belajar dengan ditanyai sebuah pertanyaan dan mencoba mengingat jawabannya. Bandingkan dengan belajar pasif, dimana kita membaca, menonton atau mendengarkan sesuatu tanpa berhenti untuk merenungkan apakah kita sudah mengerti apa yang kita pelajari. Penelitian telah menunjukkan bahwa kita bisa mengingat apa yang kita pelajari jauh lebih efektif menggunakan active recall testing dibandingkan dengan belajar pasif. Ada dua alasan mengapa begini:
Kamu mungkin sudah menemui active recall testing di masa sekolahmu tanpa menyadarinya. Ketika guru yang baik memberimu sekumpulan pertanyaan untuk dijawab setelah membaca artikel, atau memberimu tes mingguan untuk mengecek progressmu, mereka melakukan itu bukan hanya untuk melihat apakah kamu mengerti pelajarannya atau tidak. Dengan mengetes kamu, mereka meningkatkan peluangmu untuk mengingat apa yang kamu pelajari di masa depan. Salah satu cara bagus untuk menerapkan active recall testing ke dalam proses belajarmu adalah menggunakan flashcard. Dengan flashcard kertas, kamu menulis pertanyaan di satu sisi kertas, dan jawabannya di sisi lain. Dengan tidak melihat jawaban di kartu sampai kamu sudah berusaha memikirkan jawabannya sendiri, kamu bisa belajar lebih efektif dibandingkan hanya belajar pasif. Gunakan atau Kamu Akan KehilangannyaOtak kita adalah mesin yang efisien, dan mereka dengan cepat membuang informasi yang tampak tidak berguna. Kemungkinan kamu tidak ingat apa makan malammu pada Senin dua minggu yang lalu, karena informasi ini biasanya tidak berguna. Tapi jika kamu pergi ke restoran & makan enak malam itu, dan kamu bercerita ke banyak orang selama dua minggu ke depan, kemungkinan kamu masih ingat apa yang kamu makan dengan jelas. Kebijakan "gunakan atau buang" otak kita ini berlaku untuk semua hal yang kita pelajari. Jika kamu menghabiskan satu siang mengingat beberapa istilah ilmiah, dan kemudian kamu tidak memikirkan hal itu lagi selama dua minggu, kemungkinan kamu akan lupa sebagian besar dari apa yang kamu pelajari. Faktanya, penelitian menunjukkan kita lupa sekitar 75% hal yang kita pelajari dalam jangka waktu 48 jam. Ini cukup membuat down jika kamu sedang perlu belajar banyak hal. Solusinya sederhana: review. Dengan me-review informasi yang baru dipelajari, kita bisa mengurangi lupa dengan cukup banyak. Masalahnya adalah, review tidak praktis jika dilakukan secara manual. Jika kamu menggunakan flashcard kertas dan kamu hanya punya 30 flashcard, masih mudah untuk me-review semuanya. Tapi jika jumlah flashcard-mu mencapai 300 atau 3000, akan sulit untuk melakukan review. Spaced Repetition (Pengulangan dengan jarak waktu)Seorang psikolog Jerman menulis tentang spacing effect pada 1885. Dia mengamati bahwa kita cenderung mengingat lebih efektif jika kita memecah-mecah review menjadi beberapa kali dengan jarak waktu, dibandingkan jika kita belajar beberapa kali dalam satu sesi. Sejak tahun 1930 sudah ada sejumlah proposal untuk memanfaatkan spacing effect untuk meningkatkan efektivitas proses belajar, dengan sesuatu yang disebut spaced repetition. Salah satu contohnya pada tahun 1972, seorang ilmuwan Jerman bernama Sebastian Leitner mempopulerkan cara penerapan spaced repetition dengan flashcard kertas. Dengan memisahkan kartu-kartu ke sederetan kota, dan memindahkan kartu ke kotak yang berbeda sesudah review, maka bisa terlihat seberapa baik kita mengerti materi yang ada di kartu itu dan kapan materi itu perlu di-review lagi. Ini peningkatan yang besar dibandingkan hanya menggunakan satu kotak kartu, dan cara ini banyak ditiru oleh software flashcard. Tetapi cara ini masih belum cukup baik, karena cara ini tidak memberitahumu tanggal pasti kapan kamu perlu me-review sesuatu lagi, dan cara ini tidak menangani materi dengan tingkat kesulitan yang bervariasi dengan baik. Perkembangan terbesar dalam 30 tahun terakhir datang dari pencipta SuperMemo, sebuah program flashcard komersil yang menerapkan spaced repetition. SuperMemo mempelopori konsep sistem yang menyimpan kapan waktu yang ideal untuk me-review sebuah materi dan mengoptimasi dirinya sendiri berdasarkan performa si pengguna. Di program SuperMemo, setiap kali kamu menjawab sebuah pertanyaan, kamu diminta menginputkan seberapa baik kamu bisa mengingat jawabannya - apakah kamu sama sekali lupa, membuat kesalahan kecil, ingat dengan susah, ingat dengan mudah, dll. Program ini menggunakan input ini untuk menentukan waktu yang optimal untuk menunjukkan kamu pertanyaan ini lagi. Karena memori bertambah kuat setiap kali kamu berhasil mengingat sesuatu, jarak waktu antara review akan semakin bertambah - jadi mungkin kamu akan melihat sebuah pertanyaan untuk pertama kali, kemudian 3 hari lagi, 15 hari lagi, 45 hari lagi, dan seterusnya. Ini adalah revolusi dalam pembelajaran, karena materi bisa dipelajari dan diingat dengan jumlah usaha yang minimal. Slogan SuperMemo menggambarkannya dengan baik: dengan spaced repetition, kamu bisa melupakan masalah lupa apa yang kamu pelajari. Kenapa Menggunakan Anki?Dampak yang diberikan program SuperMemo di bidang pembelajaran memang besar, tapi program ini punya beberapa masalah. Program ini sering dikritik karena buggy dan susah digunakan. Program ini hanya berjalan di komputer Windows. Program ini tidak open source, yang berarti end-user tidak bisa meng-extendnya atau mengakses data mentah mereka. Dan meskipun versi yang sangat lama bisa di-download secara gratis, versi tersebut cukup terbatas untuk keperluan masa kini. Anki mengatasi masalah-masalah ini. Program ini tersedia di banyak platform secara gratis, jadi murid dan guru dengan dana terbatas bisa menggunakannya. Program ini open-source, dan sudah memiliki banyak add-on yang disumbangkan oleh end-user. Program ini multi-platform, berjalan di Windows, Mac OSX, Linux/FreeBSD, dan beberapa mobile device. Dan program ini jauh lebih mudah digunakan dibanding SuperMemo. Sistem spaced repetition yang digunakan Anki dibuat berdasarkan algoritma yang digunakan SuperMemo bernama SM2. Versi-versi Anki yang lebih baru mempunyai algoritma baru yang sedikit meningkatkan efektifitas belajar, tapi algoritma baru ini lebih kompleks dan lebih rentan membuat kesalahan penjadwalan. Untuk diskusi yang lebih mendalam tentang masalah ini dan perbedaan antara macam-macam algoritma penjadwalan, lihat bagian paling bawah halaman ini. Dasar-dasarKartuSebuah pasangan pertanyaan dan jawaban disebut kartu / Card di Anki. Istilah ini berdasarkan flashcard kertas dengan pertanyaan di satu sisi dan jawabannya di baliknya. Di Anki sebuah kartu tidak ditampilkan seperti kartu sungguhan, dan ketika kamu menunjukkan jawaban, pertanyaannya (by default) tetap ditampilkan. Sebagai contoh, jika kamu belajar kimia dasar, kamu mungkin melihat pertanyaan seperti: Pertanyaan: simbol kimia untuk oksigen? Setelah berpikir, dan memutuskan jawabannya adalah O, kamu meng-klik tombol tunjukkan jawaban, dan Anki menunjukkan: Pertanyaan: simbol kimia untuk oksigen? Jawaban: O Setelah melihat apakah jawabanmu betul / salah, kamu bisa memberi tahu Anki seberapa baik kamu bisa mengingat jawabannya, dan Anki akan mengatur kapan dia akan menunjukkan pertanyaan ini ke kamu lagi. DekSebuah dek adalah sekelompok kartu. Kamu bisa mengelompokkan kartu-kartumu dalam beberapa dek untuk mempelajari hanya sebagian kartu saja, alih-alih mempelajari semuanya sekaligus. Setiap dek bisa punya setting yang berbeda, seperti berapa banyak kartu baru yang ditunjukkan setiap hari, atau berapa lama untuk menunggu sebelum kartu ditampilkan lagi. Dek bisa memuat dek lain. Hal ini membuatmu bisa menata dek dalam struktur pohon. Anki menggunakan tanda "::" untuk menunjukkan tingkatan yang berbeda. Sebuah dek bernama "Mandarin::Hanzi" merujuk pada dek bernama "Hanzi" yang merupakan bagian dari dek "Mandarin". Jika kamu memilih "Hanzi" maka hanya kartu-kartu Hanzi yang akan ditunjukkan; jika kamu memilih "Mandarin", maka semua kartu Mandarin, termasuk kartu-kartu Hanzi, akan ditunjukkan. Untuk menata dek dalam bentuk pohon, kamu bisa: 1) menamai dek dengan tanda "::" di antara setiap level, atau 2) men-drag and drop dek dari tampilan program. Dek yang terletak di dalam dek lain sering disebut subdeck, dan dek di level atasnya disebut superdeck atau parent deck. Anki mulai dengan dek bernama "default"; kartu apapun yang terpisah dengan dek lain akan masuk ke sini. Anki akan menyembunyikan dek default jika tidak ada kartu di dalamnya dan kamu sudah menambahkan dek lain. Kamu bisa juga mengubah nama dek ini dan menggunakannya untuk kartu lain. Dek paling baik digunakan untuk mengelompokkan kartu secara luas, daripada digunakan untuk mengelompokkan topik yang spesifik seperti "kata kerja yang berhubungan dengan makanan" atau "pelajaran 1". Untuk info lebih lanjut tentang ini, silahkan lihat bagian using decks appropriately. Untuk informasi tentang bagaimana dek mempengaruhi urutan kartu ditampilkan, silahkan lihat bagian display order. Note dan FieldKetika membuat flashcard, seringkali kita ingin membuat lebih dari satu kartu yang berhubungan dengan informasi yang sama. Contohnya, jika kamu belajar bahasa Prancis, dan kamu belajar bahwa kata "bonjour" berarti "halo", kamu mungkin ingin membuat satu kartu yang menunjukkan "bonjour" dan memintamu untuk mengingat "halo", dan kartu lain yang menunjukkan "halo" dan memintamu untuk mengingat "bonjour". Satu kartu mengetes kemampuanmu untuk mengenali kata asing, dan satu kartu mengetes kammpuanmu untuk mengucapkan kata itu. Ketika menggunakan flashcard kertas, satu-satunya pilihanmu dalam kasus ini adalah untuk menulis informasi ini 2x, satu untuk setiap kartu. Beberapa program flashcard di komputer membuat hidup lebih mudah dengan menyediakan fitur untuk membalik sisi depan dan belakang. Ini adalah perkembangan dibandingkan flashcard kertas, tapi ada 2 kelemahan yang besar:
Anki memecahkan masalah-masalah ini dengan mengijinkan kamu untuk memecah isi kartumu ke banyak potongan informasi yang terpisah. Kemudian kamu bisa memberitahu Anki potongan informasi yang mana yang kamu inginkan di setiap kartu, dan Anki akan mengurus pembuatan kartu untukmu, dan mengupdate kartu-2 jika kamu mengedit informasi tersebut di masa depan. Bayangkan jika kita ingin belajar kosakata Prancis, dan kita ingin memasukkan nomor halaman di belakang setiap kartu. Kita ingin kartu kita untuk terlihat seperti ini: Q: Bonjour A: Halo Halaman #12 dan: Q: Halo A: Bonjour Halaman #12 Di contoh ini, kita punya 3 potong informasi yang berhubungan: kata Prancis, artinya, dan nomor halaman. Jika kita meletakkan mereka bersama, mereka akan terlihat seperti ini: Prancis: Bonjour Indonesia: Halo Halaman: 12 Di Anki, informasi yang berhubungan ini disebuah sebuah note, dan setiap potongan informasi disebut sebuah field. Jadi kita bisa bilang note di atas punya 3 field: Prancis, Indonesia, dan Halaman. Card TypeSupaya Anki bisa membuat kartu berdasarkan note kita, kita perlu memberinya sebuah blueprint yang mengatakan field-field apa yang harus ditampilkan di depan atau belakang setiap kartu. Blueprint ini disebut card type. Setiap note bisa punya 1 / lebih card type; ketika kamu menambah note, Anki akan membuat 1 kartu untuk setiap card type. Setiap card type punya 2 template, satu untuk pertanyaan dan satu untuk jawaban. Pada contoh di atas, kita ingin kartu untuk mengenali kata asing terlihat seperti ini: Q: Bonjour A: Halo Halaman #12 Untuk melakukan ini, kita bisa mengeset template pertanyaan dan jawaban ke: Q: {{Prancis}} A: {{Indonesia}} Dengan mengelilingi nama field dengan kurung kurawal, kita memberitahu Anki untuk mengganti bagian itu dengan informasi yang ada di / isi field itu. Apapun yang tidak dikelilingin kurung kurawal tetap sama di setiap kartu. (Sebagai contoh, kita tidak perlu untuk megetikkan "Halaman #" ke field Halaman ketika menambah materi - ini ditambahkan otomatis ke setiap kartu).
Template kartu untuk pengucapan punya cara kerja yang sama: Q: {{Indonesia}} A: {{Prancis}} Setelah card type dibuat, setiap kali kamu menambah note baru, sebuah kartu akan dibuat berdasarkan card type itu. Card type memudahkan kita untuk menjaga formatting kartu kita konsisten dan bisa banyak mengurangi jumlah effort yang dibutuhkan untuk menambahkan informasi. Card type juga berarti Anki bisa memastikan kartu-kartu yang berhubungan tidak muncul berdekatan satu sama lain, dan card type membuatmu bisa memperbaiki kesalahan di satu tempat dan secara otomatis semua kartu akan terupdate. Untuk menambah dan mengedit card type, klik tombol "Cards…" ketika menambah atau mengedit note. Untuk informasi lebih mengenai card type, silahkan lihat bagian Cards and Templates. Tipe NoteDi Anki, kamu bisa membuat banyak tipe note untuk materi yang berbeda. Setiap tipe note punya kumpulan field dan card type-nya sendiri. Membuat tipe note yang berbeda untuk setiap topik yang kamu pelajari adalah ide yang bagus. Pada contoh belajar bahasa Prancis di atas, kita mungkin membuat tipe note bernama "Bahasa Prancis". Jika kita ingin belajar ibukota negara, kita bisa membuat tipe note lain untuk topik ini, dengan field seperti "Negara" dan "Nama Ibukota". Ketika Anki mengecek duplikat, dia hanya membandingkan note-note yang tipenya sama. Jadi jika kamu menambahkan ibukota bernama "Orange" menggunakan tipe note "ibukota", kamu tidak akan melihat pesan duplikat ketika kamu menambahkan "orange" di tipe note "Bahasa Prancis". Ketika kamu membuat koleksi baru, Anki otomatis menambahkan beberapa tipe note standar. Tipe note ini disediakan untuk membuat Anki lebih mudah digunakan untuk pengguna baru, tapi untuk jangka pankang disarankan kamu membuat tipe note-mu sendiri untuk materi yang kamu pelajari. Berikut ini adalah tipe note standar yang dibuat Anki: Basic Punya field Depan dan Belakang, dan akan membuat satu kartu. Teks yang kamu masukkan di field Depan akan muncul di depan kartu, dan teks yang kamu masukkan di Belakang akan muncul di belakang kartu. Basic (and reversed card)Membuat dua kartu untuk teks yang kamu masukkan: satu dari depan→belakang dan satu dari belakang→depan. Basic (optional reversed card)Ini adalah kartu depan→belakang, dan (opsional) kartu belakang→depan. Untuk melakukan ini, ada field ketiga bernama "Add Reverse". Jika kamu memasukkan teks apapun ke field ini, kartu kebalikan akan dibuat. Informasi lebih lanjut ada di bagian Card and Templates. Clozetipe note yang membuat mudah untuk memilih teks dan mengubahnya menjadi cloze deletion (contoh, "Manusia mendarat di bulan pada tahun […]" → "Manusia mendarat di bulan pada tahun 1969"). Informasi lebih lanjut ada di bagian cloze deletion. Untuk menambah tipe notemu sendiri dan mengubah yang sudah ada, kamu bisa menggunakan Tools → Manage Note Types.
KoleksiKoleksi adalah semua materi yang disimpan di Anki - kartu-kartumu, note, dek, tipe note, option-2 dek, dan seterusnya. Menambahkan MateriMendownload Shared DecksCara termudah untuk mulai dengan Anki adalah dengan mendownload dek kartu yang sudah dishare oleh orang lain.
Catatan: Sekarang kamu belum bisa menambahkan shared deck langsung ke akun AnkiWeb-mu. Kamu perlu meng-import mereka dengan program desktop, kemudian mensinkronkan untuk mengupload dek ke AnkiWeb. Silahkan lihat sharing decks untuk info tentang membagi dekmu dengan orang lain. Menambahkan Kartu dan NoteIngatlah dari bagian basics bahwa di Anki kita menambahkan note, bukan kartu, dan Anki yang membuat kartu untuk kita. Klik Add di main window, dan window Add Notes akan muncul. Bagian kiri atas window menunjukkan tipe note yang aktif. Jika tipe note bukan "Basic", kemungkinan kamu telah menambahkan beberapa tipe note ketika kamu mendownload sebuah shared deck. Teks di bahwah mengasumsikan "Basic" dipilih. Bagian kanan atas window menunjukkan dek tempat kartu akan ditambahkan. Jika kamu ingin menambahkan kartu ke dek baru, kamu bisa meng-klik tombol nama dek kemudian klik "Add". Di bawah tipe note, kamu akan melihat beberapa tombol. Dan area dengan label "Front" dan "Back". Front dan back disebut field dan kamu bisa menambah, menghapus, dan mengubah nama mereka dengan meng-klik tombol "Fields…" di atas. Di bawah fields adalah area lain berlabel "Tags". Tags adalah label yang bisa kamu pasangkan ke note-mu, untuk membuat menata dan mencari note lebih mudah. Kamu bisa membiarkan tag kosong jika kamu mau, atau menambahkan satu / lebih tag. Tag dipisahkan oleh spasi. Jika tag area diisi. …maka note yang kamu buat akan punya 2 tag. Ketika kamu memasukkan teks ke field front dan back, kamu bisa meng-klik tombol "Add" atau menemakan Ctrl+Enter (Command+Enter di Mac) untuk menambahkan note ke koleksimu. Ketika kamu melakukan itu, sebuah kartu akan dibuat juga, dan ditaruh ke dalam dek yang kamu pilih. Jika kamu ingin mengedit kartu yang kamu tambahkan, kamu kamu bisa meng-klik tombol history untuk mencari kartu yang baru ditambahkan di browser. (Browser adalah window terpisah tempat kamu bisa melihat, mencari, dan mengubah kartu di koleksimu). Anki mengecek field pertama untuk duplikat, jadi dia akan memperingatkan kamu jijka kamu membuat 2 kartu dengan field Front berisi "apel" (sebagai conth). Cek duplikat ini terbatas pada tipe note yang sama, jadi jika kamu belajar banyak bahasa, dua kartu dengan Front yang sama tidak akan dianggap duplikat selama kamu punya tipe note yang berbeda untuk setiap bahasa. Anki tidak mengecek duplikat di field lain secara otomatis untuk alasan efisiensi, tapi browser punya fungsi "Find Duplicates" yang bisa kamu jalankan secara berkala. Untuk informasi lebih lanjut tentnag tombol-2 di antara tipe note dan field, silahkan lihat bagian editor. Menambahkan Tipe NoteNote basic memadai untuk kartu sederhana dengan hanya kata atau kalimat di setiap sisi. Begitu kamu mendapati kamu ingin memasukkan lebih dari 1 potong informasi di depan / belakang kartu, lebih baik kamu memecah informasi itu menjadi beberapa field. Kamu mungkin mendapati dirimu berpikir "tapi aku hanya ingin satu kartu, jadi kenapa aku tidak memasukkan audio, gambar, hint, dan terjemahan di field Front?" Jika kamu ingin melakukan itu, boleh-boleh saja. Tapi kekurangan dari cara ini adalah semua informasinya terikat jadi satu. Jika kamu ingin mengurutkan kartu-kartumu berdasarkan hint, kamu tidak bisa melakukan itu karena hint-nya tercampur dengan konten lain. Kamu juga tidak bisa melakukan hal-hal seperti memindahkan audio dari depan ke belakang kartu, kecuali dengan meng-copy pastenya untuk setiap note. Dengan menyimpan konten di field yang berbeda, akan jauh lebih mudah untuk mengubah layout kartumu di masa depan. Untuk membuat tipe note baru, di window Add, klik tombol di sebelah "type", kemudian tombol "manage". Kemudian klik "Add" untuk menambah tipe note baru. Kamu akan melihat layar lain yang memberimu pilihan tipe note untuk menjadi dasar tipe note yang akan kamu buat. "Add" berarti tipe yang baru dibuat akan dibuat berdasarkan tipe yang ada dari Anki. "Clone" berarti tipe yang baru dibuat akan dibuat berdasarkan tipe yang ada di koleksimu. Contohnya, jika kamu sudah membuat tipe note French vocab, kamu bisa menggunakan itu saat membuat tipe note German vocab. Setelah memilih "OK", kamu akan diminta untuk menamai tipe note baru. Subyek materi yang kamu pelajari adalah pilihan yang bagus - hal-hal seperti "Bahasa Jepang", "Trivia", dan seterusnya. Setelah kamu memilih nama, tutup window Note Types, dan kamu akan kembali ke window adding. Mengkustomisasi FieldUntuk mengkustomisasi field, klik tombol "Fields…" ketika menambah / mengedit note. Kamu bisa menambah, menghapus, atau mengubah nama field dengan menekan tombol yang sesuai. Untuk mengubah urutan tampilnya field di dialog ini dan dialog add notes, kamu bisa menggunakan tombol reposition, yang memintamu menginputkan posisi angka field yang kamu inginkan. Jadi jika kamu ingin memindahkan field menjadi field pertama, masukkan "1". Option di bawah layar memungkinkan kamu untuk mengedit macam-macam properti dari field untuk digunakan ketika menambah dan mengedit kartu-kartu. Ini bukan tempat untuk mengkustomisasi apa yang muncul di kartumu ketika review; untuk ini, silahkan lihat templates. Editing Font memungkinkan kamu untuk mengkustomisasi font dan ukuran yang digunakan ketika mengedit note. Ini berguna jika kamu ingin membuat informasi yang tidak penting lebih kecil, atau memperbesar huruf asing yang sulit dibaca. Perubahan yang kamu buat di sini tidak mempengaruhi bagaimana kartu tampak ketika review: untuk melakukan itu, silahkan lihat bab templates. Tetapi jika kamu meng-enable fungsi "ketikkan jawaban", teks yang kamu ketik akan menggunakan ukuran font di sini. *Sort by this field…" memberitahu Anki untuk menampilkan field ini di kolom Sort Field dari browser, dan kamu bisa menggunakan ini untuk mengurutkan kartu berdasarkan field itu. Hanya satu field yang bisa menjadi sort field pada satu waktu. Ketika *Remember last input…" dicheck, Anki tidak akan mengosongi isi field setelah note ditambahkan. Jika kamu mendapati dirimu memasukkan konten yang sama ke beberapa note, fitur ini bisa berguna. Reverse text direction berguna jika kamu mempelajari bahasa yang menampilkan teks dari kanan ke kiri, seperti Arab / Hebrew. Setting ini saat ini hanya mengontrol editing; untuk memastikan teks tampil dengan benar saat review, kamu perlu menyesuaikan template. Setelah kamu menambahkan field, kamu mungkin ingin menambahkan mereka ke depan / belakang kartu-kartumu. Untuk informasi lebih lanjut tentang itu, silahkan lihat bagian templates.
Mengganti Dek / Tipe NoteKetika menambah, kamu bisa meng-klik tombol di pojok kiri atas untuk mengganti tipe note, dan tombol di pojok kanan atas untuk mengganti dek. Window yang terbuka tidak hanya memungkinkan kamu untuk memilih dek / tipe note, tapi juga untuk menambah dek baru atau memanage tipe notemu. Menggunakan Dek Dengan TepatDek didesain untuk membagi kontenmu ke kategori yang luas yang ingin kamu pelajari secara terpisah, seperti Bahasa Inggris, Geografi, dan seterusnya. Kamu mungkin tergoda untuk membuat banyak dek kecil agar kontenmu tertata rapi, seperti "buku geografi bab 1", atau "kata kerja yang berhubungan dengan makanan", tapi ini tidak disarankan, karena alasan berikut:
Alih-alih membuat banyak dek kecil, lebih baik menggunakan tag dan/atau field untuk mengklasifikasi kontenmu. Contohnya, alih-alih membuat dek "food verbs", kamu bisa menambahkan kartu-kartu itu ke dek belajar bahasamu, dan men-tag kartu itu dengan "food" dan "verb". Setiap kartu bisa punya lebih dari 1 tag, yang berarti kamu bisa melakukan hal seperti mencari semua kata kerja, atau semua kosakata yang berhubungan dengan makanan, atau semua kata kerja yang berhubungan dengan makanan. Untuk orang-orang yang sangat rapi, kamu bisa menambahkan field ke note-mu untuk mengklasifikasi kontenmu, seperti "buku", "halaman", dan seterusnya. Anki mensupport pencarian di field tertentu, yang berarti kamu bisa mencari "buku:'judul bukuku' halaman:63" dan menemukan apa yang kamu cari dengan segera. Fitur custom study dan filtered deck milik Anki (dibahas belakangan di manual) membuat pencarian ini semakin powerful, karena kamu bisa membuat dek sementara dari hasil pencarian. Ini memungkinkan kamu untuk mereview kontemu bercampur bersama dalam 1 dek most of the time (untuk memori yang optimal), tapi juga memungkinkan kamu membuat dek sementara ketika kamu perlu untuk fokus ke materi tertentu, seperti saat sebelum tes/ulangan. Aturan umumnya adalah jika kamu selalu ingin mempelajari sebuah konten secara terpisah, konten itu sebaiknya berada di dek normal yang baru, dan jika kamu hanya kadang-kadang perlu mempelajarinya terpisah (seperti untuk tes, dll), maka tag/field dan filtered deck lebih baik. BelajarKetika kamu sudah menemukan dek yang kamu suka / memasukkan beberapa note, saatnya mulai belajar. DekBelajar di Anki terbatas hanya pada dek yang sedang terpilih, dan dek apapun yang ada di dalamnya. Kamu bisa mengganti dek yang sedang terpilih dengan mengklik "Decks" di window utama. Di layar decks, dek-dekmu akan ditampilkan dalam bentuk list. Ada 2 kolom angka, due dan new. Due adalah jumlah kartu yang menunggu review dan kartu yang sedang dipelajari. New adalah jumlah kartu yang menunggu untuk dipelajari hari itu. Ketika kamu mengklik dek, dek itu akan menjadi current deck, dan Anki akan pindah ke layar belajar. Kamu bisa mengklik tombol roda gigi di kanan dek untuk merename atau menghapus dek, atau mengkustomisasi option mereka. Study OverviewSetelah mengklik dek untuk dipelajari, kamu akan melihat layar yang menunjukkan berapa banyak kartu yang dijadwalkan hari ini. Ada tiga tipe:
Untuk memulai sesi belajar, klik tombol Study Now. Anki akan menunjukkan kamu kartu-kartu sampai kartu-kartu yang perlu ditunjukkan hari ini habis. Ketika belajar, kamu bisa kembali ke overview dengan menekan tombol "s" di keyboard. PertanyaanKetika sebuah kartu ditampilkan, hanya pertanyaannya yang ditampilkan pada awalnya. Setelah memikirkan apa jawabannya, klik tombol Show Answer atau tekan tombol spacebar. Kemudian jawabannya akan ditunjukkan. Tidak mengapa jika kamu butuh waktu untuk mengingat jawabannya, tapi aturan umumnya adalah jika kamu tidak bisa menjawab dalam 10 detik, lebih baik menyerah dan melihat jawabannya daripada terus berusaha mengingat. Ketika jawabannya ditampilkan, bandingkanlah jawaban yang kamu pikirkan dengan jawaban yang ditampilkan, dan beritahu Anki seberapa baik kamu mengingat jawaban itu. Jika kamu tidak percaya diri untuk membandingkan jawabanmu dengan akurat, kamu bisa meminta Anki untuk memintamu mengetikkan jawaban, alih-alih sekedar menunjukkan jawabannya ke kamu. Jika kamu ingin melakukan ini, silahkan lihat bagian templates. Jumlah tombol yang ada untuk penilaian tergantung pada apakah kartu itu sedang dipelajari atau direview. LearningKetika mempelajari kartu baru, atau mempelajari ulang kartu yang telah kamu lupakan, Anki akan menunjukkan kamu kartu-kartu itu 1 kali / lebih untuk membantumu mengingatnya. By default ada 2 step: 1 menit dan 10 menit. Kamu bisa mengganti jumlah step dan delay di antaranya dengan menekan tombol Options selagi melihat study overview. Ada 3 tombol rating ketika belajar: Again menggerakkan kartu kembali ke langkah pertama. Good memindahkan kartu ke langkah berikut. Jika kartu ada di langkah terakhir, kartu diubah menjadi review card. By default, setelah kartu mencapai akhir dari learning step, kartu itu akan ditampilkan lagi esok harinya, dan kemudian dengan delay yang semakin lama. Easy dengan segera meng-convert kartu menjadi review card, meskipun masih ada steps. By default, kartu akan ditunjukkan lagi 4 hari kemudian, dan kemudian dengan delay yang semakin lama. Tombol easy tidak akan ditampilkan jika kamu ada di mode belajar ulang dan iu akan memberi interval yang sama dengan "good." Ketika kartu dilihat untuk pertama kali, mereka mulai dari step satu. Ini berarti menjawab Good di sebuah kartu untuk pertama kali akan menampilkannya 1 kali lagi dalam 10 menit, dan step 1 menit awal akan dilewati. Kamu bisa menggunakan tombol 1, 2, dan 3 di keyboard untuk memilih tombol tertentu, di mana 1 = Again. Menekan spacebar akan memilih Good. Jika tidak ada kartu lain untuk ditunjukkan ke kamu hari itu, Anki by default menunjukkan learning card lagi meskipun jedanya belum lewat sepenuhnya. Jika kamu lebih suka menunggu jeda belajar yang penuh, kamu bisa mengganti behavior ini di preferences. MereviewKetika sebuah kartu sudah dipelajari sebelumnya dan sudah siap untuk direview lagi, ada 4 tombol untuk menilai jawabanmu: Again menandai jawabanmu sebagai salah, dan meminta Anki untuk menunjukkan kartu ini lebih sering di masa depan. Silahkan lihat bagian lapses untuk informasi lebih lanjut tentang bagaimana lapsed reviews ditangani. Hard menunjukkan kartu dengan jeda yang sedikit lebih lama daripada jeda yang terakhir, dan memberitahu Anki untuk lebih konservatif dalam menjadwalkan kartu ini di masa mendatang. Good memberitahu Anki bahwa jedanya sudah tepat, dan tingkat kesulitan kartu ini tidak perlu diturunkan atau dinaikkan. Di default starting easiness, kartu akan ditunjukkan lagi kira-kira 2 1/2 kali lebih lama dari sebelumnya - jadi jika kamu menunggu 10 hari untuk melihat kartu ini sebelumnya, jeda berikutnya sekitar 25 hari. Easy memberitahu Anki kamu mendapati jedanya terlalu pendek. Kartu akan dijadwalkan lebih jauh ke masa depan daripada Good, dan Anki akan lebih agresif dalam menjadwalkan kartu di masa depan. Karena Easy dengan cepat meningkatkan jeda, paling baik ini digunakan hanya untuk kartu-kartu yang paling mudah saja. Biasanya kamu seharusnya mendapati dirimu menjawab Good. Seperti kartu yang masih dipelajari, kamu bisa menggunakan 1-4 di keyboard untuk memilih jawaba. Menekan spacebar akan memilih Good. Due Count dan Estimasi WaktuKetika hanya pertanyaan yang ditampilkan, Anki menampilkan tiga angka seperti 12 + 34 + 56. Mereka merepresentasikan kartu-kartu baru, kartu-kartu yang sedang dipelajari, dan kartu-kartu untuk direview. Jika kamu ingin tidak melihat angka-angka, kamu bisa mematikan mereka di preferences Anki.
Ketika jawabannya ditampilkan, Anki menunjukkan estimasi kapan kartu akan ditunjukkan lagi di atas setiap tombol. Jika kamu ingin tidak melihat estimasinya, kamu juga bisa mendisable mereka di preferences Anki.
Editing dan Lain-LainKamu bisa mengklik tombol Edit di pojok kiri bawah untuk mengedit current note. Ketika kamu selesai mengedit, kamu akan kembali ke study. Layar editing sangat mirip dengan layar add notes. Di pojok kanan bawah adalah tombol berlabel More. Tombol ini menyediakan beberapa operasi lain yang bisa kamu lakukan di current card / note: Mark Note Tambahkan tag "marked" ke current note, supaya note ini bisa ditemukan dengan mudah di browser. Fitur ini berguna ketika kamu ingin mengambil sebuah tindakan ke note ini di lain waktu, seperti me-lookup sebuah kata ketika kamu pulang. Kartu yang di-mark juga menunjukkan bintang kecil di pojok kanan atas pada saat review. Kubur Kartu / NoteSembunyikan sebuah kartu atau semua kartu dari sebuah note dari proses review sampai mereka secara manual di-unsuspend (dengan cara mengklik tombol suspend di browser). Berguna jika kamu tidak ingin me-review sebuah kartu untuk jangka waktu tertentu, tapi tidak ingin menghapusnya. Hapus NoteMenghapus note dan semua kartunya. Card OptionsMengedit opsi-opsi untuk current card. Replay AudioJika kartu punya audio, maka audionya akan diputar kembali. Rekam Suara SendiriMerekan suaramu sendiri untuk tujuan mengecek pronunciation. (Rekaman ini bersifat temporary dan akan hilang ketika kamu berpindah ke kartu berikut. Jika kamu ingin menambahkan audio ke kartu secara permanen, kamu bisa melakukan itu di window edit.) Replay Suara SendiriReplay rekaman sebelumnya dari suara kita sendiri. Display OrderStudying will show cards from the selected deck, and any decks it contains. Thus if you select "French", "French::Vocab" and "French::My Textbook::Lesson 1" and so on will all be shown as well. For new cards and reviews, Anki fetches cards from the decks in alphabetical order. So in the above example, you would get cards first from "French", then "My Textbook", and finally "Vocab". You can use this fact to control the order cards appear in, placing high priority cards in decks that appear higher in the list. When computers sort text alphabetically, the "-" character comes before alphabetical characters, and "~" comes after them. So if you called the deck "-Vocab", your vocab cards would appear first, and you could call the other deck "~My Textbook" to force it to appear after everything else. New cards and reviews are fetched separately, and Anki won’t wait until both queues are empty before moving on to the next deck, so it’s possible you’ll be exposed to new cards from a different deck to the reviews or vice versa. If you don’t want that, click directly on the deck you want to study instead of one of the parent decks. Cards in learning are fetched from all decks at once, because they are somewhat time critical, and shown in the order they are due. For more fine-grained ordering of new cards, you can change the order in the browser. To control the order reviews from a given deck appear in, or change new cards from ordered to random order, please see the deck options. Siblings and BuryingRecall from the basics that Anki can create more than one card for each thing you input, such as a front→back card and a back→front card, or two different cloze deletions from the same text. These related cards are called siblings. Anki tries to ensure siblings are not shown close together, as that’s usually not helpful. When you answer a card that has siblings, Anki prevents the card’s siblings from being shown in the same session by automatically burying them. Buried cards are hidden from review until the clock rolls over to a new day or you manually unbury them using the "Unbury" button that’s visible at the bottom of the screen after clicking on a deck in the deck list. Anki will only bury siblings that are new cards, or review cards. It will not hide cards in learning, as time is of the essence for those cards, and technical reasons also prevent this. On the other hand, when you study a learning card, any new/review siblings will be buried. If you want to see more than one card of a note when learning new cards, you can stop Anki from burying cards in the deck options. Keyboard ShortcutsMany of the common operations in Anki have keyboard shortcuts. Most of them are discoverable in the interface: menu items list their shortcuts next to them, and hovering the mouse cursor over a button will generally show its shortcut in a tooltip. When studying, either space or enter will show the answer. When the answer is shown, you can use space or enter to select the Good button. You can use the 1-4 keys to select a specific ease button. Many people find it convenient to answer most cards with space and keep one finger on 1 for when they forget. The "Study Deck" item in the Tools menu allows you to quickly switch to a deck with the keyboard. You can trigger it with the / key. When opened, it will display all of your decks, and show a filter area at the top. As you type characters, Anki will display only decks matching the characters you type. You can add a space to separate multiple search terms, and Anki will show only decks that match all the terms. So "ja 1" or "on1 ja" would both match a deck called "Japanese::Lesson1". Falling BehindIf you fall behind in your reviews, Anki will prioritize cards that have been waiting the longest. It does this by taking the 200 cards that have been waiting the longest, and showing them to you in a random order up until your daily review limit. This ordering ensures that no cards will be left waiting indefinitely, but it means that if you introduce new cards, their reviews won’t appear until you’ve gotten through your backlog. If you wish to change the order of the overdue reviews, you can do so by creating a filtered deck, as described in a later section of the manual. When you answer cards that have been waiting for a while, Anki factors in that delay when determining the next time a card should be shown. Please see the frequently asked questions section at the bottom of the manual for more information. EditingFeaturesOn the top left are two buttons, which open the fields and cards windows. On the right are buttons that control formatting. Bold, italic and underline work like they do in a wordprocessing program. The next two buttons allow you to subscript or superscript text, which is useful for chemical compounds like H2O or simple math equations like x2. The icon with the red cross clears any formatting in the currently selected text. This includes colours, bold, etc. The next button allows you to change text colour. You can use the paperclip button to select audio, images and videos from your computer’s hard drive to attach to your notes. Alternatively, you can copy the media onto your computer’s clipboard (for instance, by right-clicking an image on the web and choosing Copy Image) and paste it into the field that you want to place it in. For more information about media, please see the media section. The red circle button allows you to record your voice and attach it to the note. The last button allows you to add advanced mathematical markup called LaTeX to your notes, or edit the underlying formatting. Most of the buttons have shortcut keys. You can hover the mouse cursor over a button to see its shortcut. For the LaTeX/HTML menu, use Ctrl+t then t, e or m to select the three LaTeX types, and Ctrl+shift+x to edit the HTML. Cloze DeletionCloze deletion is the process of hiding one or more words in a sentence. For example, if you have the sentence: Canberra was founded in 1913. …and you create a cloze deletion on "1913", then the sentence would become: Canberra was founded in [...]. For more information on why you might want to use cloze deletion, see rule number 5 here. Anki provides a special cloze deletion type of note, to make creating clozes easy. To create a cloze deletion note, select the Cloze note type, and type some text into the "Text" field. Then drag the mouse over the text you want to hide to select it, and click the […] button. Anki will replace the text with: Canberra was founded in {{c1::1913}}. The "c1" part means that you’ve created one cloze deletion on the sentence. You can create more than one deletion if you’d like. For example, if you select Canberra and click […] again, the text will now look like: {{c2::Canberra}} was founded in {{c1::1913}}. When you add the above note, Anki will create two cards. The first card will show: Canberra was founded in [...]. …on the question, with the full sentence on the answer. The other card will have the following on the question: [...] was founded in 1913. You can also elide multiple sections at once. In the above example, if you change c2 to c1, only one card would be created, with both Canberra and 1913 hidden. If you hold down alt (option on a Mac) while creating a cloze, Anki will automatically use the same number instead of incrementing it. Cloze deletions don’t need to fall on word boundaries, so if you select "anberra" rather than "Canberra" in the above example, the question would appear as "C[…] was founded in 1913", giving you a hint. You can also give yourself hints that don’t match the text. If you replace the original sentence with: Canberra::city was founded in 1913 …and then press […] after selecting "Canberra::city", Anki will treat the text after the two colons as a hint, changing the text into: {{c1::Canberra::city}} was founded in 1913 When the card comes up for review, it will appear as: [city] was founded in 1913. For information on testing your ability to type in a cloze deletion correctly, please see the section on typing answers. Please note that overlapping clozes are not supported. For example, the following field is invalid: {{c1::Canberra was {{c2::founded}}}} in 1913 If you need to create clozes from overlapping text, add another Text field to your cloze, add it to the template, and then when creating notes, paste the text into two separate fields, like so: Text1 field: {{c1::Canberra was founded}} in 1913 Text2 field: {{c2::Canberra}} was founded in 1913 The default cloze note type has a second field called Extra, that is shown on the answer side of each card. It can be used for adding some usage notes or extra information. The cloze note type is treated specially by Anki, and can not be created based on a regular note type. If you wish to customize it, please make sure to clone the existing Cloze type instead of another type of note. Inputting Foreign Characters and AccentsWindows, Mac and Linux provide built-in support for other languages. There is no need to buy a different keyboard. Some flashcard programs try to save you the trouble of enabling support on your computer, and provide a clickable set of buttons for each foreign character, or provide their own conversion utilities. However, this makes input a lot slower. One person writes: By the way, if you’re learning any foreign language with exotic characters, even just the Spanish ñ, I encourage you to look into how to efficiently type those characters. When I first started studying Japanese, I didn’t know how to type Japanese characters. I’d just copy-and-paste things to make flashcards and/or communicate with people. And if I wanted to type something original, that meant painstakingly finding, then copying-and-pasting each individual character. With my U.S.-bought computer, it was kind of a pain to get Japanese IME support (and it involved borrowing a Windows XP disk from a friend since you need one to install Microsoft’s Japanese IME). But it was worth it a million times over. In retrospect, I should have done that as one of my very first steps when I first set out to learn Japanese. If you’re learning a right to left language, there are lots of other things to consider. Please see this page for more information. To learn more, please search Google for something like "input Japanese on a mac" or "input German on windows", as there is plenty of good information available. Cards and TemplatesAs mentioned in the basics section, Anki creates cards automatically for use, based on your notes. You can configure the cards Anki should create and what should be shown on them when adding or editing material by clicking on the "Cards…" button. Please read the basics section if you have not done so already, as the rest of this section assumes that you have read it. At the top of the window you’ll see a set of tabs, one for each card type. You can click the plus on the right if you’d like to add another card type to the current note type. Similarly, if you’d like to delete one, you can do so by clicking the X on the tab. On the top left is the front template, on the bottom left is the back template, and in between them is the card styling section. In Anki, templates are written in HTML, which is the language that web pages are written in. The styling section is CSS, which is the language used for styling web pages. On the right is a preview of the front and back of the currently selected card. If you opened the window while adding notes, the preview will be based on the text you had typed into the Add Notes window. If you opened the window while editing a note, the preview will be based on the content of that note. If you opened the window from Tools → Manage Note Types, Anki will display each field’s name in parentheses in place of content. At the bottom of the window is a More button that gives you options to rename or reorder the cards, as well as the following two options:
Reverse CardsIf you want to reverse your existing cards, when editing a card, click the Cards button, and then Flip. If you want to create cards that go in both directions (e.g., both "ookii"→"big" and "big"→"ookii"), you have several options. The simplest is to select the "Basic (and reversed card)" built-in note type. This will generate two cards, one in each direction. If you want to generate reverse cards for only some of your material (perhaps you only want to take the time to study reverses for the most important material, or some of your cards don’t make sense reversed), you can select the "Basic (optional reversed card)" note type. This note type generates a forward-only card when you fill in only the first two fields; if you additionally enter something in the "Add Reverse" field (like a y), Anki will generate a reverse card as well. The contents of this field will never be displayed on a card. If you later decide you don’t want a reverse card that you added, you can delete it by removing the text from the "Add Reverse" field. Similarly, if you want to add a reverse card, you can add text to the “Add Reverse” field. If you didn’t select the optional reverse note type to begin with, you can use Edit → Change Note Type in the browser to change it.
If you’re using a more complex note type (for instance, one with three cards) and you wish to generate specific cards only in certain situations, please see the conditional replacement section. Basic TemplatesThe most basic template looks something like this: When you place text within curly brackets, Anki looks for a field by that name, and replaces the text with the actual content of the field. You can include as many fields as you wish.
Your templates are not limited to a list of fields. You can also include arbitrary text on your templates. For example, if you’re studying capital cities, and you’ve created a note type with a "Country" field, you might create a question like this: What's the capital city of {{Country}}? The default back template will look something like this: {{FrontSide}} This means "show me the text that’s on the question, then a divider line, and then the back field". The id=answer part tells Anki where the divider is between the question and the answer. This allows Anki to automatically scroll to the spot where the answer starts when you press show answer on a long card (especially useful on mobile devices with small screens). If you don’t want a horizontal line at the beginning of the answer, you can use another HTML element such as a paragraph or div instead. Checking Your AnswerIf you’d like to type in the answer and have Anki compare your input to the real answer, you can do so by changing your template. Imagine your front and back templates look like: {{FrontSide}} To type in the foreign word and check if you are correct, you need to edit your question template so that it looks like this: {{Native Word}} {{type:Foreign Word}} Note that we have added type: in front of the field we want to compare, and it is copied into the answer section as well. If you don’t have FrontSide on the back of your card, you will need to add the same type directive to the answer side as well. When reviewing, Anki will display a text box where you can type in the answer, and upon hitting enter or showing the answer, Anki will show you which parts you got right and which parts you got wrong. The text box’s font size will be the size you configured for that field (via the "Fields" button when editing). This feature does not change how the cards are answered, so it’s still up to you to decide how well you remembered or not.
Anki uses a monospaced font for the answer comparison so that the "provided" and "correct" sections line up. If you wish to override the font, you can put the following at the bottom of your styling section: code#typeans { font-family: "myfontname"; } Advanced users can override the default type-answer colours with the css classes typeGood, typeBad and typeMissed. At the time of writing, only the computer version of Anki supports these classes. It is also possible to type in the answer for cloze deletion cards. To do this, add {{type:cloze:Text}} to both the front and back template, so the back looks something like this: {{FrontSide}} Note that unlike with regular cards, this must be added to both sides on a cloze note type. If there are multiple sections elided, you can separate the answers in the text box with a comma.
NewlinesThe template language needs a special command to create a new line. For example, if you wrote the following in the template: In the preview, you’d actually see: To add a new line, you need to add a The br code stands for "(line) br(eak)". The same applies for fields. If you want to display two fields, one on each line, you would use {{Field 1}} Card StylingIn between the front and back template is the card styling. Here you can change the background colour of the card, the default font, the text alignment, and so on. The standard options available to you are: font-family The name of the font to use on the card. If your font has spaces in it like "MS Unicode", then you need to surround the font name in double quotes as in this sentence. It is also possible to use multiple fonts on one card; for information on that, please see below. font-sizeThe size of the font in pixels. When changing it, make sure you leave px at the end. text-alignWhether the text should be aligned in the center, left, or right. colorThe color of the text. Simple color names like blue, lightyellow and so on will work, or you can use HTML color codes to select arbitrary colors. Please see this webpage for more information. background-colorThe color of the card background. Arbitrary CSS can be placed in the styling section - advanced users may wish to do things like add a background image or gradient for example. The styling is shared between all cards, which means that when you make an adjustment it will affect all cards for that note type. It is also possible to specify card-specific styling. The following example will use a yellow background on all cards except the first one: .card { background-color: yellow; } .card1 { background-color: blue; } One other thing to note is that Anki shrinks images to fit the screen by default. You can change this by adding the following to the bottom of your styling section: img { max-width: none; max-height: none; }
Field StylingThe default styling applies to the whole card. You can also make certain fields or part of the card use a different font, color, and so on. This is particularly important when studying foreign languages, as Anki will sometimes be unable to correctly display characters unless an appropriate font has been chosen. Say you have an "Expression" field, and you want to give it the OSX Thai font "Ayuthaya". Imagine your template already reads: What is {{Expression}}? {{Notes}} What we need to do is wrap the text we want to style in some HTML. We will put the following in front of the text: And the following behind it: By wrapping the text like the above, we tell Anki to style the wrapped text with a custom style called "mystyle1", which we will create later. Thus if we wanted the entire "What is …?" expression to use the Thai font, we would use:
And if we wanted only the expression field itself to use the Thai font, we’d use: What is After we’ve edited the template, we now need to move to the Styling section between the templates. Before editing it, it should look something like: .card { font-family: arial; font-size: 20px; text-align: center; color: black; background-color: white; } Add your new style to the bottom, so it looks like: .card { font-family: arial; font-size: 20px; text-align: center; color: black; background-color: white; } .mystyle1 { font-family: ayuthaya; } You can include any styling you want in the style. If you wanted to increase the font size too, you’d change the mystyle1 section to look like: .mystyle1 { font-family: ayuthaya; font-size: 30px; } It’s also possible to bundle custom fonts with your deck, so you don’t need to install them on your computer or mobile device. Please see the installing fonts section for more info. Hint FieldsIt’s possible to add a field to the front or back of a card, but make it hidden until you explicitly show it. We call this a hint field. Before adding a hint, please bear in mind that the easier you make it to answer a question in Anki, the less likely you are to remember that question when you encounter it in real life. Please have a read about the minimum information principle on http://www.supermemo.com/articles/20rules.htm before proceeding. First, you’ll need to add a field to store the hint in if you have not already. Please see the fields section if you’re not sure how to do this. Assuming you’ve created a field called MyField, you can tell Anki to hide it by default by adding the following to your template: If MyField is blank, nothing will be shown. If you show the hint on the question and then reveal the answer, the hint will be hidden again. If you want to have the hint always revealed when the answer is shown, you will need to remove {{FrontSide}} from your back template and manually add the fields you wish to appear.
Special FieldsThere are some special fields you can include in your templates: The note's tags: {{Tags}} The type of note: {{Type}} The card's deck: {{Deck}} The type of card ("Forward", etc): {{Card}} The front text (only valid in back template): {{FrontSide}} FrontSide will not include any audio that was on the front side of the card. If you wish to have the same audio play on both the front and back of the card, you’ll need to manually include the audio fields on the back as well. As with other fields, special field names are case sensitive. Card Generation & DeletionAnki will not create cards with empty front sides. Thus if "My Field" was empty, and one card’s front template included only that field, the card would not be created. If no cards can be created, then the Add Notes window will warn you and not allow the note to be added until at least one card would be generated. When you edit a previously added note, Anki will automatically create extra cards if they were previously blank, but no longer so. If your edits have made some cards blank, Anki will not delete them immediately, as that could lead to accidental data loss. To remove empty cards, in the main window go to Tools → Empty Cards. You will be shown a list of empty cards and be given the option to delete them. It is not possible to manually delete individual cards (rather than notes), because they would end up being recreated the next time the note was edited. Instead, you should make the relevant conditional replacement fields empty and then use the Empty Cards option. (If you don’t have fields set up to control card generation, please see the sections on reversed cards and selective card generation.) If you need to do this for many notes at once, you can use the find and replace feature in the browser. Anki does not consider special fields or non-field text for the purposes of card generation. Thus if your front template looked like the following, no card would be generated if Country was empty: Where is {{Country}} on the map? Selective Card GenerationPlease read the previous section before you read this. Sometimes you may want to generate extra cards for only some of your material, such as testing your ability to recall the most important words of a set. You can accomplish this by adding an extra field to your note, and adding some text into it (such as "1") on the notes you want the extra card. Then in the card template, you can make the card’s creation depend on that field being non-empty. For more information on this, please see the conditional replacement section below. Media & LaTeX ReferencesAnki does not scan templates for media references, because it is slow to do so. This has implications for including media on the template. Static Sounds/ImagesIf you wish to include images or sounds on your cards that are the same for every card (eg, a company logo at the top of each card):
Field ReferencesMedia references to fields are not allowed. They may or may not display during review, and will not work when checking for unused media, importing/exporting, and so on. Examples that won’t work: [sound:{{Word}}] [latex]{{Field 1}}[/latex] Instead, you should include the media references in the field. Please see the importing section for more information. Conditional ReplacementIt is possible to include certain text on your cards only if a field is empty or not empty. An example: This text is always shown. {{#FieldName}} This text is only shown if FieldName has text in it {{/FieldName}} {{^FieldName}} This text is only shown if FieldName is empty {{/FieldName}} A real life example is only showing a label if the field is not empty: {{#Tags}}Tags: {{Tags}}{{/Tags}} You can also use conditional replacement to control which cards are generated. This works since Anki will not generate cards which would have a blank front side. For example, consider a card with two fields on the front: Normally a card would be generated if either the expression or notes field had text in it. If you only wanted a card generated if expression was not empty, then you could change the template to this: {{#Expression}} {{Expression}} {{Notes}} {{/Expression}} And if you wanted to require both fields, you could use two conditional replacements: {{#Expression}} {{#Notes}} {{Expression}} {{Notes}} {{/Notes}} {{/Expression}} Keep in mind that, as mentioned in the card generation section, this only works when you place the conditional replacement code on the 'front' of the card; if you do this on the back, you will simply end up with cards with a blank back side. Similarly, since this works by checking if the front field would be empty, it is important to make sure you wrap the entire front side in the conditional replacement; for instance, the following would not work as expected: {{#Expression}} {{Expression}} {{/Expression}} {{Notes}} The default behaviour can be thought of as an "OR" condition - cards are created if the first field is non-empty, OR the second field is non-empty, and so on. The behaviour above can be thought of as an "AND" condition - cards are created if the first field is non-empty AND the second field is non-empty, and so on. A caveat: Anki is not currently able to mix AND and OR conditions. Thus the following template, which says "require expression and notes, or field 3", would not work: {{#Expression}} {{#Notes}} {{Expression}} {{Notes}} {{/Notes}} {{/Expression}} {{Field 3}} Another caveat is that negated expressions can not be used to control card generation. That is, wrapping a template in {{^Field}} will not do what you expect. Cloze TemplatesPlease see the cloze deletion section for background info. The cloze note type functions differently from regular note types. Instead of a customizable number of card types, it has a single type which is shared by all cloze deletions on a note. As mentioned in the card generation section above, generation of regular cards depends on one or more fields on the question being non-empty. Cloze deletion note types are generated differently:
Conditional generation provides a special field so you can check which card you are rendering. If you wanted to display the "hint1" field on the first cloze, and "hint2" field on the second cloze for example, you could use the following template: {{cloze:Text}} {{#c1}} {{Hint1}} {{/c1}} {{#c2}} {{Hint2}} {{/c2}} Other HTMLYour templates can contain arbitrary HTML, which means that all the layout possibilities used on internet web pages can also be used on your cards. Things like tables, lists, images, links to external pages and so on are all supported. With tables for example, you could change the layout so that the front and back of a card appear on the left and right instead of the top and bottom. Covering all of HTML’s features is outside the scope of this manual, but there are plenty of good introductory guides to HTML available on the web if you’d like to learn more. Dictionary LinksYou can also use field replacement to create dictionary links. Imagine you’re studying a language and your favourite online dictionary allows you to search for text using a web URL like: http://example.com/search?q=myword You could add an automatic link by doing the following in your template: {{Expression}} check in dictionary The template above would allow you to search for each note’s expression by clicking on the link while reviewing. There is a caveat however, so please see the next section. HTML StrippingLike templates, fields are stored in HTML. In the dictionary link example above, if the expression contained the word "myword" without any formatting, then the HTML would be the same: "myword". But when you include formatting in your fields, extra HTML is included. If "myword" was bolded for example, the actual HTML would be "myword". This can present a problem for things like dictionary links. In the above example, the dictionary link would end up being: check in dictionary The extra characters in the link would likely confuse the dictionary site, and you’re likely not to get any matches. To solve this, Anki provides the ability to strip formatting from fields when they are replaced. If you prefix a field name with text:, Anki will not include any formatting. So a dictionary link that worked even with formatted text would be: check in dictionary Browser AppearanceIf your card templates are complex, it may be difficult to read the question and answer columns (called "Front" and "Back") in the card list. The "browser appearance" option allows you to define a custom template to be used only in the browser, so you can include only the important fields and change the order if you desire. The syntax is the same as in standard card templates. RTL (right to left) textIf you’re learning a language that reads from right to left, you’ll need to adjust the template like so:
If you were linked directly here, please see the start of this section for more information. Platform-Specific CSSAnki defines some special CSS classes that allow you to define different styling for different platforms. The example below shows how to vary the font depending on where you’re reviewing: .win .jp { font-family: "MS Mincho"; } .mac .jp { font-family: "Hiragino Mincho Pro"; } .linux .jp { font-family: "Kochi Mincho"; } .mobile .jp { font-family: "Hiragino Mincho ProN"; } And in the template:
You can also use properties like .gecko, .opera, and .ie to select particular browsers when using AnkiWeb. Please see http://rafael.adm.br/css_browser_selector/ for a full list of options. Installing FontsIf you’re using Anki on a work or school computer where you don’t have permission to install new fonts, or you’re using Anki on a mobile device, it’s possible to add fonts directly to Anki. To add a font to Anki, it must be in the TrueType format. TrueType fonts have a filename ending in .ttf, such as "Arial.ttf". Once you’ve located a TrueType font, we’ll need to add it to the media folder:
After that, we need to update the template:
@font-face { font-family: myfont; src: url('_arial.ttf'); }
After that, you can either change the font for the entire card, or for individual fields. To change the font for the entire card, simply locate the font-family: line in the .card section and change the font to "myfont". To change the font for only certain fields, please see the Field Styling instructions above.
Fonts on a MacEmbedded fonts currently do not work on OS X. It is still possible to use custom fonts, but they need to be installed system wide. You can set up Anki to use the system font on a Mac computer, and an embedded font elsewhere. On your front or back template, wrap the field you want to style in the following code, replacing "FieldName" with the name of your field. {{FieldName}} In the styling section, in addition to the font-face line described above, add the following: .mystyle { font-family: myfont; } .mac .mystyle { font-family: Helvetica; } Replace "Helvetica" with the name of the font you installed on your system. Keep "myfont" as is, as it references the font you embedded. JavascriptAs Anki cards are treated like webpages, it is possible to embed some Javascript on your cards via inline script tags in the template. As this is an advanced feature, we can not guarantee any particular Javascript will work, and can not provide any assistance when things are not working. If in doubt, it’s best to avoid it. Each Anki client may implement card display differently, so you will need to test the behaviour across platforms. A number of clients are implemented by keeping a long running webpage and dynamically updating parts of it as cards are reviewed, so your Javascript will need to update sections of the document rather than doing things like document.write. Functions like window.alert are also not available. Anki will write javascript errors to the terminal, so if you’re running on a Mac or Windows computer, you’ll need to manually catch the errors and write them to the document to see them. There is no debugger available, so to figure out problems you’ll need to break down your code until you discover which parts are causing problems. Profiles & PreferencesProfilesIf more than one person wants to use Anki on your computer, you can set up a separate profile for each user. Each user profile has their own collection, and own program settings. Profiles are configured by going to the File menu and choosing "Switch Profile".
It’s possible to assign a password to your profile by going to Anki’s preferences window. Your collection is not encrypted, and people can still tamper with the file if they locate it on your hard disk. The password protection is mainly intended to make it harder for students to tamper with each other’s decks and settings in a classroom environment. PreferencesThe preferences are available from the Tools menu on Windows/Linux, or the Anki menu on a Mac. If you have multiple profiles, any changes you make will apply only to the current profile. Basic The Strip HTML option controls whether Anki should strip the formatting from text you paste into the editor. By default, Anki strips the formatting from pasted text so that you can control formatting in your card templates instead. If you’d prefer the formatting to be preserved (so you can paste bolded text, etc), you can uncheck this option. By default Anki pastes images on the clipboard as JPG files, to save disk space. You can use the Paste clipboard images as PNG option to paste as PNG images instead. PNG images support transparent backgrounds and are lossless, but they usually result in much larger file sizes. The first drop-down box controls how note types and decks interact. The default of "When adding, default to current deck" means that Anki saves the last-used note type for each deck and selects it again then next time you choose the deck (and, in addition, will start with the current deck selected when choosing Add from anywhere). The other option, "Change deck depending on note type," saves the last-used deck for each note type (and opens the add window to the last-used note type when you choose Add). This may be more convenient if you always use a single note type for each deck. The second drop-down box controls when new cards are shown: either mixed with, before, or after all reviews. The Next day starts at option controls when Anki should start showing the next day’s cards. The default setting of 4AM ensures that if you’re studying around midnight, you won’t have two days' worth of cards shown to you in one session. If you stay up very late or wake up very early, you may want to adjust this to a time you’re usually sleeping. The Learn ahead limit tells Anki how to behave when there is nothing left to study in the current deck but cards in learning. The default setting of 20 minutes tells Anki that cards should be shown early if they have a delay of less than 20 minutes and there’s nothing else to do. If you set this to 0, Anki will always wait the full delay, showing the congratulations screen until the remaining cards are ready to be reviewed. Timeboxing is a technique to help you focus by dividing a longer activity (such as a 30 minute study session) into smaller blocks. If you set the timebox time limit to a non-zero number of minutes, Anki will periodically show you how many cards you’ve managed to study during the prescribed time limit. Deck OptionsDeck options are accessed by selecting a deck on the Decks screen, and then clicking Options at the bottom of the screen. Anki allows you to share options between different decks, to make updating options in many decks at once easy. To do this, options are grouped into an options group. By default, all newly created decks use the same options group, and decks imported from previous versions of Anki have separate option groups. If you’d like to alter the settings on one deck but not other decks, click the gears icon in the top right and add a new options group. Please only change options that you fully understand, as inappropriate adjustments may render Anki less effective.
New CardsSteps controls the number of learning repetitions, and the delay between them. Please see the learning section for an overview of how the steps work. Steps over a day (1440 minutes) are supported as well - if you want, you can define a schedule like 10 minutes, 1 day, 3 days and then finally 7 days before the card becomes a review card.
Order controls whether Anki should add new cards into the deck randomly, or in order. When you change this option, Anki will re-sort the decks using the current option group. One caveat with random order mode: if you review many of your new cards and then add more new cards, the newly added material is statistically more likely to appear than the previously remaining cards. To correct this, you can change the order to ordered mode and back again to force a re-sort.
New cards/day tells Anki how many new cards you’d like introduced on each day you open the program. Missed days will not cause the cards to pile up. The limit applies to the current deck and subdecks. This means if "French" has a limit of 20 cards and "French::Lesson 1" and "French::Lesson 2" both have limits of 15 cards, you’ll get 15 cards from lesson 1 but only 5 cards from lesson 2.
Graduating interval is the delay between answering Good on a card with no steps left, and seeing the card again. Easy interval is the delay between answering easy on a card and seeing it again. Starting ease controls the easiness that cards start out with. It is set when a card graduates from learning for the first time. It defaults to 250%, meaning that once you’ve finished learning a card, answering "Good" on subsequent reviews will increase the delay by approximately 2.5x (eg if the last delay was 10 days, the next delay would be 25 days). Based upon how you rate the card in subsequent reviews, the easiness may increase or decrease from what it starts out as. Turning off bury related… will prevent Anki from burying siblings, and instead Anki will just try to avoid showing siblings directly after one another in the same session. For this to work, your new cards/day setting needs to be large enough for the cards of multiple notes to be included. ReviewsMaximum reviews/day allows you to set an upper limit on the number of reviews to show each day. When this limit is reached, Anki will not show any more review cards for the day, even if there are some waiting. If you study consistently, this setting can help to smooth out occasional peaks in due card counts, and can save you from a heart attack when returning to Anki after a week off. When reviews have been hidden due to this option, a message will appear in the congratulations screen, suggesting you consider increasing the limit if you have time. Easy bonus allows you to set the difference in intervals between answering Good and Easy on a card. For instance, with the default value of 130%, Easy will give an interval that is 1.3 times the Good interval. Interval modifier allows you to apply a multiplication factor to the intervals Anki generates. At its default of 100% it does nothing; if you set it to 80% for example, intervals will be generated at 80% of their normal size (so a 10 day interval would become 8 days). You can thus use the multiplier to make Anki present cards more or less frequently than it would otherwise, trading study time for retention or vice versa. For moderately difficult material, the average user should find they remember approximately 90% of mature cards that come up for review. You can find out your own performance by opening the graphs/statistics for a deck and looking at the Answer Buttons graph - mature retention is the correct% on the right side of the graph. If you haven’t been studying long you may not have any mature cards yet. As performance with new cards and younger cards can vary considerably, it’s a good idea to wait until you have a reasonable amount of mature reviews before you start drawing conclusions about your retention rate. On the SuperMemo website, they suggest that you can find an appropriate multiplier for a desired retention rate. Their formula boils down to: log(desired retention%) / log(current retention%) Imagine we have a current retention rate of 85% and we want to increase it to 90%. We’d calculate the modifier as: log(90%) / log(85%) = 0.65 If you plug the resulting 65% into the interval modifier, you should find over time that your retention moves closer to your desired retention. One important thing to note however is that the tradeoff between time spent studying and retention is not linear: we can see here that to increase our retention by 5 percentage points, we’d have to study 35% more frequently. If the material you are learning is very important then it may be worth the extra effort – that’s something you’ll need to decide for yourself. If you’re simply worried that you’re forgetting too much, you may find investing more time into the initial learning stage and/or making mnemonics gives you more gain for less effort. One final thing to note is that Anki forces a new interval to be at least 1 day longer than it was previously so that you don’t get stuck reviewing with the same interval forever. If your goal is to repeat a card once a day for multiple days, you can do that by setting more learning mode steps instead of by adjusting this modifier. Maximum interval allows you to place an upper limit on the time Anki will wait to reshow a card. The default is 100 years; you can decrease this to a smaller number if you’re willing to trade extra study time for higher retention. Turning off bury related… will prevent Anki from burying siblings, and instead Anki will just try to avoid showing siblings directly after one another in the same session.
LapsesWhen you forget a review card, it is said to have lapsed. The default behaviour for lapsed reviews is to reset the interval to 1 (ie, make it due tomorrow), and put it in the learning queue for a refresher in 10 minutes. This behaviour can be customized with the options listed below. If you leave the steps blank, Anki will not place the card back in the learning queue, and it will be rescheduled as a review with its new interval determined by the settings below.
New interval controls how much Anki should reduce the previous interval by. If the card had a 100 day interval, the default of 0% would reduce the interval to 0 (but see the next option). If you set this option to 20%, the card would have its interval reduced to 20 days instead. Minimum interval allows you to apply a minimum limit to the above option. The default setting says that lapses should be reviewed one day later. The interval must be 1 day or more. The leech options control the way Anki handles leeches. Please see the leech section for more information. GeneralAnki monitors how long it takes you to answer each question so that it can show you how long was spent studying each day. The time taken does not influence scheduling. If you take longer than 60 seconds, Anki assumes you have walked away from your computer or have been distracted, and limits the recorded time to 60 seconds, so that you don’t end up with inaccurate statistics. The ignore answer times… option allows you to adjust the cutoff threshold. The minimum cutoff is 30 seconds. If show answer timer is checked, Anki will display the current time taken for each card in the study area. By default, Anki automatically plays audio on the front and back of cards. If you uncheck automatically play audio, Anki will not play audio until you click the replay audio button. The when answer shown, replay both question and answer audio option controls what happens when you choose to replay audio while the answer is shown. Please note that it does not control what happens when you show the answer; for that please see this section. DescriptionThis section allows you to edit the deck description, which is shown in the study overview. The description is automatically set when downloading shared decks. You can delete all the text in the description if you no longer want to see it in the study overview area. You can also use HTML in the description—anything that works on a note should be valid. AnkiWeb and SynchronizationAnkiWeb is a service that allows you to keep your collection synchronized across multiple devices, and to study online. Please sign up for a free account before following the steps below. SetupTo start syncing your collection across devices, click the sync button (the top right one on the main screen), or press y on your keyboard. You’ll be prompted for your AnkiWeb ID and password, which you created in the signup process. When you synchronize your collection for the first time, Anki will not be able to merge the content stored on AnkiWeb and the content stored on your computer, so you’ll need to choose which side you’d like to keep. Once the initial setup is completed however, Anki will be able to merge changes from multiple locations with a few exceptions.
Automatic SyncingOnce syncing is enabled, Anki will automatically sync each time your collection is closed or opened. If you would prefer to synchronize manually, you can disable automatic syncing in Anki’s preferences. MediaAnki will synchronize any sounds and images used by your notes. It will notice when media has been added or removed from your media folder, but will not notice if you have edited some existing files without adding or removing any. To get your edits noticed, you need to add or remove a file as well.
ConflictsReviews and note edits can be merged, so if you review or edit on two different devices before syncing, Anki will preserve your changes from both locations. If the same card has been reviewed in two different locations, both reviews will be marked in the revision history, and the card will be kept in the state it was when it was most recently answered. There are certain changes that Anki is unable to merge. These mainly relate to the format of notes: things like adding a new field, or removing a card template. When you perform an operation that can’t be merged, Anki will warn you, and give you the option of aborting the operation. If you choose to continue, you’ll be asked to choose whether to keep the local copy or the copy on AnkiWeb when your collection is next synchronized. If you wish to force a full upload or download (for example, because you accidentally deleted a deck on one side and want to restore the deck rather than having its deletion synchronized), you can check the "On next sync, force changes in one direction" box in Tools>Preferences>Network, then sync as usual. (You’ll be given the option to choose which side you want to use.) ProxiesAnki syncs over secure HTTP connections. If you need a proxy to access the internet, Anki should automatically pick up your system proxy settings if you’re on Windows or OS X, and will honour the HTTP_PROXY environment variable if you’re on another platform. Please note that advanced proxy setup via .pac or .wpad files is not supported in Anki. To override the system proxy settings on Windows or OS X, define a HTTP_PROXY environmental variable that points to the proxy server. It will look like: If your username or password contains an @ (eg [email protected]), you need to change it to %40, like so:
BrowserThe browser (which has nothing to do with web browsers such as Mozilla Firefox) allows you to search through your cards and notes and edit them. It is opened by clicking on Browse in the main window, or by pressing b on your keyboard. It is comprised of three sections: the sidebar on the left, the card list on the top right, and the current note on the bottom right. By positioning the mouse between two sections, it is possible to click and drag to expand one section and shrink another. The sidebar on the left allows quick access to common search terms. Various search terms as described below are listed, along with all deck names and tag names. Clicking on an item will search for it. You can hold down ctrl (command on a Mac) and click in order to append the clicked item to the current search with an AND condition, instead of starting a new search. If you wanted to show learning cards that were also in the German deck for instance, you could click on "Learning", then ctrl+click on "German". You can hold down shift to create an OR search instead of an AND (for example, you could click one deck, then shift-click another to show cards from either of the decks in the same view). You can hold down alt (option on a Mac) in order to reverse the search (prepend a -) (for instance, to show all cards in a current deck that do not have a certain tag). SearchingAbove the card list is a search box. You can type in various things there to search for cards. Simple searchesWhen you type some text into the search box, Anki finds matching notes and displays their cards. Anki searches in all fields of the notes, but does not search for tags (see later in this section for how to search for tags). Some examples: dog search for "dog" - will match words like "doggy" and "underdog" too dog catfinds notes with both "dog" and "cat", such as "a dog and cat" dog or catfinds notes with either "dog" or "cat" dog (cat or mouse)finds notes with dog and cat, or dog and mouse -catfinds notes without the word "cat". -cat -mousefinds notes with neither "cat" nor "mouse". -(cat or mouse)same as the above. "a dog"finds notes with the exact phrase "a dog" on them -"a dog"finds notes without the exact phrase "a dog" d_gfinds notes with d, , g, like dog, dig, dug, and so on. d*g finds notes with d, Things to note from the above:
Limiting to a fieldYou can also ask Anki to match only if a particular field contains some text. Unlike the searches above, searching on fields requires an exact match by default. front:dog find notes with a Front field of exactly "dog". A field that says "a dog" will not match. front:*dog*find notes with Front field containing dog somewhere front:find notes that have an empty Front field -front:find notes that have a non-empty Front field front:*find notes that have a Front field, empty or not Tags, decks, cards and notestag:animal find notes with the tag "animal" tag:nonefind notes with no tags tag:ani*find notes with tags starting with ani deck:frenchfind cards in a French deck, or subdecks like French::Vocab deck:french -deck:french::*find cards in French, but not subdecks deck:"french vocab"searching when a deck has a space "deck:french vocab"also ok deck:filteredfiltered decks only -deck:filterednormal decks only card:forwardsearch for Forward cards card:1search for cards by template number - eg, to find the second cloze deletion for a note, you’d use card:2 note:basicsearch for cards with a Basic note type Card typesis:due review cards and learning cards waiting to be studied is:newnew cards is:learncards in learning is:reviewreviews (both due and not due) and lapsed cards is:suspendedcards that have been manually suspended Cards that have lapsed fall into several of these categories, so it may be useful to combine them to get more precise results: is:learn is:review cards that have lapsed and are awaiting relearning -is:learn is:reviewreview cards, not including lapsed cards is:learn -is:reviewcards that are in learning for the first time Card propertiesprop:ivl>=10 cards with interval of 10 days or more prop:due=1cards due tomorrow prop:due=-1cards due yesterday that haven’t been answered yet prop:due>-1 prop:due<1cards due between yesterday and tomorrow prop:reps<10cards that have been answered less than 10 times prop:lapses>3cards that have moved into relearning more than 3 times prop:ease!=2.5cards easier or harder than default Note that due only matches review cards and learning cards with an interval of a day or more: cards in learning with small intervals like 10 minutes are not included. Recently addedadded:1 cards added today added:7cards added in last week The check is made against card creation time rather than note creation time, so cards that were generated within the time frame will be included even if their notes were added a long time ago. Recently answeredrated:1 cards answered today rated:1:2cards answered Hard (2) today rated:7:1cards answered Again (1) over the last 7 days rated:31:4cards answered Easy (4) in the last month For speed, rating searches are limited to 31 days. Note and card IDsnid:1000000000000 all cards of the note with given note ID cid:1000000000000the card with given card ID Note and card IDs can be found in the card info dialog in the browser. These searches may also be helpful when doing add-on development or otherwise working closely with the database. Card ListThe card list displays cards that match the current search. The columns are configurable: right click on one (or ctrl+click on a Mac) to choose which columns you’d like to see. You can drag columns to reorder them. Clicking on a column will sort by that column; click again to reverse the sort order. Not all columns can be sorted on.
When you click on a card, its note will be shown in the bottom section. If you drag the mouse or hold ctrl or command to select multiple cards, the editor will be temporarily hidden. Various operations (such as changing the deck) can operate on multiple cards at once. The background colour will change depending on the card. Marked cards are a shade of purple. Suspended cards are a shade of yellow. For more information about marked and suspended cards, please see editing and more. One of the available columns is called the sort field. Anki allows you to choose one field from each type of note to be used for sorting. You can change the sort field by clicking on "Fields…" in the current note section. The question and answer columns display what you’d see on the question and answer while reviewing, except the answer column will strip the question part for clarity. You can also choose a custom format in the card type editor instead of showing what would be seen during review. Current NoteThe bottom right area displays the currently selected card’s note. For more information about cards and notes, please see the basics. For more information on formatting buttons, please see editing. You can see a preview of what the currently selected card would look like when reviewing by clicking the "preview" button next to the search box. Note that this will not display any type answer fields on your cards, which makes it easier to preview cards quickly. ToolbarUp the top of the browser window is the toolbar. Info shows various information about the currently selected card, including its review history. For more information, see the statistics section. Change Deck allows you to move cards to a different deck. Cards can be placed in different decks, so if you want to move all cards in a note, you should first use Edit > Select Notes. Add Tags and Remove Tags allow you to add or remove tags in bulk. Delete removes the selected card(s) and their notes. It is not possible to remove individual cards, as individual cards are controlled by the templates. Find and ReplaceThis option (Edit>Find and Replace) allows you to replace text in the cards you have selected. The regular expression option allows you to perform complex replacements. For example, given the following text on a card: Searching for: And replacing with the regexp: Will change the card to: A full discussion on regular expressions is outside the scope of this document. There are a number of tutorials available on the web. Please see http://docs.python.org/library/re.html for the particular format Anki uses. Finding DuplicatesYou can use the Edit>Find Duplicates option to search for notes that have the same content. When you open the window, Anki will look at all of your note types and present a list of all possible fields. If you want to look for duplicates in the "Back" field, you’d select it from the list and then click "Search". Unlike the check that happens when you add cards manually, the duplicate finding feature is not limited to a single note type. This means that by default, it will search in all note types that have the field you provided. The search area allows you to narrow down where Anki will look for duplicates. If you only want to search for duplicates in the "French Vocab" and "French Verbs" note types, you would enter: note:'french vocab' or note:'french verbs' The search syntax is the same as used when searching in the browser. Please see the searching section for more information. You can click one of the links in the search results list to display the duplicate notes in that set. If the search brings up a large number of duplicates, you may wish to instead click the Tag Duplicates button, which will tag all matching notes with "duplicate." You can then search for this tag in the browser and handle them all from the same screen. Other Menu ItemsSome other items in the Edit menu: Reschedule allows you to move cards to the end of the new card queue, or reschedule them as a review card on a given date. The second option is useful if you have imported already-learnt material, and you want to start it off with higher initial intervals. For example, choosing 60 and 90 will give all the imported cards an initial interval of 2 to 3 months. The card’s revision history is not cleared when rescheduling: rescheduling changes the current state of a card, but not its history. If you want to hide the history, you will need to export your notes as a text file, delete the notes, and then import the text file again, creating new notes. Reposition allows you to change the order new cards will appear in. You can find out the existing positions by enabling the due column, as described in the card list section above. If you run the reposition command when multiple cards are selected, it will apply increasing numbers to each card in turn. By default the number increases by one for each card, but this can be adjusted by changing the "step" setting. The Shift position of existing cards option allows you to insert cards between currently existing ones, pushing the currently existing ones apart. For instance, if you have five cards and you want to move 3, 4, and 5 between 1 and 2, selecting this setting would cause the cards to end up in the order 1, 3, 4, 5, 2. By contrast, if you turn this option off, 2 and 3 will get the same position number (and it will thus be random which one comes up first). Change Note Type allows you to convert the selected notes from one type to another. For example, imagine you have a Russian note type and a Computer note type, and you accidentally added some computer-related text into a Russian note. You can use this option to fix that mistake. The scheduling of cards is not affected. Select Notes takes the currently selected cards, finds their notes, and then selects all cards of those notes. If your notes have only one card, this does nothing. The Go menu exists to provide keyboard shortcuts to jump to various parts of the browser, and to go up and down the card list. Filtered Decks & CrammingWhen you study a regular deck in Anki, only a limited number of cards are shown: the cards Anki thinks you’re about to forget, and a daily limit of new cards. This is generally useful, as it ensures you don’t spend more time studying than necessary. But sometimes it can be useful to step outside of these normal limits, such as when you need to revise for a test, focus on particular material, and so on. To make this possible, Anki provides a different type of deck called a filtered deck. Filtered decks offer a lot of possibilities. They can be used for previewing cards, cramming cards before a test, studying particular tags, catching up on a backlog with a particular sort order, reviewing ahead of schedule, going over the day’s failed cards, and more. Custom StudyThe easiest way to create a filtered deck is with the Custom Study button, which appears at the bottom of the screen when you click on a deck. It offers some convenient presets for common tasks like reviewing the cards you’ve failed that day. It will create a filtered deck called "Custom Study Session" and automatically open it for you. If an existing "Custom Study Session" deck exists, it will be emptied before a new one is created. If you wish to keep a custom study deck, you can rename it from the deck list. Here is a summary of each of the options: Increase today’s new card limit Add more new cards to the deck you are currently studying. Note that unlike other options, this does not create a new filtered deck, it modifies the existing deck. Increase today’s review card limitIf not all reviews due today were shown due to the daily review limit, this option allows you to show more of them. Like with the new cards option, this modifies the existing deck. Review forgotten cardsShow all cards that you’ve answered Again (1) to within a number of days you specify. Review aheadShow cards that will be due in the near future (a number of days you specify). This is useful for working through some of your older cards before a vacation, but it will not help with cards you have learnt recently. Please see the reviewing ahead section below for more info. Preview new cardsShow cards that you have recently added. Study by card state or tagSelect a certain number of cards from the current deck to study. You can choose to select new cards only, due cards only, or all cards; after you click "Choose Tags", you can also limit the selected cards by tags. If you wish to see all the cards in the deck (for instance, to study before a big test), you can set the number of cards to more than the number of cards in the deck. Home DecksWhen a card is moved to a filtered deck, it retains a link to the deck it was in previously. That previous deck is said to be the card’s home deck. Cards automatically return to their home deck after they are studied in the filtered deck. This can be after a single review, or after multiple reviews, depending on your settings. It is also possible to move all cards back to their home decks at once:
Creating ManuallyAdvanced users can create filtered decks with arbitrary search strings, instead of relying on set presets. To create a filtered deck manually, choose Create Filtered Deck from the Tools menu. When you click the Build button, Anki finds cards that match the settings you specified, and temporarily moves them from their existing decks into your new filtered deck for study. If you wish to fetch cards again using the same filter options (for instance, if you want to study all cards with a particular tag every day), you can use the Rebuild button at the bottom of the deck’s overview screen. The search area controls what cards Anki will gather. All of the searches possible in the browser are also possible for filtered decks, such as limiting to tags, finding cards forgotten a certain number of times, and so on. Please see the searching section of the manual for more information on the different possibilities. The limit option controls how many cards will be gathered into the deck. The order you select controls both the order cards are gathered in, and the order they will be reviewed in. If you select "most lapses" and a limit of 20 for example, then Anki will show you only the 20 most lapsed cards. For efficiency reasons, if your cram deck contains more than 1000 cards, only 1000 cards will be shown as due on the deck list and study screens. OrderThe "cards selected by" option controls the order that cards will appear in. If the maximum number of cards you select is lower than the number of cards that match the filter criteria, Anki will exclude the cards at the end of this sorted list first. Oldest seen first Display cards that you haven’t seen in reviews for the longest time first. RandomRandomize the order of all cards that match the filter criteria (use no set order). Increasing intervalsDisplay cards that have the smallest interval first. Decreasing intervalsDisplay cards that have the largest interval first. Most lapsesDisplay cards that you have failed the most times first. Order addedDisplay cards that you added first (have the earliest creation date) first. Order dueDisplay cards with the earliest due date first. Latest seen firstDisplay cards that you’ve seen most recently in reviews first. Relative overduenessDisplay cards that are most overdue in relation to their current interval first (for instance, a card with a current interval of 5 days overdue by 2 days displays before a card with a current interval of 5 years overdue by a week). This is useful if you have a large backlog that may take some time to get through and want to review the cards you’re most in danger of forgetting first. Steps & ReturningPlease see the section on learning as a reminder of how steps work. By default, Anki will use the steps of a card’s home deck. If a new card would normally be reviewed twice when being learnt, the same thing will happen when you study it in a filtered deck. Cards return to their home deck when (re)learning is complete. Thus if you have 3 learning steps, a new card will return to its home deck upon three presses of "Good" or a single press of "Easy". The custom steps option allows you to override the home deck’s steps and provide your own steps instead. The provided steps apply to both cards being learnt, lapsed reviews, and reviews ahead of time. CountsIn a filtered deck, reviews that were already due are displayed as the review count as normal. Learning cards and non-due reviews are counted in the new card count, due to how the underlying implementation works. Due ReviewsIf the filtered deck includes cards that were due for review, they will be shown like they would have been in their original deck - they appear in the review card count at the bottom of the screen, and there are four choices for how well you remembered. Upon a correct answer, the card will be moved back to its home deck, and its next delay adjusted using the home deck’s settings. If you forget the card, it will be shown according to the relearning steps defined in the home deck. Reviewing AheadIf your search included cards that are not due, Anki will show the reviews ahead of time. Anki uses a special algorithm for these reviews that takes into account how early you are reviewing. If the cards were almost due to be shown, they will be given a new delay similar to what they would have received if you had reviewed them on time. If the cards are reviewed soon after they were scheduled however, their new delay will be similar to their previous delay. This calculation works on a sliding scale.
Early reviews are included in the new card count rather than the review count, and will be shown according to the number of relearning steps defined in the home deck (unless you have provided custom steps). This means that if you have customized the number of relearning steps in the home deck, the non-due card may be shown more than once. If you have multiple steps, Anki will only consider the first answer when deciding the next delay, and like relearning in normal decks, "Good" and "Easy" differ only in the step change and not the resulting delay. ReschedulingBy default, Anki will return cards to their home decks with altered scheduling based on your performance in the filtered deck. If you disable the reschedule cards based on my answers option, Anki will return the cards in the same state they were in when they were moved into the filtered deck. This is useful for quickly flipping through material. If you have disabled rescheduling, the "Good" and "Easy" buttons will display no time above them when pressing them would cause the card to return to its home deck with its original scheduling. Please note that new cards are returned to the end of the new card queue, rather than the start of it. Catching UpFiltered decks can be useful for catching up when you’ve fallen behind in your reviews. One Anki user describes the way they use the filtered decks to catch up as follows: I did this for a backlog of 800 cards with filtered subdecks. Worked very well for me.
The Just Due deck will then contain cards that became due in the past week. That's the deck you should study every day as it gets the cards that become due regularly. With this you can study as if there wasn't any backlog. The Over Due deck will contain your backlog, cards which you didn't study in time. You can study them the same way you would study new cards. They go back into the regular cards, so the number of overdue will never grow as long as you keep your Just Due deck in check. How long it takes depends on how many overdue cards you study each day in addition to the ones that become due regularly. You can still motor through them when you feel like it - or you can do a specific number per day like you would for new cards. Up to you. LeechesLeeches are cards that you keep on forgetting. Because they require so many reviews, they take up a lot more of your time than other cards. Anki can help you identify leeches. Each time a review card lapses, a counter is increased. When that counter reaches 8, the note is tagged as a leech, and the card is suspended. The threshold, and whether to suspend or not, can be adjusted in the deck options. Anki will continue to issue leech warnings periodically for a difficult card. The warning interval is half the initial leech threshold. That is, if you have Anki configured to warn at 8 lapses, future warnings will happen every 4 lapses. (12, 16, etc) Once a leech is found, there are a number of ways you can handle it. WaitingSome leeches are caused by interference. For example, an English learner may have recently learnt the words "disappoint" and "disappear". As they look similar, the learner may find themselves confusing the two when trying to answer. In these situations, it’s often productive to concentrate on just one idea. When that idea is firmly ingrained in your mind, you can then return to learning the other idea. So in these situations, you may want to leave one of the words suspended until you have learnt the other one well, and then unsuspend it in the browser. DeletingAnother way to manage leeches is to delete them. Consider if the material you’re struggling with is important enough to make it worth your while. By selectively deleting difficult and obscure items, you can dedicate more time to learning other material, and studying becomes a lot more fun. EditingAnother approach is to change the way the information is presented. Perhaps the cards you have created have too much information on them, or perhaps you’re trying to memorize something without fully understanding it. Sometimes spending some time changing the way the card is phrased can help. It’s also a good time to think about making a mnemonic to help you remember. ImportingAnki can import text files, packaged Anki decks created by the export feature, Mnemosyne 2.0 .db files, and SuperMemo .xml files. To import a file, click the File menu and then "Import". Importing text filesAny plain text file that contains fields separated by commas, semicolons or tabs can be imported into Anki, provided some conditions are met.
Fields in your text file can be mapped to any field in your notes, including the tags field. You can choose which field in the text file corresponds to which field in the note when you import. When you import a text file, you can choose what deck to put the cards in. Keep in mind that if you have the deck override option set for one or more of your templates, the cards will go to that deck rather than the one you’ve selected. This is an example of a valid file: foo bar; bar baz; baz quux field1; field2; field3 There are two ways to include newlines in fields. Escape the multi-lines: hello [tab] "this is a two line answer" two [tab] this is a one line one Use HTML new lines: hello [tab] this is You need to turn on the "allow HTML in fields" checkbox in the import dialog for HTML newlines to work.
You can also include tags in another field and select it as a tags field in the import dialog: first field; second field; tags This is an example of a valid file where the first line is ignored (#): # this is a comment and is ignored foo bar; bar baz; baz quux field1; field2; field3 Spreadsheets and UTF-8If you have non-Latin characters in your file (such as accents, Japanese and so on), Anki expects files to be saved in a UTF-8 encoding. The easiest way to do this is to use the free LibreOffice spreadsheet program instead of Excel to edit your file, as it supports UTF-8 easily, and also exports multi-line content properly, unlike Excel. If you wish to keep using Excel, please see this forum post for more information. To save your spreadsheet to a file Anki can read with LibreOffice, go to File>Save As, and then select CSV for the type of file. After accepting the default options, LibreOffice will save the file and you can then import the saved file into Anki. HTMLAnki can treat text imported from text files as HTML (the language used for web pages). This means that text with bold, italics and other formatting can be exported to a text file and imported again. If you want to include HTML formatting, you can check the "allow HTML in fields" checkbox when importing. You may wish to turn this off if you’re trying to import cards whose content contains angle brackets or other HTML syntax. If you wish to use HTML for formatting your file but also wish to include angle brackets, you may write them differently:
Importing MediaIf you want to include audio and pictures from a text file import, copy the files into the collection.media folder. Do not put subdirectories in the media folder, or some features will not work. After you’ve copied the files, change one of the fields in your text file as follows. or Alternatively, you can use the find & replace feature to update all the fields at once. If each field contains text like "myaudio", and you wish to make it play a sound, you’d search for (.*) and replace it with "[sound:\1.mp3]", with the regular expressions option enabled.
You might be tempted to do this in a template, like: Anki doesn’t support this for two reasons: searching for used media is expensive, as each card has to be rendered, and such functionality isn’t obvious to shared deck users. Please use the find & replace technique instead. Bulk media importsAnother option for importing large amounts of media at once is to use the media import add-on. This add-on will automatically create notes for all files in a folder you select, with the filenames on the front (minus the file extension, so if you have a file named apple.jpg, the front would say apple) and the images or audio on the back. If you would like a different arrangement of media and filenames, you can change the note type of the created cards afterwards. Adding TagsIf you want to add tag1 and tag2 to every line you’re importing, add the following to the top of the text file: Duplicates and UpdatingWhen importing text files, Anki uses the first field to determine if a note is unique. By default, if the file you are importing has a first field that matches one of the existing notes in your collection and that existing note is the same type as the type you’re importing, the existing note’s other fields will be updated based on content of the imported file. A drop-down box in the import screen allows you to change this behaviour, to either ignore duplicates completely, or import them as new notes instead of updating existing ones.
If you have updating turned on and older versions of the notes you’re importing are already in your collection, they will be updated in place (in their current decks) rather than being moved to the deck you have set in the import dialog. For info on how duplicates are handled in .apkg files, please see the Deck Packages section below. ExportingExporting allows you to save part of your collection as a text file or packaged Anki deck. To export, click the File menu and choose Export. Exporting TextIf you choose "Notes in Plain Text", Anki will write the contents of the notes into a text file. Each field is separated by a tab. If you edit the resulting file and don’t modify the first field, you can later import that file back into Anki and Anki will update your notes based on your edits, provided you import back into the same note type. If you find yourself needing to edit the first field as well, you’ll need to change the format of your note type so that the first field is an ID number rather than actual text. (You can install the "Add note id" plugin to make this easier.) In order for formatting to be preserved when you import text back in, the text is exported with all the HTML formatting embedded in it. Exporting Packaged DecksA packaged deck consists of cards, notes, note types and any sounds or images bundled up into a file ending with .apkg. You can use packaged decks to transfer cards between people, or for backing up parts of your collection. A packaged deck is compressed, so it will be smaller than the sum of the files in your profile folder. There are two different kinds of packaged decks. Collection PackageWhen you export all decks with scheduling included, this is called a collection package. Anki will copy your entire collection into a file called "collection.apkg", and place it on your desktop. A collection package is used to back up your collection or to synchronize to AnkiMobile via iTunes. When this file is later imported, Anki will delete all the current cards in the collection, and replace the collection with the items in the collection.apkg file. This is useful for copying your collection back and forth between devices.
Deck PackageDeck packages contain a single deck (and any child decks it may have). They have a filename ending with .apkg, but a filename other than collection.apkg. When you import a deck package, Anki will add the contents into your collection, rather than overwriting your collection. If some notes in the deck package have previously been imported, Anki will keep the version with the most recent modification time. So if you download an updated deck, the edits that have been made in the updated version will be made in your collection as well, but if you re-import an unchanged deck after making edits in your collection, the changes in your collection will be kept. If you choose not to include scheduling information, Anki will assume that you are sharing the deck with other people, and will remove marked and leech tags so that they will have a clean copy of it. Managing Files and Your CollectionChecking Your CollectionIt’s a good idea to occasionally check your collection file for problems. You can do this via the Tools>Check Database menu item. Checking the database ensures the file is not corrupted, rebuilds some internal structures, and optimizes the file. When you check the database, your tag list is also rebuilt. When you delete individual decks or cards, Anki does not update the list of used tags, as it’s inefficient to do so. If you want to clear old tags out from the list that are no longer in use, checking your database is the way to do it. Please note that Anki will automatically optimize your collection once every 2 weeks. This optimization ensures the collection performs well, but it does not check for errors or rebuild the tag list when automatically optimizing. File LocationsOn Windows and OSX, Anki stores all of its files in an Anki folder, located in your Documents folder. On other operating systems, your files are stored in ~/Anki by default. Within the Anki folder, the program-level and profile-level preferences are stored in a file called prefs.db. There is also a separate folder for each profile. The folder contains:
Startup OptionsIf you have made a destructive change on one computer and have an undamaged copy on another computer, you may wish to start Anki without syncing in order to use the full sync option without first downloading the changes. Similarly, if you are experiencing problems with Anki, you might want to (or might be instructed to) disable add-ons temporarily to see if one might be causing the problem. You can do both of these things by holding down the Shift key while starting Anki. It is possible to specify a custom folder location during startup. This is an advanced feature that is primarily intended to be used with portable installations, and we recommend you use the default location in most circumstances. The syntax to specify an alternate folder is as follows: anki -b /path/to/anki/folder
If you always want to use a custom folder location, you can modify your shortcut to Anki. On Windows, right-click on the shortcut, choose Properties, select the Shortcut tab, and add "-b \path\to\data\folder" after the path to the program, which should leave you with something like "C:\Program Files\Anki\anki.exe" -b "C:\AnkiDataFolder" You can also use this technique with the -l option to easily use Anki in different languages.
On a Mac there is no easy way to alter the behaviour when clicking on the Anki icon, but it is possibile to start Anki with a custom base folder from a terminal: open /Applications/Anki.app --args -b ~/myankifolder
DropBox and File SyncingWe do not recommend you sync your Anki folder directly with a third-party synchronization service, as it can lead to database corruption when files are synced while in use. If you wish to keep your collection in sync as well, it is strongly recommended that you create a script that copies your files from your synced folder to a local folder, launches Anki, and then copies the files back when Anki is closed. This will ensure that the files are never synchronized while they are open. Network FilesystemsWe strongly recommend you have Anki store your files on a local hard disk, as network filesystems can lead to database corruption. If a network filesystem is your only option, regular use of Tools>Check Database to detect corruption is recommended. Running from a Flash DriveAnki can be installed on a flash drive and run as a portable application:
\anki\anki.exe -b \ankidata If you would like to prevent the black command prompt window from remaining open, you can instead use: start /b \anki\anki.exe -b \ankidata
BackupsEach time your collection is closed (when closing Anki, switching profiles, or synchronizing your deck), Anki exports your collection into the backups folder. By default Anki will store up to 30 backups; you can adjust this in the preferences. Automatic backups do not protect against disk or computer failure, and do not extend to your media. To keep your collections safe, please consider making manual backups too. The easiest way to take a manual backup is to back up your entire Anki folder. Please make sure you close Anki first, as backups may be corrupt if run while Anki is open. To restore from a backup, simply close Anki, open Documents/Anki/ Anki also logs deleted notes to a text file called deleted.txt in your profile folder. These notes are in a text format that can be read by File>Import, though please note the import feature only supports a single note type at one time, so if you have deleted notes from different note types, you’ll need to split the file into separate files for each note type first. Inaccessible HarddiskIf Anki can’t write to files in the Anki folder, a message will be displayed on startup saying that Anki can’t write to the harddisk, and Anki will close. If you’re unsure how to fix the permissions, please contact someone near you who is knowledgable about computers and can help you out. Permissions of Temp FolderAnki uses the system’s temporary folder to store temporary data. If the permissions of this folder have been changed from the default settings by a rogue app or buggy antivirus app, Anki will not function properly. If you’re on a Windows 7 machine, the general steps to fix the problem are listed below. As this is somewhat complicated, please ask someone knowledgeable about Windows if you are not sure.
Corrupt CollectionsAnki uses a file format that is robust against program and computer crashes, but it’s still possible for your collection to become corrupt if the files are modified while Anki is open, stored on a network drive, or corrupted by a bug. When you run Tools>Check Database, you will receive a message if Anki detects the file has been corrupted. The best way to recover from this is to restore from the most recent automatic backup, but if your backup is too old, then you can attempt to repair the corruption instead. Next, create a backup of your collection.anki2 file, in case something goes wrong with the steps below. Linux/OSX Open a terminal, change to the folder your collection is located in, and type: sqlite3 collection.anki2 .dump > dump.txt Open the resulting dump.txt file in a text editor, and look at the final line. If it reads "rollback;", change it to "commit;" Then run the following in a terminal: cat dump.txt | sqlite3 temp.file Make sure you use temp.file - do not put collection.anki2 on the right, or you will blank out the file. When you’re done, proceed to the final step. Windows Copy the sqlite3.exe program and your deck to your desktop. Then go to Start>Run and type in cmd.exe. If you’re on a recent Windows, the command prompt may not start on your desktop. If you don’t see desktop displayed in the command prompt, type something like the following, replacing administrator with your login name. cd C:\Users\Administrator\Desktop Then type: sqlite3 collection.anki2 .dump > dump.txt Open the resulting dump.txt file in a text editor, and look at the final line. If it reads "rollback;", change it to "commit;" Then run the following in a terminal: type dump.txt | sqlite3 temp.file Make sure you use temp.file - do not put collection.anki2 on the right, or you will blank out the file. When you’re done, proceed to the final step. Final Step Check that you didn’t get an error message, and that temp.file is not empty. The procedure optimizes the collection in the process, so it’s normal for the new file to be somewhat smaller than the old one. When you’ve confirmed the file is not empty, copy it over collection.anki2, making sure you still have a backup of the original version. Then start Anki and go to Tools>Check Database to make sure the collection has been successfully restored. Graphs and StatisticsCard InfoYou can display information about a card by clicking the Info button in the toolbar while browsing. Most of the displayed information should be self-explanatory. A few notes: Position Only shown when the card is new, it shows the order the card will appear in relative to other new cards. The position can be changed in the browser. IntervalThe delay from one review to the next. Times are abbreviated; "0s, 1m, 3h, 4d, 5mo, 6y" refers to seconds, minutes, hours, days, months and years respectively. EaseThe approximate amount the interval will grow when you answer a review card with the "Good" button. StatisticsThe statistics window is accessed by clicking on the graphs icon in the top right of the main window, or by pressing Shift+S. The statistics window will show statistics from the currently selected deck and any subdecks. If you click on "collection" on the bottom left, statistics will be shown for your entire collection instead. By default Anki will show you statistics for the previous month. You can change this to a year scope or deck life scope at the bottom. (The "today" section at the top is of course unaffected by this selection.) Clicking on "Save Image" will save an image of the statistics to a file on your desktop to make it easy to share your statistics with others.
Types of CardsThe stats window uses some terms that you may not be familiar with: Mature A mature card is one that has an interval of 21 days or greater. YoungA young card is one that has an interval of less than 21 days, but is not in learning. LearnA learning card is one that is still in learning mode (using whatever steps may be defined in the deck’s options). RelearnA relearning card is a card that you have failed in review mode, thus returning it to learning mode to be relearned. UnseenAn unseen card is one that has been added to your collection but has not yet entered learning mode. Unseen cards are sometimes referred to as "new" cards, especially when they are in the "new" queue to be shown for the first time. The GraphsForecast This graph shows an estimated number of reviews that will be due on a given day in the future if you learn no new cards and fail no cards. The bars and the left axis show the number of cards due on each day if you study all cards each day, while the line and the right axis show the number of cards due on that day if you don’t study at all until then. Note that the forecast graph does not count reviews that are currently overdue, so if you have a large backlog, the overdue cards will not be displayed. Review CountThis graph shows how many cards you have studied in the past. The bars may correspond to days, weeks, or months, depending on the time period you’ve selected at the bottom of the screen. The differently colored blocks show how many of the cards you answered on each day were mature, young, relearning, or learning cards. There is also a separate group for cards answered in a filtered/cram deck while they were not due. The line and the right axis shows the cumulative total for each type of review as time progresses across the graph (so at 0 days, it would display the number for the entire time period displayed on the graph). Review TimeThis graph works exactly like Review Count, except that it deals with the amount of time you spent on each card rather than the number of cards answered. IntervalsThis graph displays the number of cards that have a given interval (the delay between two reviews). The line and the right axis tell you what percentage of your cards have an interval of less than or equal to the time below that point. The time scope has a different effect on this graph than other graphs: rather than changing which cards or period of studying is included, it limits how far out the intervals are displayed to (so 14-month intervals are not displayed at all on a 1-year graph). Hourly BreakdownThis graph shows what percentage of total reviews you have passed (i.e., not pressed Again on) during given hours. The larger, darker bars and left axis show the success rate; the thinner, lighter bars and right axis show the number of reviews you’ve made at that hour (so you know how significant the results are). Answer ButtonsThis graph shows how many times you’ve chosen the Again, Hard, Good, or Easy button while studying learning/new, young, and mature cards. Anki also displays the percentage of correct reviews for each type of card. Cards TypesThis pie chart shows what percentage of your deck or collection consists of mature, unseen, young/learn, and suspended cards. If you wish to calculate a more precise percentage, the key shows the exact number of cards in each section, and the total number of cards is displayed to the side. Manual AnalysisIf you’re interested in getting information from your statistics other than what Anki provides, you have several options. One is to write an add-on that adds another graph or more details to the statistics window. There are several add-ons of this sort on AnkiWeb already, which you can look at to get an idea of how it works. A more powerful and more complex option is to extract the review log information directly from Anki’s database and analyze it in an external program. Anki uses a database format called SQLite. There are many tools available for working with SQLite databases; one of the easiest to start with is called SQLite Browser, which will allow you to look around the database as well as export a CSV version of tables for import into another program. The most important table for statistics is the 'revlog' table, which stores an entry for each review that you conduct. The columns are as follows: id The time at which the review was conducted, as the number of milliseconds that had passed since midnight UTC on January 1, 1970. (This is sometimes known as Unix epoch time, especially when in straight seconds instead of milliseconds.) cidThe ID of the card that was reviewed. You can look up this value in the id field of the 'cards' table to get more information about the card, although note that the card could have changed between when the revlog entry was recorded and when you are looking it up. It is also the millisecond timestamp of the card’s creation time. usnThis column is used to keep track of the sync state of reviews and provides no useful information for analysis. easeWhich button you pressed at the end of the review (1 for Again, 4 for Easy). ivlThe new interval that the card was pushed to after the review. Positive values are in days; negative values are in seconds (for learning cards). lastIvlThe interval the card had before the review. Cards introduced for the first time have a last interval equal to the Again delay. factorThe new ease factor of the card in permille (parts per thousand). If the ease factor is 2500, the card’s interval will be multiplied by 2.5 the next time you press Good. timeThe amount of time (in milliseconds) you spent on the question and answer sides of the card before selecting an ease button. typeThis is 0 for learning cards, 1 for review cards, 2 for relearn cards, and 3 for "cram" cards (cards being studied in a filtered deck when they are not due). Anki stores the sounds and images used in your notes in a folder next to the collection. For more on the folder location, please see the file locations section. When you add media within Anki, either by using the paperclip icon in the editor or by pasting it into a field, Anki will copy it from its original location into the media folder. This makes it easy to back up your collection’s media or move it to another computer. You can use the Tools>Check Media menu option to scan your notes and media folder. It will generate a report of files in the media folder that are not used by any notes, and media referenced in notes but missing from your media folder. It does not scan question or answer templates, which is why you can’t place media references to fields in the template. If you need a static image or sound on every card, name it with a leading _ (e.g., '_dog.jpg') to tell Anki to ignore it when checking for media. If you delete media using the unused media check, Anki will move it into your operating system’s trash folder, so you can recover if you accidentally delete media that shouldn’t have been deleted. Anki uses a program called mplayer in order to support sounds and videos. A wide variety of file formats are supported, but not all of these formats will work on AnkiWeb and the mobile clients. MP3 audio and MP4 video seems to be the most universally supported. LaTeX supportLaTeX is a powerful typesetting system, which is ideal for entering mathematical formulas, chemical formulas, musical notation and so on. Anki provides some support for LaTeX, allowing you to enter LaTeX code in your notes. When you review a card, Anki will call LaTeX and display the generated image instead. Installing and Assumed KnowledgeAnki’s LaTeX support is not turn-key: it is assumed that you know how to use LaTeX already, and that you have it installed. If you have no experience with LaTeX, please consult one of the many guides available on the internet. If you are having trouble with markup, please ask on a LaTeX forum. To install LaTeX, on Windows use MiKTeX; on OSX use MacTex, and on Linux use your distro’s package manager. Dvipng must also be installed.
sudo tlmgr update --self; sudo tlmgr install dvipng The command may not be on the path, so you may need to provide the full path, eg /usr/local/texlive/2014basic/bin/x86_64-darwin/tlmgr.
LaTeX on Web/MobileWhen you review a card with LaTeX on it, Anki will generate an image for that LaTeX and place the image in your collection’s media folder for future use. The web & mobile clients will display these images if they already exist, but can not generate the images on their own. To avoid having to review all your cards at least once before you can study on the other clients, Anki can generate the images in bulk for you. To generate all the images, please go to Tools>Check Media. After that, syncing should upload the generated media to AnkiWeb and the other clients. ExampleThe most general way to input LaTeX content is to surround it with [latex][/latex] tags. There’s a shortcut button for this documented in the editor section. For example, entering the following on the front of an Anki flashcard: Does [latex]\begin{math}\sum_{k = 1}^{\infty}\frac{1}{k}\end{math}[/latex] converge? will produce this when the flashcard is viewed:
The formula in the example above is called a text formula, because it is displayed right within the non-mathematical text. In contrast, the following example shows a displayed formula: Does the sum below converge? [latex]\begin{displaymath}\sum_{k = 1}^{\infty}\frac{1}{k}\end{displaymath}[/latex]
Text formulas and display formulas are the most common type of LaTeX expressions, so Anki provides abbreviated versions of them. Expressions of the form: [latex]\begin{math}...\end{math}[/latex] can be shortened to and expressions of the form [latex]\begin{displaymath}...\end{displaymath}[/latex] can be shortened to For example, the two LaTeX snippets shown before are equivalent to Does [$]\sum_{k = 1}^{\infty}\frac{1}{k}[/$] converge? and Does the sum below converge? [$$]\sum_{k = 1}^{\infty}\frac{1}{k}[/$$] respectively. LaTeX packagesAnki allows you to customize the LaTeX preamble so you can import custom packages for chemistry, music and so on. For example, imagine you find an example file for chemtex on the internet: \documentclass[a4paper,12pt]{report} \usepackage{chemtex} \begin{document} \initial \begin{figure}[h]\centering \parbox{.3\textwidth}{\ethene{H}{H$_3$C}{CH$_3$}{Br}} \hfil \parbox{.3\textwidth}{\cbranch{H}{S}{H}{S}{C}{S}{}{S}{H} \xi=-200 \cright{}{Q}{C}{D}{O}{S}{OH}} \hfil \parbox{.3\textwidth}{\hetisix{Q}{Q}{Q}{Q}{Q}{Q}{O}{Q}{O} \xi=-171 \fuseup{Q}{Q}{Q}{Q}{D}{Q}{D}{Q}{D}} \caption{Chemie mit {\tt CHEMTEX}\label{a1}} \end{figure} \end{document} Firstly, follow the documentation of the package and MiKTeX/MacTex in order to install the package. To check the package is working, you’ll want to put code like the above into a .latex file and test you can compile it from the command line. Once you’ve confirmed that the package is available and working, we can integrate it with Anki. To use the package with Anki, click "Add" in the main window, then click the note type selection button. Click the "Manage" button, then select the note type you plan to use and click "Options". The LaTeX header and footer are shown. The header will look something like: \documentclass[12pt]{article} \special{papersize=3in,5in} \usepackage{amssymb,amsmath} \pagestyle{empty} \setlength{\parindent}{0in} \begin{document} To use chemtex, you’d add the usepackage line in the earlier example, so it looks like: \documentclass[12pt]{article} \special{papersize=3in,5in} \usepackage{amssymb,amsmath} \usepackage{chemtex} \pagestyle{empty} \setlength{\parindent}{0in} \begin{document} After that, you should be able to include lines like the following in your Anki cards: [latex]\ethene{H}{H$_3$C}{CH$_3$}{Br}[/latex] LaTeX ConflictsIt’s not uncommon for {{ and }} to pop up in LaTeX code when writing mathematical equations. To ensure that your LaTeX equations don’t conflict with Anki’s field replacements, it’s possible to change the separator to something else. For example, if you have a template: Changing it to the following will make it unlikely that the LaTeX will conflict: {{=<% %>=}} <%latex field%> While this most commonly occurs with LaTeX, the solution presented here will work in any situation where you need to include {{ }} on cards, regardless of whether LaTeX is used or not. When using cloze deletions, you cannot change the double braces used to mark cloze deletions; instead, you can put a space between any double closing braces that do not indicate the end of the cloze, so {{c1::[$]\frac{foo}{\frac{bar}{baz}}[/$] blah blah blah.}} will not work, but {{c1::[$]\frac{foo}{\frac{bar}{baz} }[/$] blah blah blah.}} will (and LaTeX ignores spaces in math mode, so your equation will render the same). Unsafe commandsAnki prohibits certain commands like \input or \def from being used on cards or in templates, because allowing them could allow malicious shared decks to damage your system. (To be on the safe side, these commands are prohibited even in comments, so if you’re getting this error but don’t think you’ve used one, please double-check any comments you have in your headers, templates, and cards.) If you need to use these commands, please add them to a system package and import that package as described in the previous section. MiscellaneaOn Windows/Linux you can hold down the alt key and press a highlighted letter to activate a particular menu. Debug ConsoleSometimes you may be asked to use the debug console to change a setting or check something. Unless asked to enter text in the "debug console", you will probably not need this. Advanced users may like to read more about it in the add-ons page, linked below. When asked to enter text into the "debug console", please start Anki, and in the main window, press Ctrl+: (that is the control key and colon key at the same time), or on a Mac, Command+: (command key and colon key at the same time). When you do so, a new window should pop up. In the window that has popped up, please paste the text you were asked to paste in the top section. When you’ve done so, please press Ctrl+Return (Command+Return on a Mac), and some text should appear in the bottom section. If you’ve been asked to paste the resulting output, please copy it from the bottom area, and paste it back to the support person. Add-onsAnki’s capabilities can be extended with add-ons. Add-ons can provide features like extra support for specific languages, extra control over scheduling, and so on. To browse the list of available add-ons, select the Tools>Add-ons>Browse & Install menu item. You can also use Tools>Add-ons to check which add-ons are installed. Some add-ons have options or customizations that are only accessible by editing them. To edit an add-on, go to Tools>Add-ons>[add-on name]>Edit. Please be careful when editing - special characters and whitespace is important, so if you see something like: …and you accidentally change it to the following, Anki will throw an error when it is restarted: Many add-on authors include their email address in the add-on, so if you need to get in touch with the author, editing the add-on and looking at the top of the file may help. If you have downloaded an add-on that is not working properly, or if you accidentally made a mistake when editing an add-on, you can use the "Delete" option in the menu to remove it. ContributingSharing Decks PubliclyTo share decks with other people, synchronize them with AnkiWeb, then log into AnkiWeb and click on "Share" from the menu next to the deck you wish to share. If you shared a deck previously (including with previous versions of Anki), you can update it by clicking "Share" as above. Please ensure the name of the deck in your account exactly matches the name shown in the shared deck listing, or you’ll end up creating a new shared deck rather than updating the old one. Updating a shared deck will not reset the download counts or ratings. You can delete a shared deck that you have uploaded using the Delete button on the shared deck’s page.
Sharing Decks PrivatelyTo share a deck privately, use File>Export and export in the packaged Anki deck format (including media if necessary). You can then place the resulting deck.apkg file on a private website for people to download, or mail it to the relevant people. Both desktop and mobile clients make it easy to import from an apkg file simply by clicking on it. AnkiWeb does not have the ability to import apkg files however, so the recipients of your deck will need to have the desktop client or Anki on their smartphone. When a user imports a .apkg file, cards that already exist in their collection will be ignored and any new cards will be added. As long as they use the same note type, modified cards will also be updated. To prevent data loss, cards that have been deleted in the new apkg file will not be deleted in the user’s collection, so if you need to delete cards from users' decks for whatever reason, you will need to contact them about it. Sharing Add-onsPlease see the add-on documentation above. App TranslationsLaunchpad will guess which languages you can translate based on the country you’re connecting from. If the language you want to translate to doesn’t appear, sign up for a launchpad account, and in your profile, click the ! next to preferred languages to the language you want to translate. There are some special markers in text that you need to be aware of, and careful when translating:
Sometimes it will not be clear what a string refers to, and you may want to see the context. Below every string to be translated, you’ll see a line like this: Located in ../dtop/aqt/deckbrowser.py:299 If you strip off the first "../dtop" section, you’re left with something like "aqt/deckbrowser.py:299". You can then visit https://github.com/dae/anki/, locate the same filename, and click on it. The file will be displayed with line numbers on the left, and by matching up the line numbers (they may differ by a few lines sometimes), you may be able to get a better understanding of what the string refers to. If you see forms in the string like the above example, the strings will generally be obvious. If you do need to understand the context however, things are a little more complicated, as those files are automatically generated from an interface description instead. Please go to https://github.com/dae/anki/tree/master/designer and locate the same filename and click on it. We can’t rely on line numbers in this case, so please use the browser’s find option to find the string in the file. The lines immediately surrounding the found text may give a clue as to its meaning. If you find a string that you’re unsure how to translate, or would like to start a discussion with fellow native speakers on the best way to translate something, please feel free to start a thread in the Anki forums. Any translations that were made at least a few hours before a new Anki release are automatically included in the next release. Entirely new languages need to be added manually, so please contact us if that applies to your translation. If you’d like to see your name in the About screen as a contributor, please drop Damien a line. If you’d like to try out your translations without waiting for a new release, you can export a .mo file from the translation website. If you then move that .mo file into Anki’s installation folder, overwriting an existing .mo file with the same language code (in the locale folder), Anki will display the new translations when it is next started. Translating the ManualIf you’re a fairly technical user, you may want to translate the source file of the manual, and compile it yourself with asciidoc. You can also use that github repo to keep track of changes to the manual in the future. If that sounds complicated, an easier way is to visit this page and use File>Save As to save the manual to disk. You can then import it into Microsoft Word or similar software, and translate it that way. When you’re happy with the translation, you can either put it up on your website and I can link to it, or I can host the translated file on Anki’s website (but if you’re planning to make frequent updates, the former is a better choice). If you’d like, you can post it before you’re done and we can link to it in the list of in-progress translations below. Another option is to put your translation on a wiki, so that other users can contribute to it. There are many sites such as Wikia that will allow you to easily create your own wiki for free. (The English version once used a wiki; we found that we got too many unhelpful contributions and had to spend too much time correcting them, but your mileage may vary.) The following translations are currently in progress:
If you would like to help with one of these translations, please contact us on TenderApp and we will put you in touch with the user(s) currently working on it. Contributing CodeIf you have bugfixes or believe your changes would benefit many people, please have a look at the LICENSE file, and if you agree to the license, drop Damien an email or a Github pull request. Frequently Asked QuestionsI haven’t studied for a while, and now the next due times are too big!When you use Anki every day, each time a card is answered correctly, it gets a bigger interval. Let’s assume that good about doubles the interval. Thus you have a 5 day wait, then a 10 day wait, 20 days, 40 days, and so on. When people return to their deck after weeks or months of no study, they’re often surprised by the length intervals have grown to. This is because Anki considers the actual time the card was unseen, not just the time it was scheduled for. Thus if the card was scheduled for 5 days but you didn’t study for a month, the next interval will be closer to 60 days than 10 days. This is a good thing. If you have successfully remembered a card after a one month wait, chances are you’ll remember it again after a longer wait, too. The same principles which make SRS effective in normal use apply when you’re studying after a delay, too. It also makes little sense to schedule a card for 10 days in the future if you were able to easily answer it after a whole month’s wait - you’d be going backwards. Resetting the deck is an even worse solution. When returning to a deck after a long absence, you may have forgotten many of your cards, but chances are you haven’t forgotten them all. Resetting the entire deck means you have to waste time studying material you already know. Now you may find overdue cards that you were able to recall, but not comfortably, since they were not reviewed when they should have been. To counter this, Anki treats the delay differently depending on your answer. If you find a card easy, the last interval plus the full delay are added together, and then used to calculate the next interval. When you answer good, only half the delay is used. And when you answer hard, only a quarter of the delay is used. So if a card was due in 5 days, and it’s answered 20 days late, the next times you’d end up with are approximately:
(the factors will actually vary depending on your performance in the deck) If you find a card hard, the next interval is quite conservative and is less than the last wait (25 days). If you find it good, the next interval is only about 50% higher. And easy increases the interval aggressively as usual. So it is recommended that you study as normal when you return to Anki after a period of absence. But if you absolutely must reset the deck, you can select the cards to reset in the browser, and use Edit>Reschedule. Can I do multiple-choice questions?Multiple choice questions are a poor review tool for a number of reasons. The reason they are commonly used in an academic setting is because they are easy to mark, and they allow the person studying to demonstrate their ability to recognize the correct answer even if they can’t produce it themselves. Furthermore, good multiple choice questions have well chosen "distractors" - answers that are similar to the correct answer. A computer can look for similary spelt words, but it is not capable of chosing good distractors for more complicated topics. If you are studying for a test and you have a sample test with a multiple choice question like the following: Q: What animal has a really long neck? A: 1. A monkey. 2. A giraffe. 3. A donkey. 4. A snail. Then that question should be rewritten in Anki as follows: Q: What animal has a really long neck? A: A giraffe. Or you can add your own choices: Q: What animal has a really long neck? (dog/cat/giraffe/penguin) A: A giraffe. Can I link cards together? Add dependencies? How should I handle synonyms?Anki supports links between cards of a note, but not between unrelated cards. Imagine are you studying Japanese and aiming to be able to both recognize and reproduce the Japanese. You may enter the word "ookii", which means "big", and tell Anki to generate two cards - ookii→big and big→ookii. In the above situation Anki can space reviews of those two sibling cards out so that they don’t appear one after the other (see sibling spacing in the link at the top of this document). Some people want to extend this link between arbitrary cards. They want to be able to tell Anki "after showing me this card, show me that card", or "don’t show me that card until I know this card well enough". This might sound like a nice idea in theory, but in practice it is not practical. For one, unlike the sibling card case above, you would have to define all the relations yourself. Entering new notes into Anki would become a complicated process, as you’d have to search through the rest of the deck and assign relationships between the old and new material. Secondly, remember that Anki is using an algorithm to determine when the optimum time to show you material again is. Adding constraints to card display that cause cards to display earlier or later than they were supposed to will make the spaced repetition system less effective, leading to more work than necessary, or forgotten cards. The most effective way to use Anki is to make each note you see independent from other notes. Instead of trying to join similar words together, you’ll be better off if you can determine the differences between them. Synonyms are rarely completely interchangeable - they tend to have nuances attached, and it’s not unusual for a sentence to become strange if one synonym is replaced with another. Continuing with the Japanese example earlier, imagine you want to learn the word "dekai", which also roughly translates to "big", but is a more colloquial expression. If you still want to review in both directions, you might make the English prompt of this word "big (more casual)". The further you progress in your language studies though, the more of a burden it becomes to define the differences between similar words, which is why cards asking you to produce a particular word are best left to the early stage of your studies. With a strong base vocabulary, moving towards recognition-based study makes more sense, as we all have a much larger passive vocabulary than our active vocabulary. As for ensuring that difficult material is introduced after easier material, a number of existing tools are available. New cards are by default introduced in the order they are added to the deck, so as long as the learning materials or sources of information you are using are adequately graded for your level, material should appear in order of easiness. Can I give my notes an arbitrary number of fields?Notes are designed to represent closely related information, and to make it easy to reorganize where that information appears on a card. In the context of language learning, notes are useful for representing things like a phrase-translation pair, a phrase-translation-reading triplet, and so on. All of these relationships are 1:1 - a given phrase has only one reading, and one translation. (1) Because of their ability to tie related pieces of information together, some people try to use notes to tie less closely related information in their deck together. For example, if they come across two sentences with the word "completely":
Then they put those two sentences in the same note, under the rationale that since they share a word, they are related. But what if the user comes across another example sentence?
That sentence shares the word "confused" with a previous sentence. So should it be in the note for "confused"? Or the note for "completely"? Or both? Unlike the phrase-translation pairs mentioned above, if you say sentences are related if they share a word, then sentences have a many:many relationship. That is, sentence A may be related to sentence B and C, sentence B may be related to A and D, and so on. Because the relationships are complex and overlapping, notes are not a good way to represent them. There seem to be two main reasons people try to represent such relationships in notes:
(1) It is possible for different people to translate the same phrase in different ways, and different dialects may read the same word differently, but that is not relevant to the discussion. Can I host my own AnkiWeb?Sorry, AnkiWeb is only available as a hosted service. Why is the Android version free when the iPhone version isn’t?Working on Anki desktop, AnkiWeb and AnkiMobile is my full time job, and I need some way of paying the bills. Since I make the desktop & web versions available for free, I rely on sales of the iPhone app in order to finance development. AnkiDroid is written by a separate group of volunteers. Since they based it on the free desktop version I make available (and rely on AnkiWeb in order to synchronize decks), they decided to make it freely available as well. What spaced repetition algorithm does Anki use?Anki was originally based on the SuperMemo SM5 algorithm. However, Anki’s default behaviour of revealing the next interval before answering a card revealed some fundamental problems with the SM5 algorithm. The key difference between SM2 and later revisions of the algorithm is this:
The latter approach promises to choose more accurate intervals by factoring in not just a single card’s performance, but the performance as a group. If you are very consistent in your studies and all cards are of a very similar difficulty, this approach can work quite well. However, once inconsistencies are introduced into the equation (cards of varying difficulty, not studying at the same time every day), SM3+ is more prone to incorrect guesses at the next interval - resulting in cards being scheduled too often or too far in the future. Furthermore, as SM3+ dynamically adjusts the "optimum factors" table, a situation can often arise where answering "hard" on a card can result in a longer interval than answering "easy" would give. The next times are hidden from you in SuperMemo so the user is never aware of this. After evaluating the alternatives, the Anki author decided that near-optimum intervals yielded by an SM2 derivative are better than trying to obtain optimum intervals at the risk of incorrect guesses. An SM2 approach is predictable and intuitive to end users, whereas an SM3+ approach hides the details from the user and requires users to trust the system (even when the system may make mistakes in the scheduling). Anki’s algorithm is based on SM2, but differs from it in some respects.
You can also check out sched.py in Anki’s source code for the scheduling code. Here is a summary (see the deck options section for the options that are mentioned in italics). If you press… Again The card is placed into relearning mode, the ease is decreased by 20 percentage points (that is, 20 is subtracted from the ease value, which is in units of percentage points), and the current interval is multiplied by the value of new interval (this interval will be used when the card exits relearning mode). HardThe card’s ease is decreased by 15 percentage points and the current interval is multiplied by 1.2. GoodThe current interval is multiplied by the current ease. The ease is unchanged. EasyThe current interval is multiplied by the current ease times the easy bonus and the ease is increased by 15 percentage points. For Hard, Good, and Easy, the next interval is additionally multiplied by the interval modifier. If the card is being reviewed late, the number of days that the card is overdue will be added to the current interval before doing these calculations. There are a few limitations on the scheduling values that cards can take. Eases will never be decreased below 130%; SuperMemo’s research has shown that eases below 130% tend to result in cards becoming due more often than is useful and annoying users. Intervals will never be increased beyond the value of maximum interval. Finally, all new intervals (except Again) will always be at least one day longer than the previous interval.
|