Skip to main content
Home About Privacy Contact

Posts

Featured Post

Anki-xiehanzi - Learn to read and write Mandarin using Anki

xiehanzi Learn Mandarin by drawing strokes Learn, read, write and practice Mandarin by drawing strokes in Anki Desktop , AnkiDroid and AnkiMobile with audio of HSK1 to HSK6 characters.   Download From GitHub AnkiWeb Features Night mode Change size of characters Change drawing stroke width HSK1 - HSK6 audio included in the decks View meaning by opening  Pleco dictionary  on phone. View character details using  https://hanzicraft.com/ View mnemonics of characters using  http://rtega.be/chmn/ Practice simplified as well as traditional characters Show or hide Simplified, Traditional characters, Pinyin or Meaning Draw characters to learn Mandarin with Simplified, Traditional, Pinyin and Meaning Indicator at bottom for showing if charact
Recent posts

Create language database with translation using Google Sheets

In Chinese vocabulary Generator Anki Addon , I used python module to translate example sentences but it increases the time for list generation. So, in this post I will explain how to create database with translation using Google sheets. This will help in creating flashcards offline with sentences and translation. Also it can be used in Anki addon development for language learning. I will take example of creating Chinese language database. 1. Download the sentences database from tatoeba 2. Open it with Google sheets 3. Use Google Translate function to translate all the sentences.  = GOOGLETRANSLATE ( C1 , "zh" , "en" ) 4. Select first cell then click   CTRL + SHIFT + down arrow, after that  click  CTRL + D to copy formula to all cell in that column. 5. Wait for sometime to complete the translations 6. Download the sheets as TSV files 7. Use this python script to create sqlite db file from tsv file. Note: Change the fields and table name as p

Sentence Adder Anki Addon: Add sentence in Anki editor in one click

Add sentences to Anki editor window in one click with batch adder option Select a word in edit field and click add button to add sentences to that fields matching the words. Also create/add sentences for any languages. The sentences database created using tatoeba language tsv files. Download language tsv file from tatoeba . Install Download addon from AnkiWeb  Sentence Adder Anki Addon Download from GitHub release page  Sentence Adder Anki Addon Features Create new language database Add random sentence in one click View list of all sentences matching the selected word Change language (Require restart of Anki to apply changes) Change color of sentences Batch sentences adder Sentences containing spaces Usage Install 1. Install Addon from AnkiWeb Anki -> Tools -> Add-ons -> Get Add-ons... Paste the code 1682655437 and install. 2. Restart Anki and open the Addon to add new languages. 3. Download language of choice from

Chinese Vocabulary Generator Anki Addon

Create Chinese vocabulary list with examples sentences and audio and notes data to Anki Download Download this Addon from AnkiWeb Note: The offline version have only dictionary data. The audio and sentences translation will be still fetched online. But it will create notes instantly without audio and sentences translation. Features Characters Simplified Traditional Pinyin Meanings Audio Examples Sentences Simplified Traditional Pinyin Translation Audio Two templates Simple Colorful More Templates will be added in next updates How to Install this addon ? 1. Install Anki SRS 2. Install this Addons Anki -> Tools -> Add-ons -> Get Add-ons... Paste the code: 1370756741 And click ok to install How to use this addon ? 1. Open Anki 2. Open this addon Anki -> Tools -> Chinese Vocabulary Generator 3. Select the fields to add to cards 4. Enter deck name to create one 5. Enter simplified characters. It will fetch data for that characters online. If not found then it translate t

Anki JS API addon for getting decks and cards info like AnkiDroid JS API

AnkiDroid JavaScript API allow deck developer to add functionality to cards that can call native functions defined in AnkiDroid. This can be used to design whole new layout for buttons, cards info, top bar card counts, mark, flag etc. But Anki Desktop there are no official support like this JS API.  So, this is Anki addon for supporting the AnkiDroid-JS-API . Download AnkiJS API Addon View Source Code Usages To know more about the options view  AnkiDroid-JS-API .  New Count pycmd("AnkiJS.ankiGetNewCardCount()", (ret) => { console.log(ret); }); Learn Count pycmd("AnkiJS.ankiGetLrnCardCount()", (ret) => { console.log(ret); }); Review Count pycmd("AnkiJS.ankiGetRevCardCount()", (ret) => { console.log(ret); }); Mark pycmd("AnkiJS.ankiGetCardMark()", (ret) => { console.log(ret); }); Flag pycmd("AnkiJS.ankiGetCardFlag()", (ret) => { console.log(ret); }); Card Id pycmd("AnkiJS.ankiGe

Chinese Language Chengyu Anki Deck with Gamification

Excerpt from Wikipedia  Chengyu (traditional Chinese: 成語; simplified Chinese: 成语; pinyin: chéngyǔ; lit. '[already] made/formed words/speech') are a type of traditional Chinese idiomatic expression, most of which consist of four characters. Chengyu were widely used in Classical Chinese and are still common in vernacular Chinese writing and in the spoken language today.  Download Download Now from AnkiWeb Features in the Chengyu Anki Deck  Gamification, select chengyu characters in order  Simplified, Traditional, Pinyin and Audio View Wikipedia data related to Chenyu  View Meaning in zdict  Meaning taken from CC-CEDICT To create this deck 1. Create a new deck in Anki 2. Add five fields      chengyu_sim     chengyu_trad     Pinyin     Meaning     Audio 3. Download chengyu list and import in Anki and map the fields     View  Chenyu l

Add progress bar in AnkiDroid decks

For Anki Desktop there is already addons for showing progress bar. But in AnkiDroid there is no addons support so many cool features are not available for AnkiDroid. In this post, learn to add Progress Bar to AnkiDroid.  1. Download _js_addon_progress_bar.js scripts. Download 2. Extract the downloaded zip file and copy  _js_addon_progress_bar.js . 3. Paste it inside AnkiDroid/collection.media folder 4. Add this single line to front and back side of cards <script src="_js_addon_progress_bar.js"></script> Note: If backside of card template contains {{FrontSide}} Then don't add the above line. <script src="_js_addon_progress_bar.js"></script> 5. Turn on fullscreen 6. Restart reviewing View JavaScript Code Demo

Generate Anki Decks in browser from CSV, TSV and text files

For desktop it is very easy to create Anki deck from csv, tsv and text files. But this feature still not implemented for Android and iOS version of Anki. So this is workaround for creating Anki deck in browser. Steps to create Anki deck in browser 1. Visit  genanki-js   (Older and slower version  Anki-Export-Deck-tkinter ) Note: It is working on desktop, android phone and iOS v13 and v14. But on some devices it may failed to load and show loading page indefinitely. So use this  2. Import csv or tsv files  3. Enter fields name  4. Export the decks  5. Download the decks  In mobile the export file may be downloaded with .zip extension so after download complete, rename the file and remove .zip extension from the file then import in Anki. Demo