stt_processing

Indicates the action the speech engine should take when returning a grammar result.

If the setting is 1, the speech engine will return the semantic result (if available) instead of the actual phrase spoken by the user.

This setting is useful for grammars that incorporate bracket ({}) directives.

This setting will enable and disable both Actions (the !action directive) and semantic ("result" and "@") processing.

Possible Values

1 on
0 off

The default value is 1 (on/enabled).

Example

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

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