Skip to content

pinyin4net is a .net library supporting convertion between Chinese characters and Pinyin systems.

License

Notifications You must be signed in to change notification settings

CoresenYan/pinyin4net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pinyin4net

Pinyin4net can help you convert 中文 to zhōng wén.

Getting started

	using Pinyin4net;  

	...  
	string[] pinyinStr = PinyinHelper.ToHanyuPinyinStringArray(someChineseChar);  
	...  

Features

  • Convert Chinese to Hanyu Pinyin system.
  • Support both Simplified Chinese and Tranditional Chinese.
  • Multiple options for output format
    All uppercase or lowercase
    Can out put Unicode ü or v or u:
    With tone numbers (lü3) or tone marks (lǚ) or without tone (lü)

Acknowledgments

Most code of pinyin4net is based on the code of project pinyin4j.
Thanks Li Min for the great code ^_^.

Bug tracker

Have a bug? Please create an issue here on GitHub!
https://github.com/YangKuang/pinyin4net/issues

Authors

Yang Kuang([email protected])

License

Pinyin4net is released under the MIT licence:

About

pinyin4net is a .net library supporting convertion between Chinese characters and Pinyin systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 87.7%
  • HTML 12.2%
  • Batchfile 0.1%