다음을 통해 공유


TranslationRecognizer Constructors

Definition

Overloads

TranslationRecognizer(EmbeddedSpeechConfig)

Creates a translation recognizer using the default microphone input for a specified embedded speech configuration.

TranslationRecognizer(HybridSpeechConfig)

Creates a translation recognizer using the default microphone input for a specified hybrid speech configuration.

TranslationRecognizer(SpeechTranslationConfig)

Creates a translation recognizer using the default microphone input for a specified translation configuration.

TranslationRecognizer(EmbeddedSpeechConfig, AudioConfig)

Creates a translation recognizer using the specified embedded speech translator and audio configuration.

TranslationRecognizer(EmbeddedSpeechConfig, AutoDetectSourceLanguageConfig)

Creates a translation recognizer using the specified embedded speech config and auto detection source language config.

TranslationRecognizer(HybridSpeechConfig, AudioConfig)

Creates a translation recognizer using the specified hybrid speech translator and audio configuration.

TranslationRecognizer(SpeechTranslationConfig, AudioConfig)

Creates a translation recognizer using the specified speech translator and audio configuration.

TranslationRecognizer(SpeechTranslationConfig, AutoDetectSourceLanguageConfig)

Creates a translation recognizer using the specified speech translator and auto detect source language config

TranslationRecognizer(EmbeddedSpeechConfig, AutoDetectSourceLanguageConfig, AudioConfig)

Creates a translation recognizer using the specified embedded speech config, auto detection source language config and audio config.

TranslationRecognizer(SpeechTranslationConfig, AutoDetectSourceLanguageConfig, AudioConfig)

Creates a translation recognizer using the specified speech translator and audio configuration.

TranslationRecognizer(EmbeddedSpeechConfig)

Creates a translation recognizer using the default microphone input for a specified embedded speech configuration.

public TranslationRecognizer (Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig config);
new Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer : Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig -> Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer
Public Sub New (config As EmbeddedSpeechConfig)

Parameters

config
EmbeddedSpeechConfig

Embedded speech config.

Applies to

TranslationRecognizer(HybridSpeechConfig)

Creates a translation recognizer using the default microphone input for a specified hybrid speech configuration.

public TranslationRecognizer (Microsoft.CognitiveServices.Speech.HybridSpeechConfig config);
new Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer : Microsoft.CognitiveServices.Speech.HybridSpeechConfig -> Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer
Public Sub New (config As HybridSpeechConfig)

Parameters

config
HybridSpeechConfig

Hybrid speech config.

Applies to

TranslationRecognizer(SpeechTranslationConfig)

Creates a translation recognizer using the default microphone input for a specified translation configuration.

public TranslationRecognizer (Microsoft.CognitiveServices.Speech.SpeechTranslationConfig config);
new Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer : Microsoft.CognitiveServices.Speech.SpeechTranslationConfig -> Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer
Public Sub New (config As SpeechTranslationConfig)

Parameters

config
SpeechTranslationConfig

Translation config.

Applies to

TranslationRecognizer(EmbeddedSpeechConfig, AudioConfig)

Creates a translation recognizer using the specified embedded speech translator and audio configuration.

public TranslationRecognizer (Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig config, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer : Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer
Public Sub New (config As EmbeddedSpeechConfig, audioConfig As AudioConfig)

Parameters

config
EmbeddedSpeechConfig

Embedded speech config.

audioConfig
AudioConfig

Audio config.

Applies to

TranslationRecognizer(EmbeddedSpeechConfig, AutoDetectSourceLanguageConfig)

Creates a translation recognizer using the specified embedded speech config and auto detection source language config.

public TranslationRecognizer (Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig config, Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig autoDetectSourceLanguageConfig);
new Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer : Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig * Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig -> Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer
Public Sub New (config As EmbeddedSpeechConfig, autoDetectSourceLanguageConfig As AutoDetectSourceLanguageConfig)

Parameters

config
EmbeddedSpeechConfig

Embedded speech config.

autoDetectSourceLanguageConfig
AutoDetectSourceLanguageConfig

Auto detection source language config.

Applies to

TranslationRecognizer(HybridSpeechConfig, AudioConfig)

Creates a translation recognizer using the specified hybrid speech translator and audio configuration.

public TranslationRecognizer (Microsoft.CognitiveServices.Speech.HybridSpeechConfig config, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer : Microsoft.CognitiveServices.Speech.HybridSpeechConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer
Public Sub New (config As HybridSpeechConfig, audioConfig As AudioConfig)

Parameters

config
HybridSpeechConfig

Hybrid speech config.

audioConfig
AudioConfig

Audio config.

Applies to

TranslationRecognizer(SpeechTranslationConfig, AudioConfig)

Creates a translation recognizer using the specified speech translator and audio configuration.

public TranslationRecognizer (Microsoft.CognitiveServices.Speech.SpeechTranslationConfig config, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer : Microsoft.CognitiveServices.Speech.SpeechTranslationConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer
Public Sub New (config As SpeechTranslationConfig, audioConfig As AudioConfig)

Parameters

config
SpeechTranslationConfig

Translation config.

audioConfig
AudioConfig

Audio config.

Applies to

TranslationRecognizer(SpeechTranslationConfig, AutoDetectSourceLanguageConfig)

Creates a translation recognizer using the specified speech translator and auto detect source language config

public TranslationRecognizer (Microsoft.CognitiveServices.Speech.SpeechTranslationConfig config, Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig autoDetectSourceLanguageConfig);
new Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer : Microsoft.CognitiveServices.Speech.SpeechTranslationConfig * Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig -> Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer
Public Sub New (config As SpeechTranslationConfig, autoDetectSourceLanguageConfig As AutoDetectSourceLanguageConfig)

Parameters

config
SpeechTranslationConfig

Translation config.

autoDetectSourceLanguageConfig
AutoDetectSourceLanguageConfig

Configuration that specifies the language(s) to look for in the source speech to synthesize

Applies to

TranslationRecognizer(EmbeddedSpeechConfig, AutoDetectSourceLanguageConfig, AudioConfig)

Creates a translation recognizer using the specified embedded speech config, auto detection source language config and audio config.

public TranslationRecognizer (Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig config, Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig autoDetectSourceLanguageConfig, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer : Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig * Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer
Public Sub New (config As EmbeddedSpeechConfig, autoDetectSourceLanguageConfig As AutoDetectSourceLanguageConfig, audioConfig As AudioConfig)

Parameters

config
EmbeddedSpeechConfig

Embedded speech config.

autoDetectSourceLanguageConfig
AutoDetectSourceLanguageConfig

Auto detection source language config.

audioConfig
AudioConfig

Audio config.

Applies to

TranslationRecognizer(SpeechTranslationConfig, AutoDetectSourceLanguageConfig, AudioConfig)

Creates a translation recognizer using the specified speech translator and audio configuration.

public TranslationRecognizer (Microsoft.CognitiveServices.Speech.SpeechTranslationConfig config, Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig autoDetectSourceLanguageConfig, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer : Microsoft.CognitiveServices.Speech.SpeechTranslationConfig * Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.Translation.TranslationRecognizer
Public Sub New (config As SpeechTranslationConfig, autoDetectSourceLanguageConfig As AutoDetectSourceLanguageConfig, audioConfig As AudioConfig)

Parameters

config
SpeechTranslationConfig

Translation config.

autoDetectSourceLanguageConfig
AutoDetectSourceLanguageConfig

Configuration that specifies the language(s) to look for in the source speech to synthesize

audioConfig
AudioConfig

Audio config.

Applies to