Python 漢字轉化成拼音

Python 把漢字轉化成拼音 每一個漢字對於一個編碼,經過查找編碼能夠把漢字轉換成拼音,漢字編碼文件能夠在網上下載(unicode_pinyin.txt)。git def chinese_to_pinyin(x): y = '' dic = {} with open("D:/Downloads/unicode_pinyin.txt") as f: for
相關文章
相關標籤/搜索