Options

"Create a collection of documents from data"

tobybtobyb Member Posts: 11 Contributor II
edited June 2019 in Help
I have tried using "Data to Documents" to convert a file into a collection of documents so I can do some text mining.  The operator successfully creates a collection of documents if used by itself.  When I connect other operators that are supposed to accept documents such as "Tokenize" I get an error that states, "Expected Document but recieved IOObjectCollection."  Is this a bug or am I doing something wrong?

Thanks,
Toby

Answers

  • Options
    Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,995 RM Engineering
    Hi,

    this is correct, the operator will return a collection of Documents. You may for example use the Loop Collection operator to iterate over each document.

    Regards,
    Marco
Sign In or Register to comment.