Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
"Read document as input to Execute script"
Hi! In my process I have a Read document operator connected to an execute script operator. I want to use the path of the file loaded by the read document in the script, how can I retrieve it? I'm using this code in the script, but it doesn't seem to work:
Document doc=input[0];Also I can't find anywhere a documentation for the Document class. How can I solve this problem?
String path = doc.getSource();
Tagged:
0
Answers
There is no official documentation for the text extension classes available, but you can have a look at the source here: https://svn.code.sf.net/p/rapidminer/code/Plugins/TextProcessing/Vega/
Regards,
Marco