Write a trace message to the Amanda trace file.
17.5
Speech Processing
The following command is loaded only if you load the Speech Recognition DLL (AmaSapi5).
compile grammar
mmo grammar
Description
Compiles
grammar
. If an error occurs, return an error indication in the usual way. Otherwise, store the
compiled grammar into the specified
mmo
for future use in Speech Recognition. Grammars are used in
speech recognition with the VP
recognize
command.
Return values:
Empty string.
Error codes:
PERMDENIED
GRAMMARCOMPILEERR
grammar
The following member functions for voice processing resources become enabled:
*
create sr
engine var
Description
The
create sr
function can be used to create a speech recognition engine which can be used with the
recognize
function, described below, to perform speech recognition functions. The engine is released when
the
engine var
becomes unset.
*
recognize
record flags
[
-beep
boolean
] [
-sr stream
engine
] [
-threshold low
value
] [
-threshold high
value
] [
-start
rules
]
grammar mmo
Description
208