Skip to content

shmokmt/go-zhuyin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-zhuyin

Go Reference Test

A utility tool that converts Chinese characters to zhuyin(a.k.a bopomofo).

Usage

package main

import (
	"fmt"

	"github.com/shmokmt/go-zhuyin"
)

func main() {
	fmt.Print(zhuyin.Convert("日本人")) // ㄖˋ ㄅㄣˇ ㄖㄣˊ
}
$ zhuyin 日本人
ㄖˋ ㄅㄣˇ ㄖㄣˊ

Author

shmokmt