anjuke / pinyin4py

汉字转拼音

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

$ pip install pinyin4py
from anjuke import pinyin

converter = pinyin.Converter()
converter.load_word_file('words.txt')
print converter.convert('中文测试')

About

汉字转拼音


Languages

Language:Python 100.0%