Function
nuVrsMaskDictionary
Syntax:
s32 nuVrsMaskDictionary(NUVrsHandle* handle, u8* maskpattern, s32 size)
Arguments:
handle NUVrsHandle structure maskpattern Mask pattern size Number of bytes in maskpattern
Return Value:
Error
Description:
Selects recognition targets from words stored in dictionary
This selects those words which are stored in the Voice Recognition System dictionary, which are to be the targets of recognition and those which are not to be targets of recognition. "handle" must be initialized with the nuVrsOpen function. The return value is the return value of the osVoiceMaskDictionary function.
This function calls the osVoiceMaskDictionary function via the SI manager.
Errors:
CONT_ERR_NO_CONTROLLER | Nothing is connected to the Controller port. |
CONT_ERR_DEVICE | Something other than the Voice Recognition System is connected to the Controller port. |
CONT_ERR_VOICE_NO_RESPONSE | No response from Voice Recognition System. There may be a problem with the hardware. |
CONT_ERR_CONTRFAIL | Data transfer failure. There is a problem in the Voice Recognition System connection. |
CONT_ERR_INVALID | There is an error in the way this function was called or in the argument. This error will not occur if the correct calling method is used. Please correct the problem so that this error does not occur when development is completed. |
Reference: nuVrsOpen, osVoiceMaskDictionary