TranslationRecognizer Constructors

Definition

Overloads

TranslationRecognizer(com.microsoft.cognitiveservices.speech.translation.SpeechTranslationConfig stc)

Constructs an instance of a translation recognizer.

TranslationRecognizer(com.microsoft.cognitiveservices.speech.translation.SpeechTranslationConfig stc, AudioConfig audioConfig)

Constructs an instance of a translation recognizer.

TranslationRecognizer(com.microsoft.cognitiveservices.speech.translation.SpeechTranslationConfig stc)

Constructs an instance of a translation recognizer.

public TranslationRecognizer(com.microsoft.cognitiveservices.speech.translation.SpeechTranslationConfig stc)

Parameters

stc
SpeechTranslationConfig

speech translation config.

TranslationRecognizer(com.microsoft.cognitiveservices.speech.translation.SpeechTranslationConfig stc, AudioConfig audioConfig)

Constructs an instance of a translation recognizer.

public TranslationRecognizer(com.microsoft.cognitiveservices.speech.translation.SpeechTranslationConfig stc, AudioConfig audioConfig)

Parameters

stc
SpeechTranslationConfig

speech translation config.

audioConfig
AudioConfig

audio config.

Applies to