lxneng / xpinyin

Translate Chinese hanzi to pinyin (拼音) by Python, 汉字转拼音
http://lxneng.com
823 stars 178 forks source link

Pinyin to hanzi #55

Open jonatasgrosman opened 3 years ago

jonatasgrosman commented 3 years ago

Is there a way to use the tool to convert back a text from pinyin to hanzi?

edcijn commented 3 years ago

@jonatasgrosman unfortunately that's impossible as the pinyin to hanzi relation is a one-to-many relation.