hanzi2pinyin icon indicating copy to clipboard operation
hanzi2pinyin copied to clipboard

Convert hanzi (Chinese character) to pinyin 汉字转换到拼音

This library converts Chinese character to pinyin.

Limitations:

  1. Does not handle polyphone (now).
  2. The pinyin data is obtained from Unihan database. Maybe not complete or incorrect for some characters. But I can't find more accurate data from other resources.