Documentation
¶
Overview ¶
Package stt turns voice messages into text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Factory ¶ added in v0.6.0
type Factory func(Options) (Transcriber, error)
Factory builds a Transcriber from its options.
type Transcriber ¶
Transcriber turns an audio file into text.
func NewCommand ¶ added in v0.6.0
func NewCommand(o Options) (Transcriber, error)
NewCommand runs any program that prints a transcript.
func NewHTTP ¶ added in v0.6.0
func NewHTTP(o Options) (Transcriber, error)
NewHTTP posts audio to a /audio/transcriptions endpoint, the de facto standard API served by many hosted and self-hosted speech services.
func NewWhisperCpp ¶ added in v0.6.0
func NewWhisperCpp(o Options) (Transcriber, error)
NewWhisperCpp transcribes locally with whisper.cpp.
Click to show internal directories.
Click to hide internal directories.