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

"rapidminer document type"

outer_spaceouter_space Member Posts: 4 Contributor I
edited June 2019 in Help
I am trying to use operators "crawl web" and "extract content".  Crawl web outputs "exa" while extract input is "doc".  I put operator "Data to Document" between them, because it takes "exa" as input and outputs "doc".  However, I get this error when it reaches "extract content", Message: com.rapidminer.operator.IOObjectCollection cannot be cast to com.rapidminer.operator.text.Document.

How can you use operators "crawl web" and "extract content" together?

Answers

  • colocolo Member Posts: 236 Maven
    Hi outer_space,

    "Extract Content" can handle only one document, "Data to Documents" generates a collection of documents (one document for each example in your ExampleSet). You could use "Process Documents from Data" instead of the "Data to Documents" converter and put the "Extract Content" inside it.

    But you should take a look at the "Generate Extract" operator, this allows similar extraction on ExampleSets and should fit your needs.

    Greetings,
    Matthias

    PS. I guess the "Problems and Support" board within the RapidMiner forum would have been a better place to post this.
Sign In or Register to comment.