Hi Richard, thanks a lot, we did it exactly as shown on the uimafit example pages.
Cheers, Alex -- Alexander G. Klenner Fraunhofer-Institute for Algorithms and Scientific Computing (SCAI) Schloss Birlinghoven, D-53754 Sankt Augustin Tel.: +49 - 2241 - 14 - 2736 E-mail: [email protected] Internet: http://www.scai.fraunhofer.de ----- Ursprüngliche Mail ----- Von: "Richard Eckart de Castilho" <[email protected]> An: "<[email protected]>" <[email protected]> Gesendet: Donnerstag, 26. Januar 2012 11:17:15 Betreff: Re: Having mutliple instances of an AE writing in the same output file - thread safe Hi Alex, you could model your output as a shared external resource and inject it into your AEs. This page about using external resources in uimaFIT might be helpful for you: http://code.google.com/p/uimafit/wiki/uimaFitResources http://code.google.com/p/uimafit/wiki/uimaFitResources#Resources_extending_Resource_ImplBase I'd recommend your data sink resource should extend Resource_ImplBase, not implement SharedResourceObject. -- Richard Am 26.01.2012 um 10:26 schrieb Alexander Klenner: > Hi there, > > is there a tutorial for the problem mentioned above? We have multiple > instances of an AE that produce output that has to be collected in one final > output file (all instances are ought to share this file via e.g UIMAContext), > the order of the writing into this file is not important, so if CAS-A is > written first and CAS-B second or vice versa doesn't matter. > > Thanks a lot for any hints, > > Alex > > > > > -- > Alexander G. Klenner > Fraunhofer-Institute for Algorithms and Scientific Computing (SCAI) > Schloss Birlinghoven, D-53754 Sankt Augustin > Tel.: +49 - 2241 - 14 - 2736 > E-mail: [email protected] > Internet: http://www.scai.fraunhofer.de -- ------------------------------------------------------------------- Richard Eckart de Castilho Technical Lead Ubiquitous Knowledge Processing Lab (UKP-TUD) FB 20 Computer Science Department Technische Universität Darmstadt Hochschulstr. 10, D-64289 Darmstadt, Germany phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117 [email protected] www.ukp.tu-darmstadt.de Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de -------------------------------------------------------------------
