Data Structures | |
struct | SR_AcousticState |
AcousticState | |
An AcousticState is a container for the configurations of several items used in recognition:
AcousticState must offer persistence to reflect optimal settings and preferred use on start-up. | |
SREC_ACOUSTICSTATE_API ESR_ReturnCode | SR_AcousticStateLoad (SR_Recognizer *recognizer, const LCHAR *filename) |
SREC_ACOUSTICSTATE_API ESR_ReturnCode | SR_AcousticStateSave (SR_Recognizer *recognizer, const LCHAR *filename) |
Possible AcousticState <-> Model operations | |
SREC_ACOUSTICSTATE_API ESR_ReturnCode | SR_AcousticStateReset (SR_Recognizer *recognizer) |
SREC_ACOUSTICSTATE_API ESR_ReturnCode | SR_AcousticStateSet (SR_Recognizer *recognizer, const LCHAR *param_string) |
SREC_ACOUSTICSTATE_API ESR_ReturnCode | SR_AcousticStateGet (SR_Recognizer *recognizer, const LCHAR **param_string) |
SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateGet | ( | SR_Recognizer * | recognizer, | |
const LCHAR ** | param_string | |||
) |
Resets the acoustic state object. The recognizer adapts to the acoustic state of the caller and calling environment during a call in order to improve recognition accuracy. The platform must reset the AcousticState either at the beginning of a new call or at the end of a call in order to reset acoustic state information for a new caller.
recognizer | SR_Recognizer handle |
SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateLoad | ( | SR_Recognizer * | recognizer, | |
const LCHAR * | filename | |||
) |
Loads an AcousticState from file.
recognizer | SR_Recognizer handle | |
filename | File to read from |
SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateReset | ( | SR_Recognizer * | recognizer | ) |
Resets the acoustic state object. The recognizer adapts to the acoustic state of the caller and calling environment during a call in order to improve recognition accuracy. The platform must reset the AcousticState either at the beginning of a new call or at the end of a call in order to reset acoustic state information for a new caller.
recognizer | SR_Recognizer handle |
SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSave | ( | SR_Recognizer * | recognizer, | |
const LCHAR * | filename | |||
) |
Saves an AcousticState to a file.
recognizer | SR_Recognizer handle | |
filename | File to write into |
SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSet | ( | SR_Recognizer * | recognizer, | |
const LCHAR * | param_string | |||
) |
Resets the acoustic state object. The recognizer adapts to the acoustic state of the caller and calling environment during a call in order to improve recognition accuracy. The platform must reset the AcousticState either at the beginning of a new call or at the end of a call in order to reset acoustic state information for a new caller.
recognizer | SR_Recognizer handle |