arhy
arhy

Reputation: 21

Can SpeechRecognition Package (https://pypi.org/project/SpeechRecognition/) work offline?

I am creating a Speech-to-text converter and I need a package/lib that works offline. Does the SpeechRecognition Module work offline?

I have tried it and in my case I got no reply from the module. So my assumption would be that it doesn't work offline.

Upvotes: 1

Views: 138

Answers (2)

Tim
Tim

Reputation: 459

How @Sid said u can use the pocketsphinx libary, but I recommend you to use Vosk.

Vosk also works offline and is compatible with many languages. It outputs the spoken text live and works reasonably well. I've been using it for over a year and I'm still very happy with it, it also runs on the Raspberry Pi without any performance problems.

Upvotes: 0

Sid
Sid

Reputation: 2189

I would suggest using the pocketsphinx library. You can get it here or use pip install pocketsphinx It works offline!

Upvotes: 1

Related Questions