phonemizer

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataset

func NewDataset(filename string) (out map[[3]string]*NewSample)

Types

type NewSample added in v0.1.0

type NewSample struct {
	SrcA   []string
	DstA   []string
	SrcCut []string
	SrcFut []string
	Option string
	Out    bool
	Len    int
	I      int
	J      int
}

func Split

func Split(out map[[3]string]*NewSample) (data []NewSample)

func (*NewSample) Feature added in v0.1.0

func (s *NewSample) Feature(n int) uint32

func (*NewSample) Key added in v0.1.0

func (n *NewSample) Key() [3]string

func (*NewSample) OldSample added in v0.1.0

func (n *NewSample) OldSample() Sample

func (*NewSample) Output added in v0.1.0

func (s *NewSample) Output() uint16

func (*NewSample) Parity added in v0.1.0

func (s *NewSample) Parity() uint16

type Output

type Output bool

func (*Output) Feature

func (s *Output) Feature(n int) uint32

type Sample

type Sample [14]uint32

func (*Sample) Feature

func (s *Sample) Feature(n int) uint32

func (*Sample) Output added in v0.1.0

func (s *Sample) Output() uint16

func (*Sample) Parity added in v0.1.0

func (s *Sample) Parity() uint16

Jump to

Keyboard shortcuts

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