gen

package
v0.0.0-...-ca80dc3 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: CC-BY-SA-4.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateFunc

type GenerateFunc func(familyName []rune, opts Options, ch chan<- Generated) error

func NewCommonSpaceGenerator

func NewCommonSpaceGenerator(cm map[rune]struct{}) GenerateFunc

func NewFullSpaceGenerator

func NewFullSpaceGenerator(cm map[rune]struct{}, strokesFunc strokes.Func, yomiFunc yomi.Func) (GenerateFunc, error)

type Generated

type Generated struct {
	GivenName  []rune
	Yomi       []rune
	YomiString string
}

type Options

type Options struct {
	MinLength int
	MaxLength int
}

Jump to

Keyboard shortcuts

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