Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
laziness, impatience, and hubris
 
PerlMonks  

Re: Google Translation using WWW::Babelfish

by sk (Curate)
on Jan 25, 2006 at 04:07 UTC ( #525367=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      
    open (FH, '>', "junk") or die $!; 
     $en_text = $obj->translate( 'source' => 'English',
    ...
                                'text' => "i am mexican with black hair an
    +d brown eyes",
                                'delimiter' => "\n\n",
                                'ofh' => \*FH);
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    }
    
    print Dumper (@translations);
    
  3. or download this
    $VAR1 = "Quisiera traducir esta oraci\x{f3}n a espa\x{f1}ol";
    $VAR2 = 'Porque soy mejicano con el pelo negro y los ojos marrones';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://525367]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (19)
As of 2013-05-20 17:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (417 votes), past polls