The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here.
Options

"Web:Enrich Data by Webservice"

DavidjePDavidjeP Member Posts: 2 Contributor I
edited May 2019 in Help
Hi all,

I just started using RapidMiner. I absolutely like the toolkit, good work. My question is about the 'Web:Enrich Data by Webservice' operator. I'd like to call the Google Translate REST service from my process, using the value of my attribute named Content in the example set. I just cannot seem to figure out how to use this attribute in my url.. I tried:

https://www.googleapis.com/language/translate/v2?key=Arg4aSyA=<;attribute  Content>&source=nl&target=en

And tried other variants.. nothing seems to work. Who can help me?

regards David

Answers

  • Options
    DavidjePDavidjeP Member Posts: 2 Contributor I
    Found the problem. I downloaded the source code of the Web plugin and found that an Exception is thrown in case of an underscore character.. The URI class is used, that's why:
    (new URI(null, value, null)).toASCIString()

    regards David
  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi David,

    sorry for my late reply, we have been distracted by some urgent work. Could you please post a bugreport for this? I don't think this is an appropriate behavior of the operator :)

    Greetings,
      Sebastian
Sign In or Register to comment.