public interface SpeechParamIfc
SpeechMapGeneratorIfc
to
get parameter substitutions from voice commands, corresponding to macros
in the command definitions.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAM_STRING
Key for value associated with
AbstractMenuAction to specify where and what
variables in voice command should be appended. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getParam(java.lang.String paramName)
Get the portion of the voice command that corresponds to the specific macro name.
|
java.lang.String |
speechNormalizeText(java.lang.String text)
Convert a text string into normalized form for a speech-to-text grammar.
|
static final java.lang.String PARAM_STRING
AbstractMenuAction
to specify where and what
variables in voice command should be appended.java.lang.String getParam(java.lang.String paramName)
paramName
- String name of the macro whose provided value should be returnedjava.lang.String speechNormalizeText(java.lang.String text)
text
- String to normalize