menip / godot_speech_to_text

Speech to text module for Godot 3
https://samuraisigma.github.io/godot-docs/doc/community/tutorials/misc/speech_to_text.html
MIT License
34 stars 2 forks source link

feature request: kws words list as variable #1

Open zoiba opened 3 years ago

zoiba commented 3 years ago

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?

Gamemap commented 3 years ago

@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.