Hi,

> From: "gabriele renzi" <surrender_it / rc1.vip.ukl.yahoo.com>
> Sent: Thursday, February 26, 2004 6:19 AM

> >There's an interesting little library on RAA that will send text through
> >the AltaVista translation website and then parse out all of the HTML that
> >the site returns to get back just the translated text.
> >
> >This is a neat toy, but is fragile.  Does anyone know if any of the online
> >machine translation services offer any sort of web accessible API or web
> >interface that does not wrap the returned text in gunk that must be
> >trimmed away to get to the transated text?
> >
>
> in the soap4r distribituion there was a SOAP client for babelfish
> service

In Ruby/1.8.1, too.

0$ ruby sample/soap/babelfish.rb "Hello, World" en_fr
"This service is currently disabled."

Doh!  I don't know the service status.

Searching http://www.xmethods.net/ve2/Directory.po with "babel"...

| A "babel fish" that speaks Swedish Chefish, Jive, Drawl, Eleet
| and other dialects"
| http://ww6.borland.com/webservices/BorlandBabel/BorlandBabel.exe/wsdl/IBorlandBabel

It must not be the one, though...

0$ ruby -rsoap/wsdlDriver -e 'puts
SOAP::WSDLDriverFactory.new("http://ww6.borland.com/webservices/BorlandBabel/BorlandBabel.exe/wsdl/IBorlandBabel").create_driver.Sup
portedLanguages'        Bleep
Censor
Chef
Drawl
Eleet
EuroEnglish
Fudd
Funetak
Jive
Moo
Valspeak

0$ ruby -rsoap/wsdlDriver -e 'puts
SOAP::WSDLDriverFactory.new("http://ww6.borland.com/webservices/BorlandBabel/BorlandBabel.exe/wsdl/IBorlandBabel").create_driver.Bab
elFish("Fudd", "Hello, world!")'
Hewwo, wowwd!

Gee.

Regards,
// NaHi