allan-simon / gdextension-vosk-speech-to-text

Godot GDextension allowing to have speech to text in your game using vosk
Apache License 2.0
3 stars 2 forks source link

Start SpeechRecognition without wordlist #2

Closed Gamemap closed 7 months ago

Gamemap commented 7 months ago

Could you please add the possibility to initialise vosk without a word list (additionally). Maybe the functions could be named:

allan-simon commented 7 months ago

Hello for this I would gladly review a PR , but as I've not worked on godot for a long time, I don't have the environment set up anymore.

Gamemap commented 7 months ago

I have already created the second function (it works). I would create a pr and you can decide what you think of it. The only problem I have left is that German characters like ä, ö, ü and ß cannot be displayed. I think it is not formatted with utf8. I will try to fix that before I create a pr. If you have enough time, do you have any idea what the problem could be?

Gamemap commented 7 months ago

I could not find a solution for the incorrectly displayed characters, but the pr implements this feature request.