uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Eckart de Castilho <...@apache.org>
Subject Re: UIMA RUTA script with stringfunctions doesnt work when executing from UIMA-Fit
Date Fri, 09 Sep 2016 15:58:02 GMT
On 08.09.2016, at 19:46, Peter Kl├╝gl <peter.kluegl@averbis.com> wrote:
> Sorry, that was the wrong extension... it should read:
> = AnalysisEngineFactory.createEngine(RutaEngine.class, RutaEngine.PARAM_ADDITIONAL_EXTENSIONS,
new String[]{BooleanOperationsExtension.class.getName()});
> btw its better to create a description first, and then the analysis engine.

Unless you want to reuse the engine, it's actually a good idea not to instantiate the engine
at all, but to leave that to e.g. SimplePipeline.runPipeline(), to the CPE or some other pre-build
execution code which also ensures that all the lifecycle events are properly invoked on the


-- Richard
View raw message