文件名称:gpy:Go 语言汉字转拼音工具
文件大小:730KB
文件格式:ZIP
更新时间:2024-06-19 08:34:13
go golang pinyin chinese Go
gpy 汉语拼音转换工具 Go 版。 Installation go get -u github.com/go-ego/gpy install CLI tool: go get -u github.com/go-ego/gpy/tools/pinyin $ pinyin 中国话 zhōng guó huà $ pinyin -s zhao 中国话 zhong guo hua Documentation API documentation can be found here: Usage package main import ( "fmt" "github.com/go-ego/gse" "github.com/go-ego/gpy" "github.com/go-ego/gpy/phrase" ) var test = `西雅图都会区; 长夜漫漫, winter is comin
【文件预览】:
gpy-master
----.gitignore(662B)
----go.mod(149B)
----doc.go(1KB)
----pinyin_dict.go(788KB)
----Makefile(415B)
----phonetic_symbol.go(441B)
----.travis.yml(699B)
----CONTRIBUTING.md(4KB)
----LICENSE(11KB)
----CHANGELOG.md(56B)
----go.sum(873B)
----README_zh.md(2KB)
----.github()
--------CONTRIBUTING.md(23B)
--------issue_template.md(821B)
--------pull_request_template.md(935B)
--------workflows()
----tools()
--------pinyin()
--------gen_pinyin_dict()
----examples()
--------main.go(655B)
--------dict.txt(15B)
----example_test.go(3KB)
----README.md(3KB)
----circle.yml(759B)
----pinyin_test.go(8KB)
----benchmark_test.go(6KB)
----phrase()
--------paragraph_test.go(2KB)
--------phrase_dict_add.go(368B)
--------README.md(670B)
--------phrase.go(1KB)
--------phrase_dict.go(1.57MB)
--------paragraph.go(2KB)
--------phrase_test.go(1KB)
----pinyin_dict_add.go(97B)
----gpy.go(3KB)
----pinyin.go(5KB)