Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
| Value |
| S_OK |
| E_NOINTERFACE |