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
Veeam Data Platform v13.1 Icon
Veeam Data Platform v13.1

Move workloads across hypervisors and clouds with no vendor lock-in. Try VDP free today.

Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
Try Now
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