mms_align

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MMSAlign

type MMSAlign struct {
	// contains filtered or unexported fields
}

func NewMMSAlign

func NewMMSAlign(ctx context.Context, conn db.DBAdapter, lang string, sttLang string) MMSAlign

func (*MMSAlign) ProcessFiles

func (m *MMSAlign) ProcessFiles(files []input.InputFile) *log.Status

ProcessFiles will perform Forced Alignment on these files

type MMSAlignResult

type MMSAlignResult struct {
	Ratio      float64        `json:"ratio"`
	Dictionary map[string]int `json:"dictionary"`
	Tokens     [][][]float64  `json:"tokens"`
}

type MMSAlign_Input

type MMSAlign_Input struct {
	AudioFile string   `json:"audio_file"`
	NormWords []string `json:"words"`
}

type Word

type Word struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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