stt_confidence

Indicates the minimum difference in confidence required between the top two speech‑to-text results for the top result to be accepted. For example, if a grammar contained the terms "faster" and "fastest", the engine may return high confidence values for both words when the user says "faster." If the stt_confidence value is set high and the top two terms return similar confidence values, the engine will reject both results.

Use dissimilar-sounding terms in your grammars to improve speech-to-text results.

Possible Values

The default value is 1.

Example

Script(Speech_To_Text_Setting_Confidence)
String(strSetting)
String(strDescription)
String(strMessage)
Number(nSettingValue)
Activate(From_Menu)
strSetting = "stt_confidence"
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

See Also

stt_expanded, Speech_Get_Setting, Speech_Get_Setting_Value_Desc, Speech_Get_Setting_Max, Speech_Find_Setting_Value, Speech_To_Text, Speech_From_Text, Speech_Setting_Available, Speech_Change_Setting

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal