google-code-export / uimafit

Automatically exported from code.google.com/p/uimafit
2 stars 1 forks source link

No way to configure sofa mappings for collection readers #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using the new AggregateBuilder we can easily configure Sofa mappings for 
analysis engines. The 
CPE however also does allow to configure them for collection readers - 
something that uimaFIT 
currently does - to my knowledge - not support.

Original issue reported on code.google.com by richard.eckart on 24 Apr 2010 at 12:46

GoogleCodeExporter commented 9 years ago
These issues are candidates for version 1.3.0.

Original comment by richard.eckart on 7 May 2011 at 5:31

GoogleCodeExporter commented 9 years ago

Original comment by richard.eckart on 4 Jan 2012 at 10:51

GoogleCodeExporter commented 9 years ago
It looks like UIMA core itself has no support for sofa mapping on collection 
readers at all. There is no way to configure sofa mappings in a 
CollectionReaderDescription. 

The CPE adds support to declare sofa mappings on readers and for setting up 
mapped views in the class ArtifactProducer. There, the following logic is 
implemented:

- determine if a collection reader is sofa-aware by check if it declares output 
sofas in its capabilities
- is sofa-aware: pass the base-CAS to the reader and expect that it will create 
any views it needs itself
- not sofa-aware: create the view that is mapped to CAS.NAME_DEFAULT_SOFA and 
pass that to the reader

The place were sofa mapping for readers can be added in uimaFIT, though, is 
SimplePipeline.

Original comment by richard.eckart on 9 Jun 2012 at 12:34

GoogleCodeExporter commented 9 years ago
It would be possible wrap a collection reader camouflaged as an cas multiplier 
in an aggregate analysis engine and thus use sofa mappings on it, but that 
currently causes a CASRuntimeException in UIMA. See 
https://issues.apache.org/jira/browse/UIMA-2419.

Original comment by richard.eckart on 9 Jun 2012 at 2:46

GoogleCodeExporter commented 9 years ago

Original comment by richard.eckart on 5 Jul 2012 at 4:02

GoogleCodeExporter commented 9 years ago

Original comment by richard.eckart on 7 Jan 2013 at 4:51

GoogleCodeExporter commented 9 years ago

Original comment by richard.eckart on 25 Aug 2013 at 8:17

GoogleCodeExporter commented 9 years ago

Original comment by richard.eckart on 25 Aug 2013 at 8:18