microsoft-translator

Microsoft Translator Widget - Force Destination Language

这一生的挚爱 提交于 2019-12-12 03:38:37
问题 How do I force the Microsoft Translator widget to use a specific destination language without depending on the language sent by the browser? http://www.microsofttranslator.com/widget/ 回答1: I also had the same problem so thought I'd post how I fixed it. I found that you can simply insert the language letter code into the widget's ajax URL. For example, search the widget code for this: "/ajax/v2/widget.aspx?mode=auto&from=en&layout=ts" Then you can just insert "&to=de" for example, if you want

Microsoft Translate API for Android gives UnknownHostException

亡梦爱人 提交于 2019-12-11 07:58:45
问题 I have tried the following code to implement a translator app using Microsoft Translator API library found here. I have a working internet connection and I have generated the a valid client id and secret but whenever I try to run the code I get the java.net.UnknownHostException . My code: StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); StrictMode.setThreadPolicy(policy); Translate.setClientId("Screened for the question"); //Change this Translate

How to Enable DNN translation through Microsoft Translator API

本小妞迷上赌 提交于 2019-12-11 05:47:54
问题 Microsoft Translate API defaults to performing Statistical machine translation . This is lower quality than the more modern Deep Neural Network translation, which is also available for many languages. I am able to get translations to work with SMT . However, I'm unable to figure out how to get DNN to work. Microsoft's own documentation provides no information on this. Anyone have experience getting this to work? 回答1: Translations to and from Chinese and Hindi are NN by default. For the other

Can't find Microsoft Translator's categories

此生再无相见时 提交于 2019-12-11 00:20:12
问题 I've been using Microsoft Translator's HTTP API for translating texts in my website. As the documentation describes, there is an option of specifying a category for the translation. The list of available categories is nowhere to be found. Any help finding it would be highly appreciated! :) 回答1: I know that this question was posted ~9 months ago, but maybe other developers might find this useful. I have searched A LOT for this answer, because I have to use it myself. :) All the possible

How to use Microsoft Translator API in Android

一曲冷凌霜 提交于 2019-12-06 10:11:38
问题 The Microsoft Translator API for android samples has already been deprecated since march 2017 (just this yr). So I'm having a hard time translating text on android. Can anyone help me make this work on android?. It's just that I already have this working in java but I can't make it work on Android. I already tried using asynctask , but to no avail, no translation is being outputed. Or prolly I just did a wrong asyc task?. The Interface of the application is like this: It just have a simple

Bing translator widget without original text popup

浪尽此生 提交于 2019-12-06 03:33:44
问题 I have implemented Bing Translator Widget in my website. It works great. However I could not find any way to disable annoying popups attached to hover event on translated texts that shows original text. Is there any way I can disable it. Thanks in advance. Following are links to Official pages about how to use the widget: http://msdn.microsoft.com/en-us/library/dn341983.aspx http://www.bing.com/widget/translator/ http://www.microsoft.com/web/solutions/mstranslator.aspx 回答1: Got the same

How to use Microsoft Translator API in Android

北战南征 提交于 2019-12-04 16:02:55
The Microsoft Translator API for android samples has already been deprecated since march 2017 (just this yr). So I'm having a hard time translating text on android. Can anyone help me make this work on android?. It's just that I already have this working in java but I can't make it work on Android. I already tried using asynctask , but to no avail, no translation is being outputed. Or prolly I just did a wrong asyc task?. The Interface of the application is like this: It just have a simple textfield with translation that should be outputed on the other textfield. The translation is from Korean

How to use the Microsoft Translator API over Windows Azure, for Windows Phone?

心不动则不痛 提交于 2019-12-04 14:46:19
Previously there the bing translator was easily accessible with the SOAP interface. Now it has been migrated to Windows Azure. I have registered in the Azure marketplace for 10000 letters per month (free). How can I translate text through the translator api, for windows phone in C#? Please help. I am not sure how to use the BeginExecute and EndExecute for queries. I have downloaded and added the TranslatorContainer.cs to my project. For now I am just trying to get the Languages with the GetLanguagesForTranslation method. This is the code which I have written. public partial class PhonePage1 :

Bing translator widget without original text popup

我的未来我决定 提交于 2019-12-04 07:30:20
I have implemented Bing Translator Widget in my website. It works great. However I could not find any way to disable annoying popups attached to hover event on translated texts that shows original text. Is there any way I can disable it. Thanks in advance. Following are links to Official pages about how to use the widget: http://msdn.microsoft.com/en-us/library/dn341983.aspx http://www.bing.com/widget/translator/ http://www.microsoft.com/web/solutions/mstranslator.aspx Got the same problem here, and after some explorations, you can do this in javascript : Microsoft.Translator.Widget

Obtaining alignment data for English to Chinese

只谈情不闲聊 提交于 2019-12-04 02:24:10
问题 Using TranslateArray2, I am able to get alignment data for most languages I want, but not for English to Chinese (zh). How can I get it? <ArrayOfTranslateArray2Response xmlns="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <TranslateArray2Response> <Alignment /> <From>en</From> <OriginalTextSentenceLengths xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <a:int>33</a:int> <