Documentation ¶
Overview ¶
Generated by cmd/operatable DO NOT EDIT
Index ¶
- func NewSamplesMessage(from astibob.Identifier, samples []int, bitDepth, numChannels, sampleRate int, ...) worker.Message
- type BuildOptions
- type BuildReferences
- type Listenable
- type ListenableOptions
- type Parser
- type Progress
- type ProgressJSON
- type Runnable
- type RunnableOptions
- type Samples
- type Speech
- type SpeechFile
- type Text
- type TrainReferences
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildOptions ¶
type BuildOptions struct {
StoreNewSpeeches bool `json:"store_new_speeches"`
}
type BuildReferences ¶
type BuildReferences struct { Options BuildOptions `json:"options"` Speeches []Speech `json:"speeches"` }
type Listenable ¶
type Listenable struct {
// contains filtered or unexported fields
}
func NewListenable ¶
func NewListenable(o ListenableOptions) *Listenable
func (*Listenable) MessageNames ¶
func (l *Listenable) MessageNames() (ns []string)
func (*Listenable) OnMessage ¶
func (l *Listenable) OnMessage(m *astibob.Message) (err error)
type ListenableOptions ¶
type ProgressJSON ¶
type Runnable ¶
type Runnable struct { *astibob.BaseOperatable *astibob.BaseRunnable // contains filtered or unexported fields }
func NewRunnable ¶
func NewRunnable(name string, p Parser, l astikit.StdLogger, o RunnableOptions) *Runnable
type RunnableOptions ¶
type SpeechFile ¶
type TrainReferences ¶
type TrainReferences struct {
Progress *ProgressJSON `json:"progress,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.