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 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