I have played around with features like UrlFetch and UrlFetchAsynchronous, but being relatively new to programming in Mathematica I have been unable to figure out how to implement Google Translate into an interactive Mathematica notebook. Specifically, I need a way to take text (primarily small amounts of text such as individual sentences) written in Arabic and pass it to Google Translate, and then return to Mathematica the English translation of the text for processing and analysis.
Hi,
you might want to use the Google Translate API:
https://cloud.google.com/translate/v2/pricing
On the Mathematica side of things you could proceed in a similar way to this:
Cheers,
Marco
Thanks Marco,
Sorry I didn’t get around to replying earlier. That Google Translate API was just what I needed, worked like a charm and was very easy to bring the translation data in to Mathematica for processing. I appreciate you taking the time to respond, you were a great help!
-Wren
Great that it worked! I suppose that many people in this community might be interested in seeing your solution. Is it possible to post it?
Cheers,
Marco