Posted on 1/29/2025
Tags:
Programming,
Tools,
Parenting
Happy Lunar New Year!
Introducing the
Mandarin Communication Board, a tool for learning and communicating in Mandarin Chinese.
My son recently started showing interest in learning Mandarin thanks to some
singing books sent by a friend of ours.
I made this tool to help us expand our vocabulary and enable us to communicate about every day stuff.
My favorite part as I dabble in Mandarin is that there is no verb conjugation! Grammar tends to be fairly simple, too, which means that you can start saying intelligible sentences quickly by picking up common words.
The toughest part so far is hearing and producing words with the right tones. To my untrained American ears, I often can't tell the difference between words that differ only in their tone. It's been helpful to see the words written in pinyin and spoken aloud using this communication board.
Some technical details:
- I'm using the built-in SpeechSynthesis browser API, which produces audio that's good enough with the voices in Safari. I'm considering using higher quality TTS, like
Google's, which appears to have a generous free tier.
- I used ChatGPT to do much of the hard work, including producing a lot of the vocabulary list. ChatGPT also contributed many of the word-to-emoji pairings. I had to remove many that were too abstract or a bad fit, though.
- For some words, I used iOS's new Genmoji feature to create images. I'm happy with the results!
- For other words, I used the wonderful and free images provided by
ARASAAC. I found this organization by searching for "AAC images". AAC stands for "Augmentative and Alternative Communication".
- For a few words, I used
Unsplash
- There are ~20 words and phrases with no images and I don't think I will find good ones for them
- I want to look into adding the full set of HSK1 and HSK2 vocabulary
- I am targeting Apple devices so it's likely that TTS or the full set of emoji may not show up on other operating systems
- This website can be added to your home screen as a PWA. I'm considering hooking it up to launch when I press the action button on my iPhone for quick reference.
- As a follow-on project, I might use this dataset to create flash cards to use with spaced repetition. Update: check out the
flashcards project!