I'm pretty sure that fixing configuration parameter overrides for C++
annotators running via the JNI is not easy. The interface for this
information is actually the component descriptor itself. Methods would
need to be added to AnalysisEngineDescription to set
configurationParameters and configurationParametersSetttings, and
methods to get this information from the context object that has the
overrides applied.

Also, I'm not a big fan of the JNI interface to C++ components, and
much prefer the UIMA AS service interface which allows the C++
annotator to run as a separate, native process. Note that there are no
configuration parameter overrides for services either.

If the desired configuration parameter is a runtime parameter rather
than a resource, consider putting the parameter value in the CAS.

Eddie

On Wed, Jan 28, 2009 at 10:14 AM, Burn Lewis <[email protected]> wrote:
> Matthias:
>
> Sorry to say overrides aren't supported for C++ annotators (and hence nor
> for Perl, Python & Tcl), and we forgot to document this limitation.  I have
> created a Jira issue and hopefully we can fix the code rather than the
> documentation .... it's a useful feature!
>
> Burn.
>

Reply via email to