Professional Web Applications Themes

Semi-OT: Machine translation - Ruby

There's an interesting little library on RAA that will send text through the AltaVista translation website and then p 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? My suspicion is that the answer is, "No.", but I have been wrong before. :) Thanks, ...

  1. #1

    Default Semi-OT: Machine translation

    There's an interesting little library on RAA that will send text through
    the AltaVista translation website and then p 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?

    My suspicion is that the answer is, "No.", but I have been wrong before.
    :)

    Thanks,

    Kirk Haines




    Kirk Guest

  2. #2

    Default Re: Semi-OT: Machine translation

    Hi !
     

    You can also access babelfish via a webservice.... Done that a while ago and
    it worked quite well...

    Regards,
    Michael
    Michael Guest

  3. #3

    Default Re: Semi-OT: Machine translation

    il Thu, 26 Feb 2004 03:07:57 +0900, Kirk Haines <com> ha
    scritto::
     

    in the soap4r distribituion there was a SOAP client for babelfish
    service
    gabriele Guest

  4. #4

    Default Re: Semi-OT: Machine translation

    Hi,
     
     
    >
    > in the soap4r distribituion there was a SOAP client for babelfish
    > service[/ref]

    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



    NAKAMURA, Guest

Similar Threads

  1. filecopy from remote machine to local machine
    By anu in forum PERL Modules
    Replies: 5
    Last Post: February 8th, 03:49 PM
  2. Replies: 2
    Last Post: June 17th, 12:08 AM
  3. Rebooting and logging into Linux machine from a remote machine.
    By Sreenath in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: January 9th, 05:01 PM
  4. Getting files from a Win 2000 machine to a Windows XP machine
    By John Mycroft in forum Windows Networking
    Replies: 0
    Last Post: July 11th, 11:52 AM
  5. Replies: 2
    Last Post: December 30th, 07:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139