Using Concept/Phrase Grammars

Note: As of July 2007, all functions relating to concept/phrase grammars have been deprecated in favor of SRGS grammars. These functions are subject to being removed in a future release. Please update your applications accordingly. See Using SRGS Grammars for more information on working with SRGS grammars.

These functions allow the ActiveX application to implement Phrase pair grammars. These grammars are less powerful than SRGS grammars, but are easier to create.

Syntax

Arguments

Returns

Appropriate Events

Remarks

Concept/phrase pairs are unstructured. As a result there is no control in the order of appearance. If there are two concepts in a grammar "Yes" and "No", The caller could say "Yes .. NO", The recognizer will return back 2 concepts the first being Yes and the Second would be no. The number of concepts can be controlled by the SetAllowedNumberOf RecognitionReturns method. If From was set to 1 and To was set to 1 then only "Yes" would be returned in this example.

© 2012 LumenVox LLC. All rights reserved.