Re: Multi-threaded UIMA ParallelStep

2015-05-20 Thread Eddie Epstein
Parallel-step currently only works with remote delegates. The other approach, using CasMultipliers, allows an arbitrarily amount of parallel processing in-process. A CM would create a separate CAS for each delegate intended to run in parallel, and use a feature structure to hold a unique

Re: Multi-threaded UIMA ParallelStep

2015-05-20 Thread Petr Baudis
Hi! On Wed, May 20, 2015 at 07:56:33AM -0400, Eddie Epstein wrote: Parallel-step currently only works with remote delegates. The other approach, using CasMultipliers, allows an arbitrarily amount of parallel processing in-process. A CM would create a separate CAS for each delegate intended

Re: Multi-threaded UIMA ParallelStep

2015-05-20 Thread Eddie Epstein
Right about the flow controller. That's where UIMA-AS comes in. Assuming that the CM has a casPool with enough CASes, and the aggregate is deployed asynchronously, then each delegate will be running in its own thread and can be processing CASes in parallel. The ASB is a single-theaded controller

Re: Error using RUTA from Java

2015-05-20 Thread Peter Klügl
Hi, I assume that you use UIMA Ruta 2.2.1? Are there any prior exception? I had a similar problem, which should be fixed now. Could be related to the bugs reported in UIMA-4045 or UIMA-4046. Normally, I would assume that there is a syntax error in the additional script causing the module to

Error using RUTA from Java

2015-05-20 Thread William Colen
Hello, We have a Main RUTA script that imports a few children scripts, as follows: PACKAGE cogroo.ruta; TYPESYSTEM BaseTypeSystem; IMPORT opennlp.uima.Token FROM TypeSystem AS cgToken; IMPORT opennlp.uima.Sentence FROM TypeSystem AS cgSentence; SCRIPT Crase; SCRIPT Base; Document{-

Re: Error using RUTA from Java

2015-05-20 Thread William Colen
Thank you, Peter. I was using 2.2.1 and upgraded to 2.3.0 RC2 as you advised, but the error persists. Now I will post the complete stacktrace: Mai 20, 2015 6:56:23 PM org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl callAnalysisComponentProcess(417) GRAVE: Exception occurred