uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Ferschke <oliver.fersc...@mmodal.com>
Subject RE: Merge two Collection Reader
Date Mon, 20 Feb 2017 15:32:00 GMT
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:hemati@em.uni-frankfurt.de] 
Sent: Monday, February 20, 2017 10:13 AM
To: user@uima.apache.org
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

Mime
View raw message