次の方法で共有


ISpSREngine2::SetTrainingState (SAPI 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

Value
S_OK
E_NOINTERFACE