metalfan has asked for the wisdom of the Perl Monks concerning the following question:

hi, i search a script that can translate words from english to german, im currently using exel, but i can save to csv "plain text": the format is like this: "english word", "german word" ive tried to write my own dictionary.com parser, its hell. also i cant figure out howto use HTML-Parser to help me... htext is maybe a start, but even then im to thumb to write a script :( any suggestions? metalfan
  • Comment on [SOLVED]german/english word translation

Replies are listed 'Best First'.
Re: german/english word translation
by tirwhan (Abbot) on Dec 22, 2005 at 19:27 UTC

    You could try WWW::Leo, Lingua::Translate or WWW::Babelfish, these all present a Perl interface to various translation websites.


    Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan
Re: [SOLVED]german/english word translation
by calin (Deacon) on Dec 27, 2005 at 20:04 UTC

    <JOKE>

    $ perl -pe 'tr[oOuU][öÖüÜ]' - ACHTUNG! ALLES LOOKENSPEEPERS! Das computermachine ist nicht fuer gefingerpoken und mittengrabben. Ist easy schnappen der springenwerk, blowenfusen und poppencorken mit spitzensparken. Ist nicht fuer gewerken bei das dumpkopfen. Das rubbernecken sichtseeren keepen das cotten-pickenen hans in das pockets muss; relaxen und watchen das blinkenlichten. ^D ACHTÜNG! ALLES LÖÖKENSPEEPERS! Das cömpütermachine ist nicht füer gefingerpöken ünd mittengrabben. Ist easy schnappen der springenwerk, blöwenfüsen ünd pöppencörken mit spitzensparken. Ist nicht füer gewerken bei das dümpköpfen. Das rübbernecken sichtseeren keepen das cötten-pickenen hans in das pöckets müss; relaxen ünd watchen das blinkenlichten. $

    </JOKE>

    Heavy Metal Umlaut