Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shmokmt/go-zhuyin
A utility tool that converts Chinese characters to Zhuyin
https://github.com/shmokmt/go-zhuyin
bopomofo taiwanese zhuyin
Last synced: 9 days ago
JSON representation
A utility tool that converts Chinese characters to Zhuyin
- Host: GitHub
- URL: https://github.com/shmokmt/go-zhuyin
- Owner: shmokmt
- License: mit
- Created: 2021-06-26T01:30:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-10T01:50:09.000Z (5 months ago)
- Last Synced: 2024-06-21T11:01:11.794Z (5 months ago)
- Topics: bopomofo, taiwanese, zhuyin
- Language: Go
- Homepage: https://pkg.go.dev/github.com/shmokmt/go-zhuyin
- Size: 36.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-zhuyin
[![Go Reference](https://pkg.go.dev/badge/github.com/shmokmt/go-zhuyin.svg)](https://pkg.go.dev/github.com/shmokmt/go-zhuyin)
[![Test](https://github.com/shmokmt/go-zhuyin/actions/workflows/go.yml/badge.svg)](https://github.com/shmokmt/go-zhuyin/actions/workflows/go.yml)A utility tool that converts Chinese characters to zhuyin(a.k.a bopomofo).
## Usage
```go
package mainimport (
"fmt""github.com/shmokmt/go-zhuyin"
)func main() {
fmt.Print(zhuyin.Convert("日本人")) // ㄖˋ ㄅㄣˇ ㄖㄣˊ
}
``````
$ zhuyin 日本人
ㄖˋ ㄅㄣˇ ㄖㄣˊ
```## Author
shmokmt