{"repo":"mozillazg/go-pinyin","free":true,"listed":false,"github":"https://github.com/mozillazg/go-pinyin","clone":"git clone https://github.com/mozillazg/go-pinyin.git","description":"汉字转拼音","language":"Go","stars":1789,"topics":["go","pinyin","golang","hanzi","hanzi-pinyin","chinese"],"license":"MIT","category":"cli-tools","readme_excerpt":"go-pinyin ========= 汉语拼音转换工具 Go 版。 Installation ------------ install CLI tool: Documentation -------------- API documentation can be found here: https://godoc.org/github.com/mozillazg/go-pinyin Usage ------ 注意： 默认情况下会忽略没有拼音的字符（可以通过自定义 Fallback 参数的值来自定义如何处理没有拼音的字符， 详见 示例）。 根据 《汉语拼音方案》 y，w，ü (yu) 都不是声母， 以及不是所有拼音都有声母，如果这不是你预期的话，你可能需要的是首字母风格 FirstLetter （ 详细信息 ）。 Related Projects ----------------- hotoo/pinyin: 汉语拼音转换工具 Node.js/JavaScript 版。 mozillazg/python-pinyin: 汉语拼音转换工具 Python 版。 mozillazg/rust-pinyin: 汉语拼音转换工具 Rust 版。 pinyin data ----------------- 使用 pinyin-data 的拼音数据 License --------- Under the MIT License.","default_branch":null,"files":null,"tree":[],"storefront":"/r/mozillazg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mozillazg/go-pinyin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}