Skip to content

zjsxwc/ChineseToNumericTonesPinyin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

把汉字转换为数字标记声调的拼音

编译

rm ChineseToNumericTonesPinyin
make

用法

./ChineseToNumericTonesPinyin 飞龙_在天

把汉字转换为数字标记声调的拼音,比如 ā 为 a1、á 为 a2、ǎ 为 a3、à 为 a4,只能处理非多音字,多音字需要手动修改。

比如 hi,我是 中国人 的结果是 hi,wo3shi4 zhong1guo2ren2

飞龙_在天 的转换结果是: fei1long2_zai4tian1

About

把汉字转换为数字标记声调的拼音

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages