ISpSREngineSite (Windows Embedded CE 6.0)
1/6/2010
This interface gets audio data, retrieves grammar information, sends events, and returns recognition information to SAPI. It is implemented by SAPI and is called by an SR engine. After SAPI creates the SR engine, the engine obtains a pointer to ISpSREngineSite when the ISpSREngine::SetSite is called.
When to Implement
Only SAPI implements this interface.
Methods
The following table shows the methods for the ISpSREngineSite interface.
Method | Description |
---|---|
Adds an event to the SR engine site. |
|
Gets the amount of data that can be read without blocking. |
|
Gets the maximum number of alternates that should be generated for the specified recognition context. |
|
Gets the maximum number of alternates that should be generated for the specified rule. |
|
Gets a named resource from a grammar. |
|
Gets information about a CFG rule. |
|
Gets information on the transitions from a CFG state. |
|
Gets property information for a transition in a grammar. |
|
Gets information about a CFG word. |
|
Determines whether one rule is a valid alternate of another. |
|
Produces a phrase builder result from a list of transitions. |
|
Reads audio data from the input stream. |
|
Retrieves a recognition result (final, partial, or false) for SAPI. |
|
Sets the amount of data to be available before data available event is set. |
|
Sets client context on a CFG rule. |
|
Sets a client context on a CFG word. |
|
Informs SAPI that the engine is ready to process changes in its grammars. |
|
Updates the current position of the recognizer in the stream. |
Requirements
Header | sapiddk.h, sapiddk.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |