I would like to fill a table with files content

Hello,
I have a list of text files and I would like to extract their texts in a knime table.
I would like them to be organised according to the file title in different columns.
For example, the files that contain the word blue should be in the first column and the files that contain the word red should go the column two…and so on.
I think Java snippet simple can do the job but I am not sure how to do it or maybe there is a dedicated node of an easier solution.
Thanks,

List filesfollowed by the Load text-based files node from Vernalis will get the files into cells. Rule engine could be used with e.g. like '% red %' => "red" to clarify and then I think a pivot will sort out your columns.

Steve

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.