/pinyin

demo convert chinese charcater to Pinyin

Primary LanguageJavaScript

Test program to convert Chinese Character to Pinyin

To run the program:

npm run dist

or

yarn run dist

or

node .

To stop the program:

CTRL-C

Sample run:

Enter Chinese sentences: 會計師會不會計會計不會計會計
Input: 會計師會不會計會計不會計會計
Pinyin: kuài jì shi huì bù huì jì kuài jì bù huì jì kuài jì 

Enter Chinese sentences: 快的
Input: 快的
Pinyin: kuài de 

To do:

  1. Chinese word databases?