Export (0) Print
Expand All

SPCOMMITFLAGS (SAPI 5.4)

Speech API 5.4

Microsoft Speech API 5.4

SPCOMMITFLAGS

New in SAPI 5.3

Defines values for the types of recognizer corrections.

SPCOMMITFLAGS is used to indicate the nature of the correction when ISpRecoResult2::CommitText is called to provide new text for recognizer learning.


typedef enum SPCOMMITFLAGS
{
    SPCF_NONE,
    SPCF_ADD_TO_USER_LEXICON,
    SPCF_DEFINITE_CORRECTION
} SPCOMMITFLAGS;

Elements

SPCF_NONE
The correction is just a new word that the user typed.
SPCF_ADD_TO_USER_LEXICON
The correction is a definite correction that should also be added to the user lexicon.
SPCF_DEFINITE_CORRECTION
The correction is a correction of a recognition result returned by the recognizer.
Show:
© 2014 Microsoft