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
Categories
FrameworksLicense
MIT LicenseFollow go-pinyin
Other Useful Business Software
Go From AI Idea to AI App Fast
Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of go-pinyin!