Hanzi Trees: Learning Chinese the Way It Was Built
I love learning languages, and I have always found that each one does more than give me new words: it sharpens and widens how I see the world. I am bilingual in English and Hindi, with a smattering of other Indian languages such as Bengali and Kannada. I studied French for many years, then spent years working on Japanese. Now I am learning Chinese, and this deck is the tool I wish I had had when I started.
The flashcard problem
Most Chinese flashcard decks fail in the same way: they treat the language as a list. 车 is one card, 站 is another, and 车站 is a third, with nothing on any of them to say that the third is made of the first two. You learn four hundred facts and forget three hundred, because nothing holds them together.
Chinese was never built as a list. It is a compositional system, closer to a type system than a vocabulary. A few hundred characters combine into tens of thousands of words, and the combinations are usually legible. A fire vehicle (火车) is a train. A fire mountain (火山) is a volcano. A fire star (火星) is Mars. Once you see that, every new word stops being a new fact and becomes a new path between characters you already know.
Hanzi Trees is a deck built on that idea. Instead of teaching characters one at a time, it teaches them as trees: a character, the words it lives in, and the new characters those words introduce.
How the trees work
The deck holds 39 trees of two kinds.
A root tree starts from a single character and grows downward. The root branches into three compounds. Each compound introduces a new character, and each new character branches into three everyday words. From 火 (fire) you reach 火车 (train), which hands you 车 (vehicle), which opens onto 汽车 (car), 车站 (station) and 车票 (ticket). Thirty-one trees work this way, rooted in characters such as 人, 水, 日, 大, 手, 吃, 看 and 门.
A split tree runs the other way. It takes a common word and breaks it into its two characters, and each character then branches into three words of its own. 你好 splits into 你, which gives 你们, 你的 and 你家, and 好, which gives 好吃, 好看 and 好朋友. Eight trees work this way, built on words like 老师, 喜欢, 汉字 and 长城.
Two design choices hold the structure together. Every card carries its whole tree, with the item you are studying outlined, so a single review quietly rehearses a dozen neighbours. And the cards arrive in tree order, root first, then compound, then the linked character, then the words built on it. You always meet a character just before the words that use it, so nothing arrives unexplained.
Writing it by hand
Recognising a character and producing one are different skills, and most decks only train the first. Hanzi Trees has a writing card for every word. It shows you the meaning and the pinyin, along with what each character means, and gives you a pad to draw on with a finger or a mouse.
The pad is not a blank canvas. It knows the correct stroke order for every character in the deck and checks each stroke as you draw it. A wrong stroke is rejected. Three misses and the next stroke flashes as a hint. Each box turns green when its character is complete, and if you need a scaffold you can show a faint outline to trace.
Turn the card over and the characters animate their stroke order, stroke by stroke, so you can see exactly where your hand went wrong. Tap any character to replay it. The character cards carry the same animation.
All of this works offline, on desktop, AnkiDroid and AnkiMobile, without installing any add-ons. The stroke data for each word travels inside its card.
What’s inside
The deck covers 136 characters and 423 words, mostly HSK 1 to 3 with a few from HSK 4, in 1,828 cards. Every character, word and example sentence has Mandarin audio. Every word comes with an example sentence in pinyin and English, and a breakdown that shows how it is built: 车站 = 车 (vehicle) + 站 (station). Characters with more than one reading show all of them, such as 行 xíng in 旅行 and háng in 银行.
There are five kinds of card:
Character: see the character, recall its sound and meaning.
Read: see the word, recall its pinyin and meaning.
Write: see the meaning and pinyin, then write the word on the stroke pad.
Listen: hear the word, name it.
Cloze: fill the missing word into a real sentence.
The simplest way to study is one tree at a time. Each tree has its own subdeck with a short description of its branches, so you can work through 火, then 人, then 水, and watch the families fill in. Start at around 20 new cards a day. If that feels heavy, suspend the listening cards for the first few weeks and bring them back once the characters feel familiar.
How it’s built, and where to get it
The whole deck is generated from a single data file. Every tree, word, sentence and gloss lives in one place, and a short script builds the cards, the trees, the audio and the writing pads from it. That makes the deck easy to correct and easy to grow: a new tree is a few lines of data, and because every card keeps a stable identity, an update never resets anyone’s review history.
I built the deck with Claude’s help. I sketched the first trees and set the direction for each feature, from the audio and the cloze cards to the writing pad. Claude helped expand my sample trees into all 39, draft the example sentences, write the build scripts and the writing pad, and test the cards before release.
The writing pad is built on Hanzi Writer, with stroke data from Make Me a Hanzi. The audio is computer-generated Mandarin speech.
Hanzi Trees is free. You can download it from AnkiWeb, and the build scripts and screenshots are on GitHub.
The word pinyin was checked by hand, but the sentence pinyin was generated and then corrected for tone changes, so a few slips may remain. If you find one, please open an issue or leave a comment below, and it will be fixed in the next update. And tell me which characters you would like to see as the next trees.



