possible solution using Python :
I think the Unicode database contains pinyin Latin for Chinese characters, but they are not included in the module data unicodedata.
, cjklib, :
import cjklib
from cjklib.characterlookup import CharacterLookup
c = u'好'
cjk = CharacterLookup('T')
readings = cjk.getReadingForCharacter(c, 'Pinyin')
for r in readings:
print r
:
hāo
hǎo
hào
UPDATE
cjklib cjknife, .