Re: Options for translating languages within perl scripts

[email protected] (David Cook) Sat, 28 Feb 2015 10:01:48 +1100
Newsgroups perl.perl4lib
Message-ID <CACVmdZQyDPD3+utr7ZmuFvNKp=Bfs8XWDG-=wCJAyB0mavaX=w@mail.gmail.com>
--089e0160afde6ff7fd051019da51
Content-Type: text/plain; charset=UTF-8

Personally, I wouldn't recommend automatic translations, since they're very
prone to errors.

However, as a French/English speaker, I'd suggest Reverso (
http://localize.reverso.net/Default.aspx?lang=en). I haven't used their
API, but it's an excellent service. Its translation engine is the best I've
seen.

What sort of fields are you translating?
On 27 Feb 2015 09:29, "Eileen Pinto" <[email protected]> wrote:

> Hi,
>
> I've been tasked with massaging a large batch of French-language MARC
> records from a vendor.  Aside from the usual MARC field
> manipulation/cleanup we usually do with perl, I've been asked to run the
> 520 field through a translation routine/API, etc. to convert (possibly
> crudely) from French to English.  I thought that Babelfish or
> http://api.yandex.com/translate/doc/dg/reference/translate.xml might be
> options, but Babelfish appears to be dead, and when I clicked to get the
> required key for the yandex API, the link led to a dead end.
>
> Is anyone incorporating POST queries or other methods to translate fields
> in MARC records?  I'd appreciate any leads or pointers.
>
> Thanks in advance,
>
> Eileen Pinto
> Library Systems Office
> University of California, Berkeley
> Berkeley, CA  94720-6000
>

--089e0160afde6ff7fd051019da51
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Personally, I wouldn&#39;t recommend automatic translations,=
 since they&#39;re very prone to errors.</p>
<p dir=3D"ltr">However, as a French/English speaker, I&#39;d suggest Revers=
o ( <a href=3D"http://localize.reverso.net/Default.aspx?lang=3Den">http://l=
ocalize.reverso.net/Default.aspx?lang=3Den</a>). I haven&#39;t used their A=
PI, but it&#39;s an excellent service. Its translation engine is the best I=
&#39;ve seen.</p>
<p dir=3D"ltr">What sort of fields are you translating?<br></p>
<div class=3D"gmail_quote">On 27 Feb 2015 09:29, &quot;Eileen Pinto&quot; &=
lt;<a href=3D"mailto:[email protected]">[email protected]=
du</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><d=
iv dir=3D"ltr">Hi,<div><br></div><div>I&#39;ve been tasked with massaging a=
 large batch of French-language MARC records from a vendor.=C2=A0 Aside fro=
m the usual MARC field manipulation/cleanup we usually do with perl, I&#39;=
ve been asked to run the 520 field through a translation routine/API, etc. =
to convert (possibly crudely) from French to English.=C2=A0 I thought that =
Babelfish or=C2=A0<a href=3D"http://api.yandex.com/translate/doc/dg/referen=
ce/translate.xml" target=3D"_blank">http://api.yandex.com/translate/doc/dg/=
reference/translate.xml</a> might be options, but Babelfish appears to be d=
ead, and when I clicked to get the required key for the yandex API, the lin=
k led to a dead end. =C2=A0</div><div><br></div><div>Is anyone incorporatin=
g POST queries or other methods to translate fields in MARC records?=C2=A0 =
I&#39;d appreciate any leads or pointers.</div><div><br></div><div>Thanks i=
n advance,</div><div><br></div><div>Eileen Pinto</div><div>Library Systems =
Office</div><div>University of California, Berkeley</div><div>Berkeley, CA =
=C2=A094720-6000</div></div>
</blockquote></div>

--089e0160afde6ff7fd051019da51--