translation Module

Classes related to translation of speech to other languages.

Classes

SpeechTranslationConfig

Class that defines configurations for translation with speech input.

The configuration can be initialized in different ways:

  • from subscription: pass a subscription key and a region

  • from endpoint: pass a subscription key and an endpoint

  • from host: pass a subscription key and a host address

  • from authorization token: pass an authorization token and a region

TranslationRecognitionCanceledEventArgs

Class for translation recognition canceled event arguments.

TranslationRecognitionEventArgs

Defines payload that is sent with the event Recognizing or Recognized.

TranslationRecognitionResult

Defines the translation text result.

TranslationRecognizer

Performs translation on the speech input.

TranslationSynthesisEventArgs

Defines payload that is sent with the event synthesizing.

TranslationSynthesisResult

Defines the translation synthesis result, i.e. the voice output of the translated text in the target language.