An action that resets the speech engine. The engine may need to be reset if it has adapted poorly (e.g., if the engine is listening for prolonged periods when the user is not speaking, it will try to adapt to the ambient noise).
Possible Values
0 | (soft reset) Temporarily increase the engine adaptation speed. |
1 | (hard reset) Erase any saved state information and temporarily increase the adaptation speed. |
2 | Restore the last saved state without increasing the adaptation speed. |
Example
Script( Speech_To_Text_Reset )
Activate( From_Menu )
If( Ask_Yes_No( "Is the speech-to-text behaving very poorly?", "Speech-to-Text", TRUE ) )
Message( "Clearing the speech engine state.", 5 )
Speech_Change_Setting( "stt_reset", 1 )
Else
If( Ask_Yes_No( "Has the user changed?", "Speech User", FALSE ) )
Message( "Increasing the adaptation rate.", 5 )
Speech_Change_Setting( "stt_reset", 0 )
Else
Message( "Reverting to the last saved state.", 5 )
Speech_Change_Setting( "stt_reset", 2 )
End_If
End_If
Return
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other