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.

Constructor for internal use.

TranslationRecognitionEventArgs

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

Constructor for internal use.

TranslationRecognitionResult

Defines the translation text result.

Constructor for internal use.

TranslationRecognizer

Performs translation on the speech input.

TranslationSynthesisEventArgs

Defines payload that is sent with the event synthesizing.

Constructor for internal use.

TranslationSynthesisResult

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

Constructor for internal use.