nieldlr / hanzi

HanziJS is a Chinese character and NLP module for Chinese language processing for Node.js
http://hanzijs.com
MIT License
376 stars 56 forks source link

HanziDecomposer refactoring plus two unit tests #14

Closed djuretic closed 11 years ago

djuretic commented 11 years ago

I've used the new ifComponentExists function to refactor a bit the hanzidecomposer.js file. Also I added some tests.