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
Using Read Documents from Files for Hundreds of Single-Document Classes
Hi,
I have about a thousand documents in a single folder and would like to use the "Read Documents from Files" operator to process them. I realize I need to have a folder for each document if I would like to indicate each document as a class. I am wondering if there are other operators or a smart way of achieving the same thing as it seems impractical to manually create a folder for each document and also manually indicate each folder as a class in "text directories" parameter of the "Read Documents from Files" operator.
Thank you.
I have about a thousand documents in a single folder and would like to use the "Read Documents from Files" operator to process them. I realize I need to have a folder for each document if I would like to indicate each document as a class. I am wondering if there are other operators or a smart way of achieving the same thing as it seems impractical to manually create a folder for each document and also manually indicate each folder as a class in "text directories" parameter of the "Read Documents from Files" operator.
Thank you.
Tagged:
0
Answers
The file name is provided as meta data so you can parse this using the generate attributes operator.
Regards
Andrew