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

SPRECORESULTINFO

SPRECORESULTINFO is the result structure passed from the engine to SAPI.

typedef struct SPRECORESULTINFO
{
    ULONG              cbSize;
    SPRESULTTYPE       eResultType;
    BOOL               fHypothesis;
    BOOL               fProprietaryAutoPause;
    ULONGLONG          ullStreamPosStart;  
    ULONGLONG          ullStreamPosEnd;
    SPGRAMMARHANDLE    hGrammar;
    ULONG              ulSizeEngineData;
    void              *pvEngineData;
    ISpPhraseBuilder  *pPhrase;
    SPPHRASEALT       *aPhraseAlts;
    ULONG              ulNumAlts; 
} SPRECORESULTINFO;

Members

cbSize
Total size, in bytes, of this structure.
eResultType
Type of result object (CFG, SLM, or Proprietary).
For example, the result type can be SPRT_SLM | SPRT_FALSE_RECOGNITION if the speech recognition engine fails to recognize a dictation phrase.
fHypothesis
If TRUE, this recognition is a hypothesis.
fProprietaryAutoPause
This field is only used for SPRT_PROPRIETARY grammars. If TRUE, the recognition will pause.
ullStreamPosStart
Starting position within the input stream. If downsampling an audio stream, ullStreamPosStart will be the byte position within the original stream.
ullStreamPosEnd
Ending position within the input stream. If downsampling an audio stream, ullStreamPosEnd will be the byte position within the original stream.
hGrammar
Required for SPRT_SLM and SPRT_PROPRIETARY, otherwise this value is NULL.
ulSizeEngineData
Specifies the size of pvEngineData.
pvEngineData
Pointer to the engine data.
pPhrase
Pointer to phrase object.
aPhraseAlts
An array containing the alternate phrases.
ulNumAlts
The number of alternate phrases contained in aPhraseAlts.


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