I assume you are using CPEs. Change your final annotator to inherit from 
uimaFIT's JCasConsumer_ImplBase or CasConsumer_ImplBase or add an 
@OperationalProperties annotation to your annotator:

@OperationalProperties(multipleDeploymentAllowed = false)

-- Richard

Am 14.05.2013 um 14:50 schrieb Andreas Niekler 
<[email protected]>:

> Hello,
> 
> i have a Annotator that i want to run in a Multi Thread Task with
> uimaFit. But i want to run the collectionProcessComplete() Method only
> once when all instances are done with the collection. In the moment i
> aggregate some data within the Annotator and the result is then written
> to the disk n times (Thread Count). How can i run the process in
> MultiThread Mode Method to Aggregate one member variable and than
> process the aggregated member within the collectionProcessComplete() Method?
> 
> Thank you
> 
> -- 
> Andreas Niekler, Dipl. Ing. (FH)
> NLP Group | Department of Computer Science
> University of Leipzig
> Johannisgasse 26 | 04103 Leipzig
> 
> mail: [email protected]

Reply via email to