Skip to content

kladd/stt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stt - Speech to text in Go

A speech to text library using portaudio to record and CMU PocketSphinx to transcribe.

Example

The example below uses the CMU PocketSphinx driver provided by the included psphinx package. See the Engines section for available speech to text engines.

import (
	"github.com/kladd/stt"
	"github.com/kladd/stt/engines/psphinx"
)

func main() {
	transcriber := new(psphinx.Transcriber)

	// Records for 10 seconds before transcribing
	fmt.Println(stt.RecordAndTranscribe(transcriber, 10))
}

Engines

Caveats & Dependencies

Dependencies:

  • portaudio
  • cmu-sphinxbase
  • cmu-pocketsphinx

Caveats:

  • Not very accurate right now

Installation

go get github.com/kladd/stt

License

See LICENSE

Contributing

Appreciated. Fork, branch, commit, push, pull request.

About

Speech to text library for Golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages