> Hello,
>
> I'm looking for a way how to query an online translation service like
> altavista's babelfish from inside a java program. The result should be
> processed subsequently, for example as a String.
You'd have to find out what API the service you wish to utilizes
exposes. Typically, you'll have to learn the HTTP protocol in the process,
as many web service APIs are built above the HTTP level. If they don't
provide an explicit API, you may have to emulate what a web browser does to
gather your info.
- Oliver
Dietrich Blauzahn - 01 Sep 2006 14:44 GMT
> You'd have to find out what API the service you wish to utilizes
> exposes. Typically, you'll have to learn the HTTP protocol in the
[quoted text clipped - 3 lines]
>
> - Oliver
Thanks for the input. Sounds a bit complicated, though, since I hardly
know anything about the above ideas. I hoped there would be something
more or less of-the-shelf.
- Dietrich
> Hello,
>
> I'm looking for a way how to query an online translation service like
> altavista's babelfish from inside a java program. The result should be
> processed subsequently, for example as a String.
Dictionary/ies (not translation service(s)): http://www.dict.org/
You'll find plenty off-the-shelf (free, too) stuff there.