speech

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KiT_Units = kit.Types.AddType(&Units{}, UnitProps)
View Source
var UnitProps = ki.Props{}

UnitProps - none at this time

Functions

This section is empty.

Types

type Sequence added in v1.2.0

type Sequence struct {
	File     string  `desc:"full file path"`
	ID       string  `desc:"an id to use if the corpus has subsets or for any other purpose"`
	Sequence string  `desc:"the full sequence of CVs, Phones, Words or whatever the unit"`
	Text     string  `desc:"the full readable transcription"`
	Units    []Unit  `desc:"the units of the sequence"`
	Silence  float64 `desc:"milliseconds of silence added at start of sequence to add variability"`
	Start    float64 `desc:"start of sound in milliseconds, many files have initial silence"`
	Stop     float64 `desc:"start of final silence in milliseconds"`
}

Sequence a sequence of speech units, for example a sequence of phones or words

type Unit added in v1.2.0

type Unit struct {
	Name    string  `desc:"the CV (e.g. -- da, go, ku ...), or phones (g, ah, ix ...)"`
	Start   float64 `desc:"start time of this unit in milliseconds"`
	End     float64 `desc:"end time of this unit in milliseconds"`
	AStart  float64 `desc:"start time of this unit in milliseconds, adjusted for random start silence and any offset in audio"`
	AEnd    float64 `desc:"end time of this unit in milliseconds, adjusted for random start silence and any offset in audio"`
	Silence bool    `desc:"is silence, i.e. was desginated as a period of silence"`
	Type    string  `desc:"optional info - type of unit, phone, phoneme, word, CV (consonsant-vowel), etc"`
}

Unit

type Units added in v1.2.0

type Units []*Unit

Units is a collection of speech units

Directories

Path Synopsis
Package timit Phones of the TIMIT database.
Package timit Phones of the TIMIT database.

Jump to

Keyboard shortcuts

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