Function
nuVrsClearDictionary
Syntax:
s32 nuVrsClearDictionary(NUVrsHandle* handle, u8 words)
Arguments:
handle NUVrsHandle structure words Number of words to be registered
Return Value:
Error
Description:
Initializes Voice Recognition System word dictionary
Initializes the Voice Recognition System word dictionary. At the same time, initializes the dictionary so that the number of words specified by "words" can be registered in the dictionary. "handle" must be initialized with the nuVrsOpen function. The return value is the value returned by the osVoiceClearDictionary function.
This function calls the osVoiceClearDictionary 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 argument or in the way this function was called. 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, osVoiceClearDictionary