Specifies alternate words to be recognized when speaking commands containing a specified
word.
Syntax
AddTermAlternate(term, alternates)
Parameters
- term
- Word for which alternates are desired. May not contain a space character.
- alternates
- One or more alternate words to be recognized when speaking commands containing term.
Remarks
Sometimes commands are misrecognized as dictation, especially when using command sequences.
For example, the command "Line End" may be misrecognized as the dictation "line and". Use this
function to register alternate words (such as "And") for problematic command words (such as "End").
Vocola will recognize any command containing term even if one of the alternates is spoken instead. So if the recognizer hears "Line And" Vocola will still invoke the
command "Line End". It's as if the "Line End" command were written as Line (End|And),
except it doesn't obscure the meaning of the command and it works for all commands containing the word
"End".
Examples
CopyAdd alternate terms
onLoad() := Vocola.AddTermAlternate(End, And) Vocola.AddTermAlternate(Find, Fine) Vocola.AddTermAlternate(Paste, Pace, Base, Based);
Here AddTermAlternate is called not by a voice command but by defining an onLoad function. Putting this code in _global.vcl will add the alternate terms without further action on your part.
Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)