Hello,

Is there a timeout function to monitor AE-processing progress included in
UIMA somewhere?

I build some AnalysisEngines like this
UIMAFramework.produceAnalysisEngine()... Then I call
AnalysisEngine.process(cas).

Now, I would like this call to not take longer than some amount of time. If
it passes a threshold, just kill it.

The only idea I have is to dispatch the process() in a separate Thread and
periodically check if AnalysisEngineManagement.getNumberOfCASesProcessed
has increased. Not sure if threading just like this introduces some issues?

Opinions on this problem are very much appreciated.

Kind regards,
Rene

Reply via email to