MicrosoftTranslatorService Class |
Namespace: CMS.TranslationServices
public class MicrosoftTranslatorService : AbstractMachineTranslationService
The MicrosoftTranslatorService type exposes the following members.
Name | Description | |
---|---|---|
MicrosoftTranslatorService |
Name | Description | |
---|---|---|
CustomParameter |
Get or sets custom parameter.
(Inherited from BaseTranslationService.) | |
MSTranslatorTextAPISubscriptionKey |
Subscription key from Translator Text API azure cognitive service http://docs.microsofttranslator.com/text-translate.html.
| |
SiteName |
Gets or sets the name of the site where the settings are retrieved from.
(Inherited from BaseTranslationService.) |
Name | Description | |
---|---|---|
Detect |
Detects language of given text using Translator Text API azure cognitive service.
(Overrides AbstractMachineTranslationServiceDetect(String).) | |
IsAvailable |
Checks if everything required to run the service is in the settings of the service.
(Overrides BaseTranslationServiceIsAvailable.) | |
Speak |
Returns stream of wav file generated by Translator Text API azure cognitive service.
(Overrides AbstractMachineTranslationServiceSpeak(String, String).) | |
Translate |
Translates given text using Translator Text API azure cognitive service.
(Overrides AbstractMachineTranslationServiceTranslate(String, String, String).) |