Introducing Hanzi – A Character Decomposition Tool

By Confused Laowai | Date: March 19th, 2012 | Category: Learning Techniques

I’ve been a bit busy lately. Doing lots of coding. One of my personal projects this weekend (which will eventually be used in my research) was to create a Chinese character decomposition tool. I’ve always had this problem. I was never sure how to decompose Chinese characters into their radical components. I set out to solve this problem. Say 你好 to Hanzi.

Example of decomposing the character 赶

To avoid being overly technical:

 Hanzi is a Chinese character dictionary lookup (still in development) and radical decomposition module for Node.js.

It was created using the Node.js coding language. This is for the coders and language learners as I think this could benefit many people out there. It is still very early in its development cycle. So it has a few limitations:

1) Can only lookup one character at a time.

2) Only breaks down the character into two parts.

3) Some characters break down into REALLY weird glyphs, which can’t be shown by the average browser.

4) Some character decompositions show numbers instead of their components. This is how the data is structured. It will be solved soon. This is especially apparent in more complex characters and 繁体字 (traditional characters).

5) The decompositions aren’t all radicals. They are “parts” rather than radicals. Well most of it. I will set out to show all the radicals eventually.

6) When decomposing a radical it displays an “undefined” next to it. Will remove it in the next update.

But, hey it’s a start in the right direction. So try it out at HanziJS.com. I still have lots of development to do on this module, but it works good enough already to help you guys out. For more a technical post head to my personal blog.

Related posts:

Chinese Rage Comics
A visit from Beijing JiaoTong University and how 姜 trolled me
Chinese Character Challenge - Level up!
Introducing HanziCraft

Subscribe via email to receive new posts straight in your inbox!

Enter your email address:


  • http://www.justlearnchinese.com/ Grace

    I
    can imagine how hard the job could be given the complexity of some Chinese
    characters. But I can see the great value your work produces. I will cheer for
    you for any new progress you made.Grace

  • http://niel.delarouviere.com NielDLR

    Thanks Grace,

    yes, most of the work though was already done by other learners and coders who created solid databases. I’m building upon that!

  • Pingback: Online Chinese Character Decomposition Tool | Chinese Hacks

  • Anonymous

    Great to see someone leveraging computer power for Chinese studies! Despite all of the tools out there, I still think it’s very much an untapped source of learning for many of us.

  • http://eastasiastudent.net/ Hugh Grigg

    Looks awesome! I love stuff like this, I really think technology is
    underutilised in language learning. Got a little project of my own going
    as well.

  • J.

    Cool thing! Love it!

  • http://niel.delarouviere.com NielDLR

    A pleasure! :)