"Create a collection of documents from data"

tobyb
tobyb New Altair Community Member
edited November 2024 in Community Q&A
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

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    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

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.