vosk-api
vosk-api copied to clipboard
Avoid the use of JSON for the C-Api.
Hi,
I'm currently planning to use Vosk for implementing speech recognition in Wine: The Wine project is generally pretty strict about code quality and the use of external libraries, meaning we would like to avoid JSON to not depend on too many external libraries for just ASR. I could probably try to use some string comparison hacks, to get the data out of the returned JSON, but that would most likely not be in the interest of the project, since C and strings are already their own story ;-) . So, would it be possible to add another type of vosk_recognizer_result, vosk_recognizer_final_result, etc., which returns the data in predefined structs?
Thanks, Bernhard
Sure, it would be great to have something like this.