aminorex / dkpro-core-asl

Automatically exported from code.google.com/p/dkpro-core-asl
0 stars 0 forks source link

Combine readers #502

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In some situations, it would be nice to combine input from several readers in a 
single pipeline.

We could have a reader that take a list of underlying readers and then returns 
whatever the underlying readers return.

Original issue reported on code.google.com by torsten....@gmail.com on 15 Oct 2014 at 1:46

GoogleCodeExporter commented 9 years ago
What do you mean by "combining"? Read all documents from one reader and then 
all documents from the next reader? Or that reader A reads the text and reader 
B reads some stand-off annotations, etc.?

Original comment by richard.eckart on 15 Oct 2014 at 1:47

GoogleCodeExporter commented 9 years ago
The first one

Original comment by torsten....@gmail.com on 15 Oct 2014 at 1:50

GoogleCodeExporter commented 9 years ago
Hm. I wonder if that can be simulated simply by cramming two readers into an 
aggregate (doable directly via the UIMA API, but currently not supported in 
uimaFIT). Otherwise it would be a bit inconvenient to pass the readers as 
arguments to the aggregating reader. Another alternative might be to support 
that directly on the uimaFIT API level.

Original comment by richard.eckart on 15 Oct 2014 at 1:59

GoogleCodeExporter commented 9 years ago
As we needed that functionality, we already have an implementation that takes 
several readers as arguments. A bit inconvenient but works.

I am not so sure about working with the UIMA API directly ... :/

Original comment by torsten....@gmail.com on 15 Oct 2014 at 2:07

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2922.

Original comment by torsten....@gmail.com on 15 Oct 2014 at 8:51