Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node js offline speech to text

I want to create a robot with Node.js and Tessel.io, i bought the audio module and i'm wondering if it exist any speech to text or audio to text package for node js or something else.

Can someone help me with this?

Thank you

like image 444
Mike Boutin Avatar asked Oct 08 '14 13:10

Mike Boutin


2 Answers

There is a node module for CMUSphinx

https://github.com/cmusphinx/node-pocketsphinx

It works offline. It's a bit initial state but let me know if you have questions on it.

like image 82
Nikolay Shmyrev Avatar answered Oct 20 '22 13:10

Nikolay Shmyrev


This issue is a bit stale, so I thought I'd add a more up-to-date answer:

CMUSphinx is great if you have something powerful enough to run it, but if you are on an embedded device like the Pi or the CHIP it can be quite slow.

One alternative is Sonus which has offline hotword detection and then uses Google Cloud Speech for streaming results.

like image 3
evancohen Avatar answered Oct 20 '22 15:10

evancohen