Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
extracting a folder of .txt files
muuh
Hey,
I have a folder with 2000 .txt files. How can i tell the programm to read the entire folder, so that i do not need to open each file seperatly?
Find more posts tagged with
AI Studio
Accepted answers
All comments
IngoRM
Hi,
did you already found the operator "Loop Files"?
If the files are actually text data which should be transformed with the Text Extension, there is also an operator called "Process Documents from Files".
Cheers,
Ingo
muuh
Sry, I don't get it.
I think i found the Loop operation, but there is no outgoing Symbol at it.
My actual work is to count how often words in those 2000 .txt files reappear.
Can you give me further help?
IngoRM
Hi again,
well, in case of text files I would go for the "Process Documents from Files" operator instead of the "Loop Files" as I have said before.
1. Install the Text Extension.
2. Create a process using the "Process Documents from Files" operator and configure it.
3. Add a simple tokenization inside of the operator (double click it to go inside).
4. Change vectorization mode from TFIDF to "Term Occurences".
5. Run it.
There are dozens of videos about this and other basic text mining tasks on our web site, on RapidMiner Resources, on YouTube, on...
Cheers,
Ingo
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups