protected override void Execute_SpeechRecognitionDefinition(SpeechRecognitionCommandContext context) { var recognizer = context.SpeechRecognizer; var phrase = context.ReadParameter(PhraseParameterAttribute.Key).Value; recognizer.UnregisterPhrase(phrase); }
protected override void Execute_SpeechRecognitionDefinition(SpeechRecognitionCommandContext context) { var recognizer = context.SpeechRecognizer; var phrase = context.ReadParameter(PhraseParameterAttribute.Key).Value; recognizer.UnregisterPhrase(phrase); }
protected override void Execute_SpeechRecognitionDefinition(SpeechRecognitionCommandContext context) { var phrase = context.ReadParameter(PhraseParameterAttribute.Key).Value; var recognizer = context.SpeechRecognizer; var command = context.OriginalCommand.InnerCommands; recognizer.RegisterPhrase(phrase, command); }
protected override void Execute_SpeechRecognitionDefinition(SpeechRecognitionCommandContext context) { var phrase = context.ReadParameter(PhraseParameterAttribute.Key).Value; var recognizer = context.SpeechRecognizer; var command = context.OriginalCommand.InnerCommands; recognizer.RegisterPhrase(phrase, command); }
protected override void Execute_SpeechRecognitionDefinition(SpeechRecognitionCommandContext context) { var recognizer = context.SpeechRecognizer; var interpreter = context.Interpreter; var phrase = context.ReadParameter(PhraseParameterAttribute.Key).Value; var commands = recognizer.GetCommand(phrase); interpreter.WriteEvent(commands.OriginalText); }
protected override void Execute_SpeechRecognitionDefinition(SpeechRecognitionCommandContext context) { var recognizer = context.SpeechRecognizer; var interpreter = context.Interpreter; var phrase = context.ReadParameter(PhraseParameterAttribute.Key).Value; var commands = recognizer.GetCommand(phrase); interpreter.WriteEvent(commands.OriginalText); }