Convert Chinese characters to Pinyin. By default, characters without pinyin are ignored (you can customize how to handle characters without pinyin by customizing the value of the Fallbackparameter, see the example for details). According to the "Chinese Pinyin Scheme" y, w, ü (yu) are not initials, and not all pinyins have initials, if this is not what you expected, what you may need is the initial style FirstLetter ( details ).

Features

  • Licensed under the MIT license
  • API documentation
  • Conversion tool Go version
  • By default, characters without pinyin are ignored
  • Provides Examples

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow go-pinyin

go-pinyin Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of go-pinyin!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks

Registered

2023-02-03