wirepod_vosk

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Grammer string
View Source
var GrammerEnable bool = false
View Source
var Name string = "vosk"
View Source
var NumbersEN_US []string = []string{"one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety", "hundred", "seconds", "minutes", "hours", "minute", "second", "hour"}

Functions

func GetGrammerList

func GetGrammerList(lang string) string

func Init

func Init() error

func STT

func STT(req sr.SpeechRequest) (string, error)

Types

type ARec

type ARec struct {
	InUse bool
	Rec   *vosk.VoskRecognizer
}

Jump to

Keyboard shortcuts

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