Hi Wahed, I think it's by design always a single reader. You could write a meta-reader that determines the file type and then calls the appropriate process method. Or you could simply run a tei-to-xmi conversion pipeline first and then just process xmi in your actual pipeline. Kind of depends on how often you'll have to run this.
-Oliver -----Original Message----- From: Wahed Hemati [mailto:[email protected]] Sent: Monday, February 20, 2017 10:13 AM To: [email protected] Subject: Merge two Collection Reader Hi, is it possible to combine two collectionreader in one Pipeline. (e.g. SimplePipeline.runPipeline(xmireader, teireader, builder.createAggregateDescription()); ) I want to calculate TF-IDF values from two different sources as one Collection. Thanks in advance. Beste - Wahed
