Skip to content

Instantly share code, notes, and snippets.

@sailist
Created June 2, 2019 06:50
Show Gist options
  • Save sailist/f624013f2c6e921e9b85739f8cbafa56 to your computer and use it in GitHub Desktop.
Save sailist/f624013f2c6e921e9b85739f8cbafa56 to your computer and use it in GitHub Desktop.
将拼音的声调转换为字母+数字的形式
ū#u,1
à#a,4
ǔ#u,3
ǐ#i,3
í#i,2
é#e,2
ó#o,4
ò#o,2
ā#a,1
ú#u,2
ù#u,4
ō#o,1
ì#i,4
ě#e,3
ǎ#a,3
è#e,4
ē#e,1
á#a,2
ü#v,-
ǒ#o,3
ī#i,1
ǜ#v,4
ň#n,3
ǚ#v,3
ǘ#v,2
ḿ#m,2
̀#m,4
ń#n,2
ǹ#n,4
̄#m,2
ế#e,2
ê#e,5
̌#e,3
ề#e,4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment