axgle / pinyin

convert chinese to pinyin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pinyin

convert Simplified Chinese to pinyin in golang

install

 go get github.com/axgle/pinyin

example

package main
import (
 "github.com/axgle/pinyin"
)
func main() {	 
  println(pinyin.Convert("hello,世界!"))
}

License

BSD

Author

  • axgle

donate

https://github.com/axgle/mahonia/wiki/Donate

About

convert chinese to pinyin


Languages

Language:Go 100.0%