Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 227 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 227 Bytes

pinyinToZhuyin

Converts pinyin text to zhuyin

pinyinToZhuyin('Nǐ hǎo mā');

Returns "ㄋㄧ3 ㄏㄠ3 ㄇㄚ1"

pinyinToZhuyin('ni3hao3ma');

Returns "ㄋㄧ3ㄏㄠ3ㄇㄚ5"