Quantcast
Channel: KNIME RSS
Viewing all articles
Browse latest Browse all 4157

Add column with filename to final table

$
0
0

Hi,

I've following workspace:

"PDF Parser" --> "Document Data Extractor" --> "Java Snippet (simple)" [I extract the filename of the pdf-document" --> "Column Filter" --> Some Preprocessing Nodes --> "Dict Replacer" --> "Keygraph keyword extractor" --> "CSV Writer"

My problem is that the Preprocessing Nodes "delete" the document-name (also some of them only allow one column as input). The result of the "Keygraph keyword extractor" node is follwing table:

RowIDKeywordScoreDocument
0Keyword1100""
1Keyword280""
2Keyword360""

Is there any possibility to add a column to the table which contains the extracted file-name? (I extracted this file-name before in the Java Snippet node) The number of keywords may vary, so an adjustable solution would be cool.

Many thanks in advance!

 

Best

Simon


Viewing all articles
Browse latest Browse all 4157

Trending Articles