::SetTrainingState

ISpSREngine2::SetTrainingState (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpSREngine2::SetTrainingState

ISpSREngine2::SetTrainingState puts the engine into training mode.


HRESULT SetTrainingState(
   BOOL    fDoingTraining,
   BOOL    fAdaptFromTrainingData
);

Parameters

fDoingTraining
Whether or not the engine is in training mode.
fAdaptFromTrainingData
Whether or not the engine should adapt from training data. This is only useful when setting fDoingTraining back to false at the end of training.

Return values

ValueDescription
S_OKFunction completed successfully.
E_NOINTERFACEInterface not supported by the engine.
Show:
© 2016 Microsoft