synesthesiam / voice2json

Command-line tools for speech and intent recognition on Linux
MIT License
1.08k stars 63 forks source link

Vosk support #47

Open OSS542 opened 3 years ago

OSS542 commented 3 years ago

Is there any chance of adding support for Vosk to voice2json ?

synesthesiam commented 3 years ago

Yes! I have this partially working already. For open transcription, it works just fine. But for pre-trained voice command recognition, I've only found the ability to restrict the vocabulary. I may have to dig deeper to get grammar-based recognition working.

Were you planning to use Vosk for open transcription or restricted voice commands?

OSS542 commented 3 years ago

At present I plan on using Vosk for open transcription, as it is better suited to that at present. I use PocketSphinx for restricted vocabulary as it is considerably faster at this, and the vocabulary is easy to modify.