I'm using vosk for speech recognition. Does anyone know where the vocabulary dictionary is located and how to edit it to add or remove words?
Some Background on my project:
I'm working on a Linguistic AI project. I needed a speech recognition engine to convert spoken words into text. I started using CMUSphinx. PocketSphinx to be more precise. I like pocketsphinx but I was told that it is obsolete and that vosk is much better. However, pocketsphinx is very easy to use in terms of creating dictionaries from scratch and switching between different dictionaries on the fly programmatically.
I'm trying to move over to vosk as a speech recognizer. And it does seem to decode speech much fast and more accurately. But thus far I haven't been able to find any information on how to modify the vocabulary dictionary. The ability to modify the contents of the dictionary is of paramount importance in my Linguistic AI project. So if anyone can point to information of how to modify the vosk dictionary I would be very grateful. Thus far I haven't been able to find any information on how to do this. There is very little information on vosk to be found, especially in the way of tutorials or detailed instructions.
Thank you.
Edited to Add:
Here's the GitHub page for the vosk API that I'm referring to: