Re: MaestroTranslate

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Fri, 17 Oct 2008 14:58:44 -0400 (EDT)

Excellent work, Octavian!  I'm curious whether you used Win32::GUI or
wxPerl.

Regarding a limit on the size of text to be translated, I found that the
documentation for the module WebService::Google::Language includes the
excerpt below.  Also, a Google web page
http://code.google.com/apis/ajaxlanguage/documentation/#Translation

mentions about 88 languages rather than the 35 I noticed in your
program.  I don't know the reason for this difference, but thought you'd
want to know about it.

Jamal

Google does not allow submission of text exceeding 500 characters in
length to their service (see Terms of Use). This module will check the
length of text
passed to its methods and will fail if text is too long (without sending
a request to Google).

On Fri, 17 Oct 2008, Octavian Rasnita wrote:

> Date: Fri, 17 Oct 2008 15:22:13 +0300
> From: Octavian Rasnita <orasnita@xxxxxxxxx>
> Reply-To: programmingblind@xxxxxxxxxxxxx
> To: programmingblind@xxxxxxxxxxxxx
> Subject: MaestroTranslate
>
> Hi,
>
> Jamal came with the idea of creating a translator by using Google, so I've 
> made a Desktop program for Windows that does that.
>
> The original version also offers the possibility of chosing the backend 
> between Google and Babelfish, but if I include the translator by Babelfish, I 
> can't pack the program using perlapp. I know why, but I don't know how to 
> solve it yet, so I've created a version that can translate only using Google.
>
> Anyway, Google offers much more language pairs than Babelfish, and even 
> though it gives very many errors, it also gives many good translations.
>
> You can download the program from:
>
> http://www.tranzactiibursiere.ro/static/MaestroTranslate.exe
>
> You can choose the source and destination languages from combo boxes.
> You can type the source text into a multiline field, or you can choose to 
> open a text file with the text you want to translate.
> You can also save the generated translation into a text file.
>
> I've tried to translate a file which is a little bigger than 1.6 kb (from 
> romanian to english) but Google didn't translate anything. If I removed a few 
> sentences to make the file smaller, it translated the file with no problems.
> For the moment I don't know if Google has a size limit, or it encountered 
> some chars/words it doesn't like, but I will make some more tests.
>
> I've made the program without an installer because it doesn't need other 
> external files to run.
>
> I don't know if the translation to Bulgarian and Japanese work because I've 
> made a simple test but it wasn't successfully passed.
>
> Octavian
>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: