Filename in behind extracted sentence

Hi,

I have a problem,

i have extracted sentences from a document because i need to sort out sentences i they contain specific words. But i want that to do on a big scale of files... (100). If i want to know wich sentence belongs to which file, i need to put the filename behind the sentence. 

so like this

this is a sentence doc2
this is a sentence doc3
this is a sentence doc2
this is a sentence  doc 4
this is a sentence  doc 2

If there is anything unclear, Please contact me!

Thank you for your help in advance

Joost Velthuis

If you are using the Flat File Parser node (or other Parser node provided by the Textprocessing extension) the file names will be stored as meta information in the document. This means that you can extract the file name later on using the Document Data Extractor.

I hope this helps.

Cheers, Kilian