OpenSpeech Browser

Getting Started
Architecture Description
Integration Guide

Copyright (c) 1998-2001 SpeechWorks International, Inc. All Rights Reserved.



VXIrecResult ActivateGrammar

(struct VXIrecInterface* pThis,
  const VXIMap* properties,
  VXIrecGrammar* gram)

Activate a loaded VXIrecGrammar for subsequent recognition calls
Multiple grammars may be activated before invoking Recognize( ). Once this returns, the grammar must be fully loaded and ready for recognition. See also LoadGrammarURI( ).

Parameters:
gram - [IN] Grammar to activate
Returns:
VXIrec_RESULT_SUCCESS on success or one of the followings: VXIrec_RESULT_UNSUPPORTED_FORMAT, VXIrec_RESULT_UNSUPPORTED_LANGUAGE, VXIrec_RESULT_UNSUPPORTED_BUILTIN, VXIrec_RESULT_NO_AUTHORIZATION i.e: restricted builtin uri, VXIrec_RESULT_FETCH_TIMEOUT, VXIrec_RESULT_FETCH_ERROR, VXIrec_RESULT_OUT_OF_MEMORY, VXIrec_RESULT_NO_RESOURCE, VXIrec_RESULT_FAILURE

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.