<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Microsoft&#8217;s Translator API with Python</title>
	<atom:link href="http://denis.papathanasiou.org/2012/05/07/using-microsofts-translator-api-with-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://denis.papathanasiou.org/2012/05/07/using-microsofts-translator-api-with-python/</link>
	<description>All the Pieces Matter</description>
	<lastBuildDate>Tue, 26 Mar 2013 10:29:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Denis</title>
		<link>http://denis.papathanasiou.org/2012/05/07/using-microsofts-translator-api-with-python/comment-page-1/#comment-31391</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Wed, 07 Nov 2012 13:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://denis.papathanasiou.org/?p=948#comment-31391</guid>
		<description><![CDATA[@Anderson, 

There&#039;s a typo in the &quot;This is a pen&quot; example; the last line should be &quot;msmt.translate()&quot;, not &quot;msmt_display.translate()&quot;.

I&#039;ll fix the post accordingly.

As far as Hindi is concerned, I grabbed some text from &lt;a href=&quot;http://in.jagran.yahoo.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://in.jagran.yahoo.com/&lt;/a&gt; this morning, and it seems to work:

&lt;code&gt;
&gt;&gt;&gt; import msmt
&gt;&gt;&gt; token = msmt.get_access_token()
&gt;&gt;&gt; msmt.translate(token, &#039;ओबामा ने गिनाई चुनौतियां&#039;, &#039;en&#039;, &#039;hi&#039;)
&#039;&lt;string xmlns=&quot;http://schemas.microsoft.com/2003/10/Serialization/&quot;&gt;Obama has another milestone challenges&lt;/string&gt;&#039;
&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>@Anderson, </p>
<p>There&#8217;s a typo in the &#8220;This is a pen&#8221; example; the last line should be &#8220;msmt.translate()&#8221;, not &#8220;msmt_display.translate()&#8221;.</p>
<p>I&#8217;ll fix the post accordingly.</p>
<p>As far as Hindi is concerned, I grabbed some text from <a href="http://in.jagran.yahoo.com/" target="_blank" rel="nofollow">http://in.jagran.yahoo.com/</a> this morning, and it seems to work:</p>
<p><code><br />
>>> import msmt<br />
>>> token = msmt.get_access_token()<br />
>>> msmt.translate(token, 'ओबामा ने गिनाई चुनौतियां', 'en', 'hi')<br />
'<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Obama has another milestone challenges</string>'<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anderson</title>
		<link>http://denis.papathanasiou.org/2012/05/07/using-microsofts-translator-api-with-python/comment-page-1/#comment-31076</link>
		<dc:creator>Anderson</dc:creator>
		<pubDate>Tue, 30 Oct 2012 21:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://denis.papathanasiou.org/?p=948#comment-31076</guid>
		<description><![CDATA[Nice job Denis, I really appreciate your posting this up for the benefit of the community.

I tried to use your module for translating hindi (&#039;hi&#039;) characters to english, but I couldn&#039;t figure out how to work with the unicode -&gt; utf-8 -&gt; unicode conversions.

Could you post a full example of how your worked with feeding unicode characters to your module, then processed the returned data?

Also, msmt_display.translate didn&#039;t work for me. I guess I need to instantiate your module first right?

Cheers  :)]]></description>
		<content:encoded><![CDATA[<p>Nice job Denis, I really appreciate your posting this up for the benefit of the community.</p>
<p>I tried to use your module for translating hindi (&#8216;hi&#8217;) characters to english, but I couldn&#8217;t figure out how to work with the unicode -&gt; utf-8 -&gt; unicode conversions.</p>
<p>Could you post a full example of how your worked with feeding unicode characters to your module, then processed the returned data?</p>
<p>Also, msmt_display.translate didn&#8217;t work for me. I guess I need to instantiate your module first right?</p>
<p>Cheers  <img src='http://denis.papathanasiou.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis</title>
		<link>http://denis.papathanasiou.org/2012/05/07/using-microsofts-translator-api-with-python/comment-page-1/#comment-30025</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Thu, 27 Sep 2012 16:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://denis.papathanasiou.org/?p=948#comment-30025</guid>
		<description><![CDATA[@Paul: 

Thank you for catching that; dates.py is a module I wrote myself, to handle some basic date functions, and is not part of the built-in libraries.

I&#039;ve &lt;a href=&quot;https://gist.github.com/2790853&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;updated the gist&lt;/a&gt; so that it will work in a standard python distribution, without requiring my dates.py file.

The function in question, by the way, is just for producing a human-readable timestamp in the event of an error; it&#039;s not really necessary for using the translation functions.]]></description>
		<content:encoded><![CDATA[<p>@Paul: </p>
<p>Thank you for catching that; dates.py is a module I wrote myself, to handle some basic date functions, and is not part of the built-in libraries.</p>
<p>I&#8217;ve <a href="https://gist.github.com/2790853" target="_blank" rel="nofollow">updated the gist</a> so that it will work in a standard python distribution, without requiring my dates.py file.</p>
<p>The function in question, by the way, is just for producing a human-readable timestamp in the event of an error; it&#8217;s not really necessary for using the translation functions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://denis.papathanasiou.org/2012/05/07/using-microsofts-translator-api-with-python/comment-page-1/#comment-30013</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 27 Sep 2012 07:20:54 +0000</pubDate>
		<guid isPermaLink="false">http://denis.papathanasiou.org/?p=948#comment-30013</guid>
		<description><![CDATA[debian python 2.6 - there does not seem to be a module dates and so import msmt fails with an error &quot;Import error: no module named dates&quot;]]></description>
		<content:encoded><![CDATA[<p>debian python 2.6 &#8211; there does not seem to be a module dates and so import msmt fails with an error &#8220;Import error: no module named dates&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aditya</title>
		<link>http://denis.papathanasiou.org/2012/05/07/using-microsofts-translator-api-with-python/comment-page-1/#comment-27835</link>
		<dc:creator>Aditya</dc:creator>
		<pubDate>Sat, 07 Jul 2012 09:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://denis.papathanasiou.org/?p=948#comment-27835</guid>
		<description><![CDATA[Great article but I would suggest that you share some screenshots or some videos so that it can be more interesting and easy to implement]]></description>
		<content:encoded><![CDATA[<p>Great article but I would suggest that you share some screenshots or some videos so that it can be more interesting and easy to implement</p>
]]></content:encoded>
	</item>
</channel>
</rss>
