STT

package
v0.0.0-...-6a31562 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type STT

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

func (*STT) New

func (s *STT) New(conf *STTConf) *STT

func (*STT) SpeechKit

func (s *STT) SpeechKit(out chan string) error

func (*STT) UploadStorageYandexcloud

func (s *STT) UploadStorageYandexcloud(filePath string) error

type STTConf

type STTConf struct {
	// статический ключ доступа
	Key string

	// Идентификатор статического ключ доступа
	ID_apikey string

	// API key
	Apikey string

	Bucket string

	// таймаут на распознавание, по дефолту минута
	TimeOut time.Duration
}

Jump to

Keyboard shortcuts

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