Esoteric Delights
A blog dedicated to all things esoteric in the lands of programming, music, life, and other hermetic musings.

Calling Google Ajax Language API for Translation and Language Detection from C#

November 26, 2008 18:22 by Eric

I have to give Google props for creating a solid API for language detection and translation services in the cloud.  Using their free service, I've now added some cool new functionality to help people out when using the Esoteric Delights Gematria Database.  In the first panel for translation, I'm using the Google Ajax Language API to detect if someone is entering Hebrew or English into the input box, and then proposing a "feeling lucky" kind of translation. More...

Currently rated 3.4 by 15 people

  • Currently 3.4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

New and Improved Translation Functionality

October 27, 2008 00:27 by Eric

I've improved the translation services available in the Esoteric Delights Gematria Database.  When you go to the database, you'll notice that I switched the order of the tools in the sliding tabs so that the "TRANSLATE" service is now at the top.  I've been analyzing the usage of the site to make improvements, and a major shortcoming that I found and corrected was that the call to the Babylon Online Dictionary was only really expecting a single word to be translated, but a lot of people are entering phrases into the translation and database searches.  I've corrected this to return results for all words entered, as shown below:

 

Another thing that I added was that in order to cast a wider net and help you find the closest translation possible, I've incorporated Google's Translation service that is made available through their Google Ajax API for Translation, which is totally awesome.  As demonstrated in the screenshot above, if Google has a translation for you, it will be provided at the bottom below the dictionary results.  This is also nice, because there may be times when the attempt to get a definition from Babylon doesn't return a result for whatever reason, but the Google result will - you can see this in the above example (notice there's no definition retrieved for "brave" in the Babylon section but the Google translation has all 3 words in a suggested translation). More...

Currently rated 3.0 by 10 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5