Export (0) Print
Expand All
2770 out of 3246 rated this helpful - Rate this topic

HTTP

To start using the HTTP interface for the Microsoft Translator service all you send an xml request to the appropriate http://api.microsofttranslator.com/V2/HTTP.svc URL and then parse the returned REST response, the translator API will handle the heavy lifting and pass the results of the method back in the format of the REST response.

By parsing this response you can extract the results of the method call.

Public Methods

Name Description

Microsoft.Translator.AddTranslation Method

Adds a translation to the translation memory.

Microsoft.Translator.AddTranslationArray Method

Adds an array of translations to the translation memory.

Microsoft.Translator.BreakSentences Method

Returns an array of sentence lengths for each sentence of the given text.

Microsoft.Translator.Detect Method

Detects the language of a selection of text.

Microsoft.Translator.DetectArray Method

Detects the language of an array of strings.

Microsoft.Translator.GetLanguageNames Method

Obtains a list of the languages supported by the Translator Service.

Microsoft.Translator.GetLanguagesForSpeak Method

Obtains a list of the language codes supported by the Translator Service for speech synthesis.

Microsoft.Translator.GetLanguagesForTranslate Method

Obtains a list of the language codes supported by the Translator Service.

Microsoft.Translator.GetTranslations Method

Returns an array of alternative translations of the given text.

Microsoft.Translator.GetTranslationsArray Method

Returns an array of alternative translations of the passed array of text.

Microsoft.Translator.Speak Method

Returns a string with a URL to a wave stream of the passed in text in desired language.

Microsoft.Translator.Translate Method

Converts a text string from one language to another.

Microsoft.Translator.TranslateArray Method

Translates an array of texts into another language.

Show:
© 2014 Microsoft. All rights reserved.