vosk

package module
v0.3.35 Latest Latest
Warning

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

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

Documentation

Overview

Go bindings for Vosk speech recognition toolkit. Vosk is an offline open source speech to text 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

func NewModel

func NewModel(modelPath string) (*VoskModel, error)

NewModel creates a new VoskModel instance

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

Directories

Path Synopsis
Example package for Vosk Go bindings.
Example package for Vosk Go bindings.

Jump to

Keyboard shortcuts

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