Node js offline speech to text

I want to create a robot with Node.js and Tessel.io, I bought an audio module, and I wonder if there is any speech in text or audio in a text package for node js or something else.

Can someone help me?

thanks

+6
source share
2 answers

There is a node module for CMUSphinx

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

It works offline. This is a bit of an initial condition, but let me know if you have questions about this.

+4
source

This problem is a bit outdated, so I thought I'd add a more modern answer:

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

One alternative is Sonus , which has hot word detection disabled and then uses Google Cloud Speech to stream results.

+1
source

Source: https://habr.com/ru/post/976428/


All Articles