godot_speech_to_text icon indicating copy to clipboard operation
godot_speech_to_text copied to clipboard

feature request: kws words list as variable

Open zoiba opened this issue 3 years ago • 1 comments

It would very useful if I could change the kws list of words during runtime, I mean, the fewer words the better because less prone to recognition errors, so, I wish to contextualize the words that the user can use at every zone of the game. The most comfortable way would be to pass the words list to STTRunner as a variable string. What do you think about it?

zoiba avatar Sep 16 '20 08:09 zoiba

@zoiba I would also prefer this. Maybe it could be done as an Array of Strings.

Currently you can only run the STTRunner.stop() function, delete the user://stt directory, run the STTConfig.init()function and the STTRunner.start() function angain with a new .kws file.

Gamemap avatar May 13 '21 22:05 Gamemap