uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zesch, Torsten" <torsten.ze...@uni-due.de>
Subject Re: Merge two Collection Reader
Date Mon, 20 Feb 2017 16:43:49 GMT

in DKPro Core we have a CombinationReader that should do what you want:


On 20/02/17 16:32, "Oliver Ferschke" <oliver.ferschke@mmodal.com> wrote:

    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.
    -----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
    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.
    - Wahed

View raw message