The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 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
"Read" operator class name?
Hi All,
I had a hard time to find out the class name for the "Read" operator in RM 5.1.012 wile trying to create this operator in my own Java program.
Description in process xml:
Thanks.
I had a hard time to find out the class name for the "Read" operator in RM 5.1.012 wile trying to create this operator in my own Java program.
Description in process xml:
And generally how can i get the corresponding class name for each operator? The api doc has different name sometimes.
<operator activated="true" class="read" compatibility="5.1.012" expanded="true" height="60" name="Read" width="90" x="36" y="104"/>
Thanks.
0
Answers
link between operator class name and "process" name is in
.......\Rapid-I\RapidMiner5\resources\com\rapidminer\resources\OperatorsCore.xml
or in
.......\Rapid-I\RapidMiner5\resources\com\rapidminer\resources\i18n\OperatorsCoreDocumentation.xml
first one id definition of link and second one is operators documentation.
Cheers
Vaclav
For example, for operator "Process Documents from Files", i found follow info from "
resources/com/rapidminer/resources/i18n/OperatorsCoreDocumentation.xml": Key "process_document_from_file" doesn't provide me any info about the class name for this operator. A grab in source code for this key doesn't show anything either.
"Process Documents from Files" is operator from Text Processing plugin. So you have to download source codes for this plugin and xml are in resources directory too.
source codes on SVN:
https://rapidminer.svn.sourceforge.net/svnroot/rapidminer/Plugins/TextProcessing/Vega/
Cheers
Vaclav
I downloaded text plugin source code and from "resources/com/rapidminer/resources/OperatorsTextProcessing.xml" i found: When i compile my Java program with: I got the error msg: My RM is up to date, and text operators are working fine in GUI, so I assume I already have the text operator class/jar file in my RM installation. So what else jar ball or dir i need to specify in the classpath?
Thanks.
/home/some_user/.RapidMiner5/managed/rmx_text-5.1.3.jar
I'm not sure, but if you download extensions via update in RM, it is downloaded to your home folder C:\Users\userName\.RapidMiner5\managed
There you find all downloaded jar plugins.
I hope this is answer you need.
Vaclav