stt_save_increase

How much the session save threshold will increase each minute since the last cold restart (stt_reset of 1). The default value is 100, meaning that the save threshold will increase by 100 for every minute the engine is used. This parameter is used to increase the threshold for saving a new engine state as time progresses, since the engine state can start to degrade after speech-to-text recognition has been used for long periods.

For example, if using the following settings:
stt_threshold=4500, stt_save_threshold=1000, stt_save_increase=100
the save threshold would be 5500 during the first minute following a hard reset (4500+1000+(0*100)). A speech-to-text result with a confidence level of 5500 would match the save threshold and cause the engine state to save. After 8 minutes, a speech-to-text result with a confidence of 6300 (4500+1000+(8*100)) would be required to save the engine state.

When the engine state is restored (using stt_reset_session_delay), it will revert to the last time the engine state was saved. If stt_reset is set to 0 (a soft reset), the threshold will be reduced to account for the accelerated learning that will follow.

If you still find that the recognition rate is decreasing over long periods of time (such as an hour or more), you can make the stt_save_threshold larger. If you are in environments where the background sounds can change, you may want to make stt_save_threshold smaller. Set stt_save_threshold to 0 to disable this feature.

Example

Script( Speech_To_Text_Save_Increase )

String( strSetting )

String( strDescription )

String( strMessage )

Number( nSettingValue )

Activate( From_Menu )

strSetting = "stt_save_increase"

nSettingValue = Speech_Get_Setting( strSetting )

strDescription = Speech_Get_Setting_Value_Desc( strSetting, nSettingValue )

strMessage = String_Combine( strDescription, "; setting value:" )

strMessage = String_Combine( strMessage, Number_To_String_Decimal( nSettingValue ) )

Ask_OK( strMessage, strSetting )

Return

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal