| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
汉字转拼音,With Python
Example:
from pinyin import PinYin test = PinYin() test.load_word() test.hanzi2pinyin(string='钓鱼岛是中国的')
Out:
test.hanzi2pinyin(string='钓鱼岛是中国的') ['diao', 'yu', 'dao', 'shi', 'zhong', 'guo', 'de'] test.hanzi2pinyin_split(string='钓鱼岛是中国的', split="-") diao-yu-dao-shi-zhong-guo-de
| Back | FazBrowse Home | New Git URL |