stt

package
v0.0.0-...-2a8bbd3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

nolint

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncRecognizerClient

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

AsyncRecognizerClient is a stt.AsyncRecognizerClient with lazy GRPC connection initialization.

func (*AsyncRecognizerClient) DeleteRecognition

func (c *AsyncRecognizerClient) DeleteRecognition(ctx context.Context, in *stt.DeleteRecognitionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DeleteRecognition implements stt.AsyncRecognizerClient

func (*AsyncRecognizerClient) GetRecognition

GetRecognition implements stt.AsyncRecognizerClient

func (*AsyncRecognizerClient) RecognizeFile

RecognizeFile implements stt.AsyncRecognizerClient

type RecognizerClient

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

RecognizerClient is a stt.RecognizerClient with lazy GRPC connection initialization.

func (*RecognizerClient) RecognizeStreaming

RecognizeStreaming implements stt.RecognizerClient

type STT

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

STT provides access to "stt" component of Yandex.Cloud

func NewSTT

func NewSTT(g func(ctx context.Context) (*grpc.ClientConn, error)) *STT

NewSTT creates instance of STT

func (*STT) AsyncRecognizer

func (s *STT) AsyncRecognizer() *AsyncRecognizerClient

AsyncRecognizer gets AsyncRecognizer client

func (*STT) Recognizer

func (s *STT) Recognizer() *RecognizerClient

Recognizer gets Recognizer client

Jump to

Keyboard shortcuts

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