stt

package
v0.0.0-...-a9a8b8d Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service that handles the speech to text conversion

func New

func New(speechService *speech.Client) *Service

New creates a new speech to text service

func (*Service) Process

func (s *Service) Process(ctx context.Context, content []byte) string

Process processes the incoming voice audio content and transforms it to text

Jump to

Keyboard shortcuts

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