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.
Process Documents from Files - file pattern
CharlieFirpo
Member Posts: 48 Contributor II
Dear all!
I have a folder that contains several different files (different in names and in extensions as well). I want only use the files that contains <text> string in filename. How can I set it in the file pattern parameter using Process Documents from Files operator? If I use *text* , RM does not read any files from the appropriate folder.
Let say I have these filenames: asd_text-fgh.txt, qwe.textrty.xls, ... I think *text* pattern should return these two filenames. Or not?
Thanks for reply!!!
I have a folder that contains several different files (different in names and in extensions as well). I want only use the files that contains <text> string in filename. How can I set it in the file pattern parameter using Process Documents from Files operator? If I use *text* , RM does not read any files from the appropriate folder.
Let say I have these filenames: asd_text-fgh.txt, qwe.textrty.xls, ... I think *text* pattern should return these two filenames. Or not?
Thanks for reply!!!
Tagged:
0
Answers
Here is a sample process for your reference
Your process works for me (returns the expected filenames/paths), but when using the same regular expression at "Process Documents from Files" operator, it does not work
If I use nothing in "file pattern" then my process work properly. But I want it not read all files but only that contains specific string...