Documentation
¶
Overview ¶
Go bindings for Vosk. Vosk is an offline open source speech recognition API for Android, iOS, Raspberry Pi and servers. It enables speech recognition models for 18 languages and dialects - English, Indian English, German, French, Spanish, Portuguese, Chinese, Russian, Turkish, Vietnamese, Italian, Dutch, Catalan, Arabic, Greek, Farsi, Filipino, Ukrainian.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VoskFinalResult ¶
func VoskFinalResult(recognizer *VoskRecognizer, buffer []byte) string
Types ¶
type VoskModel ¶
type VoskModel struct {
// contains filtered or unexported fields
}
VoskModel contains a reference to the C VoskModel
type VoskRecognizer ¶
type VoskRecognizer struct {
// contains filtered or unexported fields
}
VoskRecognizer contains a reference to the C VoskRecognizer
func NewRecognizer ¶
func NewRecognizer(model *VoskModel) (*VoskRecognizer, error)
NewRecognizer creates a new VoskRecognizer instance
type VoskSpkModel ¶
type VoskSpkModel struct {
// contains filtered or unexported fields
}
VoskSpkModel contains a reference to the C VoskSpkModel
func NewSpkModel ¶
func NewSpkModel(spkModelPath string) (*VoskSpkModel, error)
NewSpkModel creates a new VoskSpkModel instance
Click to show internal directories.
Click to hide internal directories.