RE: Options for translating languages within perl scripts

[email protected] ("Kool,Wouter") Fri, 27 Feb 2015 08:06:49 +0000
Newsgroups perl.perl4lib
Message-ID <BN1PR06MB165F056E91C8A3109F0C8878A150@BN1PR06MB165.namprd06.prod.outlook.com>
Perhaps theWWW::Babelfish module helps. It seems to support connecting to t=
he Google and Yahoo services as well. Haven't tried it but seems interestin=
g:
http://search.cpan.org/~durist/WWW-Babelfish-0.16/Babelfish.pm

Wouter=20

From: Eileen Pinto [mailto:[email protected]]=20
Sent: donderdag 26 februari 2015 23:29
To: [email protected]
Subject: Options for translating languages within perl scripts

Hi,

I've been tasked with massaging a large batch of French-language MARC recor=
ds from a vendor.=A0 Aside from the usual MARC field manipulation/cleanup w=
e usually do with perl, I've been asked to run the 520 field through a tran=
slation routine/API, etc. to convert (possibly crudely) from French to Engl=
ish.=A0 I thought that Babelfish or=A0http://api.yandex.com/translate/doc/d=
g/reference/translate.xml might be options, but Babelfish appears to be dea=
d, and when I clicked to get the required key for the yandex API, the link =
led to a dead end. =A0

Is anyone incorporating POST queries or other methods to translate fields i=
n MARC records?=A0 I'd appreciate any leads or pointers.

Thanks in advance,

Eileen Pinto
Library Systems Office
University of California, Berkeley
Berkeley, CA =A094720-6000