Partager via


SPADAPTATIONSETTINGS (SAPI 5.3)

Microsoft Speech API 5.3

SPADAPTATIONSETTINGS

New in SAPI 5.3

Defines values for the types of adaptation settings.

SPADAPTATIONSETTINGS is a bit-field and hence can be combined into a DWORD using a bit-wise OR.

  
    typedef enum SPADAPTATIONSETTINGS
{
    SPADS_Default,
    SPADS_CurrentRecognizer,
    SPADS_RecoProfile,
    SPADS_Immediate,
    SPADS_Reset,
    SPADS_HighVolumeDataSource
} SPADAPTATIONSETTINGS;

Elements

  • SPADS_Default
    0x0000
  • SPADS_CurrentRecognizer
    The language model adaptation is temporary for the duration that this recognizer instance is loaded in the application.
  • SPADS_RecoProfile
    The adaptation is permanently stored in the user's profile.
  • SPADS_Immediate
    Forces the adaptation to take effect now.
  • SPADS_Reset
    Resets any existing adaptation that is yet to take effect.
  • SPADS_HighVolumeDataSource
    In some cases, adaptation is done with very small amounts of data (a few words). This usually comes directly from corrections made by a user, and therefore is highly likely to be an appropriate adaptation to the general model. However, in other cases adaptation is done with large volumes of data (documents, email, and so on). In these cases, the engine should be a lot more conservative about the adaptation it does. This flag is used to indicate the high volume scenario.