recognizer

package
v0.1.0-stealth.3 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 5 Imported by: 2

Documentation

Overview

package recognizer recognizes text from speech

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recognizer

type Recognizer interface {
	// Recognize takes PCMF32LE audio data and returns any recognized text.
	Recognize([]float32) (string, error)
}

Recognizer recognizes text from speech

func NewWhisperRecognizer

func NewWhisperRecognizer(model *whisper.Model, callsign string) Recognizer

NewWhisperRecognizer creates a new recognizer using OpenAI Whisper

Jump to

Keyboard shortcuts

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