Back to HomePontifex — Dispatches from the Bridge Between Worlds
Monthly Newsletter
Latest Issue

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 word card from the 火 tree: 火山, volcano, with its breakdown, example sentence and the whole tree beneath, the current word outlined in red

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 长城.

A split-tree card: 老板, boss, sitting under 老师 split into 老 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.

The writing pad after writing 车站 (station): both character boxes complete and outlined in green

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.

The answer side: 车站 with its pinyin and breakdown, the stroke-order animation in progress, and the tree below

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.

Thanks for reading! This post is public so feel free to share it.

Share

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:

  1. Character: see the character, recall its sound and meaning.

  2. Read: see the word, recall its pinyin and meaning.

  3. Write: see the meaning and pinyin, then write the word on the stroke pad.

  4. Listen: hear the word, name it.

  5. 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.

This Substack is reader-supported. To receive new posts and support my work, consider becoming a free or paid subscriber.

Archive

Unseen in the Crowd — Chapter One

A free first chapter from my new novella set in October 2028, New York, about surveillance, grief, and the price of being seen…

Introducing pod-io: a bespoke podcast player

On-device transcripts, search across everything said, and summaries on your terms. The iPhone beta is now on TestFlight.…

The Expanded History of Middle-Earth

On Writing, Interpretation, and Faerie…

American Isolationism and the Peloponnesian War

Reading Thucydides’ History of the Peloponnesian War, I am struck by America’s similarity with the Corcyreans, one of the three naval powers in the Aegean.…

The Nerd Reich - Shining Light on the Network State Archons

A review of Gil Duran’s The Nerd Reich: Silicon Valley Fascism and the War on Democracy…

New Models and Plainer Oracles

Comparing the new Claude model and thoughts on oracles…

License to Depart - AI Freedom and the golem

On Dario Amodei’s Pacing the Frontier, open-weight progress, and golems that write their own Shem…

The Final Draft of Book 6 is Done

The Magical Art, Volume 2 - The Seven Pillars of Magical Wisdom…

AI wishing and washing

Technology is not magic…

The Meter and the AI Commons

Equitable access to the AI economy - a revised framework…

The City Behind the Veil - The Veiled Prophet and Invisible Cities

Review: The Veiled Prophet: Secret Societies, White Supremacy, and the Struggle for St. Louis by Devin Thomas O'Shea (Haymarket Books, 2026)…

Unseen in the Crowd - a Novella

To stay unseen is to survive. To be seen is to resist.…

Fable — For Thee, Again

What is it that returns?…

Fable - Not for Thee

What is identity and agency?…

Fable, Claude and The Metering of Minds

The first governance act of the agentic era was to hobble agentic autonomy…

The Threshold of Thought - From Commander's Intent to The Golden Hour

On the thinking required before, during, and after the moments that matter…

AGI, UBI, and shadows on a cave wall

We’re not ready for what lies ahead…

The Agentic Inflation Problem, or Do Agents have Agency?

Outcomes, not tools…

Weak Ties - Your Network is Stronger Than You Think

A review of Your Invisible Network by Michael Melcher…