You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Kai Schlamp <sc...@gmx.de> on 2010/01/28 13:35:58 UTC
Create a new parameter programmatically for aggregated analysis engine
Hello again.
I want to share a new parameter with all annotators of all analysis engines
inside an aggregated analysis engine. This should be done programmatically. The
problem is, that aggregated analysis engines can only overwrite existing
parameters. Is there any chance to bypass this?
I tried to directly add a ConfigurationParameter to
ConfigurationParameterDeclaration of the aggregated analysis engine, but that
doesn't seem to work (as no new parameters are allowed for the above reason).
Best regards,
Kai
Re: Create a new parameter programmatically for aggregated analysis engine
Posted by Kai Schlamp <sc...@gmx.de>.
I solved the problem by recursively going through all analysis engines. If a
primitive is found, the parameter declarations and settings are set. That works
fine.