共用方式為


IntentRecognizer Constructors

Definition

Overloads

IntentRecognizer(EmbeddedSpeechConfig)

Creates a new instance of IntentRecognizer using EmbeddedSpeechConfig, configured to receive speech from the default microphone. Added in 1.20.0

IntentRecognizer(SpeechConfig)

Creates a new instance of IntentRecognizer.

IntentRecognizer(EmbeddedSpeechConfig, AudioConfig)

Creates a new instance of IntentRecognizer using EmbeddedSpeechConfig, configured to receive speech from an audio source specified in an AudioConfig object. Added in 1.20.0

IntentRecognizer(SpeechConfig, AudioConfig)

Creates a new instance of IntentRecognizer.

IntentRecognizer(EmbeddedSpeechConfig)

Creates a new instance of IntentRecognizer using EmbeddedSpeechConfig, configured to receive speech from the default microphone. Added in 1.20.0

public IntentRecognizer (Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig speechConfig);
new Microsoft.CognitiveServices.Speech.Intent.IntentRecognizer : Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig -> Microsoft.CognitiveServices.Speech.Intent.IntentRecognizer
Public Sub New (speechConfig As EmbeddedSpeechConfig)

Parameters

speechConfig
EmbeddedSpeechConfig

Embedded speech configuration

Applies to

IntentRecognizer(SpeechConfig)

Creates a new instance of IntentRecognizer.

public IntentRecognizer (Microsoft.CognitiveServices.Speech.SpeechConfig speechConfig);
new Microsoft.CognitiveServices.Speech.Intent.IntentRecognizer : Microsoft.CognitiveServices.Speech.SpeechConfig -> Microsoft.CognitiveServices.Speech.Intent.IntentRecognizer
Public Sub New (speechConfig As SpeechConfig)

Parameters

speechConfig
SpeechConfig

Speech configuration

Applies to

IntentRecognizer(EmbeddedSpeechConfig, AudioConfig)

Creates a new instance of IntentRecognizer using EmbeddedSpeechConfig, configured to receive speech from an audio source specified in an AudioConfig object. Added in 1.20.0

public IntentRecognizer (Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig speechConfig, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.Intent.IntentRecognizer : Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.Intent.IntentRecognizer
Public Sub New (speechConfig As EmbeddedSpeechConfig, audioConfig As AudioConfig)

Parameters

speechConfig
EmbeddedSpeechConfig

Embedded speech configuration

audioConfig
AudioConfig

Audio configuration

Applies to

IntentRecognizer(SpeechConfig, AudioConfig)

Creates a new instance of IntentRecognizer.

public IntentRecognizer (Microsoft.CognitiveServices.Speech.SpeechConfig speechConfig, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.Intent.IntentRecognizer : Microsoft.CognitiveServices.Speech.SpeechConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.Intent.IntentRecognizer
Public Sub New (speechConfig As SpeechConfig, audioConfig As AudioConfig)

Parameters

speechConfig
SpeechConfig

Speech configuration

audioConfig
AudioConfig

Audio configuration

Applies to