Browse
 
Tools
Rss Categories

LVSpeechPort::DeactivateGrammars

Reference Number: AA-00753 Views: 7579 0 Rating/ Voters

Clears the active grammar set.

Functions

  • int DeactivateGrammars(void)

Return Values

LV_SUCCESS

All grammars in the active grammar set have been deactivated.

LV_FAILURE

The call failed because the port was shutting down.

LV_INVALID_HPORT

The port is not valid (either CreateClient has not been called or DestroyClient has been called prior to this call).

LV_EXCEPTION

An exception occurred while processing the request.

Remarks

Unlike the speechport client, it is not necessary for all grammars to be deactivated before the termination of the program. Because of this, you only need to deactivate grammars to change how your interpretations are generated.

See Also