"Web:Enrich Data by Webservice"

DavidjeP
DavidjeP New Altair Community Member
edited November 5 in Community Q&A
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

  • DavidjeP
    DavidjeP New Altair Community Member
    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
  • land
    land New Altair Community Member
    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