[SOLVED] Expected data of type IOObject
I have created a new filter operator and added it inside the ProcessDocument operator, after Tokenize operator.
When I try to run the process, the following error occurs.
Process Failed
Wrong data of type of Document was delivered at port 'document'
Expected data of type IOObject
The xml of the ProcessDocument is
When I try to run the process, the following error occurs.
Process Failed
Wrong data of type of Document was delivered at port 'document'
Expected data of type IOObject
The xml of the ProcessDocument is
Any idea what can be wrong?
<宏/ >
Tagged:
0
Answers
your operator needs to return the type "com.rapidminer.operator.text.Document". Otherwise the output of your operator is not compatible to the expected input on the right side of the "Process Documents" operator. Make sure to not run into the duplicate class loading trap as describedhere.
Regards,
Marco
I have downloaded the source code of TextProcessing_Unuk and added it as a required Project, removed the rmx_text.jar file from the library folder.
And now I have successfully integrated my operator in RapidMiner.
Thanks a lot Sir.
Aniee
Hi Ainee
I am encountering the same problem while tokenizing document
I get the same error.
Can you please elaborate the steps how did you fix it?
Hi ahtsham,
I think this might help with using the text extension as a depdendency:RapidProM-extension-issue
The process is the same, just exchange RapidProM extension with text extension.
Cheers