ActivationSignalDetectionConfiguration.ApplyTrainingData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides input data in the specified format and attempts to complete a training step (if a training process is available for the signal detector of this configuration).
Important
To avoid possible concurrency issues, we recommend using ApplyTrainingDataAsync instead.
public:
virtual DetectionConfigurationTrainingStatus ApplyTrainingData(ActivationSignalDetectionTrainingDataFormat trainingDataFormat, IInputStream ^ trainingData) = ApplyTrainingData;
DetectionConfigurationTrainingStatus ApplyTrainingData(ActivationSignalDetectionTrainingDataFormat const& trainingDataFormat, IInputStream const& trainingData);
public DetectionConfigurationTrainingStatus ApplyTrainingData(ActivationSignalDetectionTrainingDataFormat trainingDataFormat, IInputStream trainingData);
function applyTrainingData(trainingDataFormat, trainingData)
Public Function ApplyTrainingData (trainingDataFormat As ActivationSignalDetectionTrainingDataFormat, trainingData As IInputStream) As DetectionConfigurationTrainingStatus
Parameters
- trainingDataFormat
- ActivationSignalDetectionTrainingDataFormat
The voice training data formats supported by the ActivationSignalDetector for the digital assistant.
- trainingData
- IInputStream
The voice training data.
Returns
The voice training data states recognized by the ActivationSignalDetector for the digital assistant.
Remarks
Digital assistant applications can train keyword detectors to more accurately recognize an individual user's voice by algorithmically applying customizations to the detector based on speech data. For example, training a spoken keyword detector to only detect the keyword when spoken by a specific person.
This is achieved through a series of ActivationSignalDetectionConfiguration training steps, where each step consumes a logical fragment of speech input data.