On 08.09.2016, at 19:46, Peter Klügl <peter.klu...@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 
engine.

Cheers,

-- Richard

Reply via email to