CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


The Microsoft.com Speech website Microsoft Speech SDK

SAPI 5.1

SPPARSEINFO

SPPARSEINFO is filled in by the speech recognition (SR) engine and sent to SAPI. SAPI uses the information to build a phrase object that can be sent in a hypothesis or recognition (see ISpSREngineSite::ParseFromTransitions).

typedef struct SPPARSEINFO
{
   ULONG          cbSize;
   SPRULEHANDLE   hRule;
   ULONGLONG      ullAudioStreamPosition;
   ULONG          ulAudioSize;
   ULONG          cTransitions;
   SPPATHENTRY   *pPath;
   BOOL           fHypothesis;
   GUID           SREngineID;
   ULONG          ulSREnginePrivateDataSize;
   const BYTE    *pSREnginePrivateData;
} SPPARSEINFO;

Members

cbSize
The size of the SPPARSEINFO structure, as set by the SR engine.
hRule
The handle of the top-level rule for the recognition or hypothesis.
ullAudioStreamPosition
The position in the stream where the recognition started. If downsampling an audio stream, ullAudioStreamPosition will be the byte position within the original stream.
ulAudioSize
The size in bytes of the portion of the stream that is recognized.
cTransitions
The number of word transitions in the pPath array.
pPath
The transition path through the CFG that is recognized.
fHypothesis
TRUE if a hypothesis, false if a final recognition.
SREngineID
The unique identifier of the SR engine. Can be NULL.
ulSREnginePrivateDataSize
The size of private SR engine data that will be sent to the SR engine alternates analyzer. Can be zero.
pSREnginePrivateData
A pointer the private SR engine data (memory) that will be sent to the SR engine alternates analyzer. Can be NULL. SAPI will handle the serialization and marshaling of the data for the SR engine.


You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com
Partner sites: Logo Design, Simple Anti-Crisis Accounting Software, Voice Search for Web