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: 2 months 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 (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-10T01:50:09.000Z (about 1 year ago)
- Last Synced: 2025-04-01T17:10:33.391Z (2 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: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-zhuyin
[](https://pkg.go.dev/github.com/shmokmt/go-zhuyin)
[](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