py

package
v0.0.42 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FirstFallBack = func(r rune, a pinyin.Args) []string {
	if r < utf8.RuneSelf && ('A' <= byte(r) && byte(r) <= 'Z') {
		r += 'a' - 'A'
	}
	return []string{string(r)}
}

Functions

func FistLetter

func FistLetter(s string) string

Pinyin 汉字转拼音,支持多音字模式.

Types

This section is empty.

Jump to

Keyboard shortcuts

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