alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.92k stars 1.1k forks source link

How can I use a phonetic dictionary (only) #849

Open xadh00m opened 2 years ago

xadh00m commented 2 years ago

Hi!

I currently try to figure out how to use Vosk (for NodeJS. Thanks for the cool demos!) with a phonetic dictionary (maybe instead of a full language model?). My use case is to recognize if the speaker says one certain keyword like "Anton". In the past we used a phonetic dictionary and keyword file with PocketSphinx. I´ve read the documentation here but could not find a hint in the API to achieve that.

Any help would be great, Thank you!

nshmyrev commented 2 years ago

There is no API, you have to use the scripts as described on the linked page.