from Hacker News

Show HN: Learning Chinese and Japanese with graphs and trees

by mreichhoff on 2/17/24, 3:06 PM with 4 comments

Just for fun, I built a language learning tool. It represents Chinese and Japanese as graphs of characters, with connections indicating given characters can form a word. It can also decompose characters to give clues on how they're pronounced, analyzes words to understand which ones are commonly used together, and more.

It's fully interactive, supports offline use, generates flashcards, has sentences from humans and from AI, and plenty of other features.

Check out the README for details. https://github.com/mreichhoff/HanziGraph

  • by uuuuuu on 2/19/24, 12:43 AM

    This is wonderful! Just last night I realized I had a need for something like this, while using the "words containing" feature of Pleco. I find I can remember characters much better if I see their relationship to other characters. Then I recognized hey this is a graph, that would be a cool thing to play with.

    I learned intermediate level Chinese 40 years ago, back when paper dictionaries with pinyin were the hot new thing. Then I forgot it all. I recently stumbled across Pleco, which astonished me so much I started learning Chinese again.

    I'm looking forward to using HanziGraph in my studying.

  • by barlog on 2/19/24, 6:34 AM

    FYI: Japanese people don't read 漢字 (kanji) as "hanzi".