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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try 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