How can I access com.rapidminer.operator.text.Document in Java?
Hi all,
my process outputs JSON with the Data to JSON from the Text Processing Extension/Plugin.
I want to cast the output ioResult.getElementAt(0) to this com.rapidminer.operator.text.Document so I can access the JSON string.
I can't perform that cast because the class is not known. I don't have the jar files apparently (Intellij can't find it).
What gradle dependencies should be added so I can access code that is added as an extension/plugin to Rapidminer Studio?
Or is there another solution to this problem?
Kind regards,
Wouter
Best Answer
-
DekwoKybon Member Posts: 9 Contributor II
I have solved my problem.
I found the JAR file on Rapid Miner Marketplace
https://marketplace.rapidminer.com/UpdateServer/faces/product_details.xhtml?productId=rmx_textAfter downloading the JAR file and adding it as a local dependency in my Gradle build.gradle file
compile files('/opt/rapidminer/lib/plugins/rmx_text-ANY-7.5.0.jar')
Now, I can downcast the ioResult to com.rapidminer.operator.text.Document and access the JSON content :-)
Wouter
1