You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
import pypinyin
zi = '苹果'
py = pypinyin.slug(zi, style=pypinyin.NORMAL, separator=' ')
Building Trie..., from /usr/local/lib/python3.4/site-packages/jieba/dict.txt
loading model from cache /var/folders/k9/47fd1ycj2rg19gn7d2g5g16c0000gn/T/jieba.cache
loading model cost 2.451965808868408 seconds.
Trie has been built succesfully.
print(py)
pin guo
What I was looking for is "ping guo".
Do we use a conversion table in python-pinyin? I probably should search for it before asking. If yes, I'm interested in this table.
The text was updated successfully, but these errors were encountered:
What I was looking for is "ping guo".
Do we use a conversion table in python-pinyin? I probably should search for it before asking. If yes, I'm interested in this table.
The text was updated successfully, but these errors were encountered: