This topic has not yet been rated - Rate this topic

SPCOMMITFLAGS (SAPI 5.3)

Speech API 5.3

Microsoft Speech API 5.3

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.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.