zhuyin

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2021 License: MIT Imports: 3 Imported by: 0

README

go-zhuyin

Go Reference Test

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

Usage

package main

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

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

Author

shmokmt

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(s string) string

Convert converts chinese characters to zhuyin(a.k.a bopomofo)

Types

This section is empty.

Directories

Path Synopsis
cmd
zhuyin command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL