Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
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