uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Baessler <...@michael-baessler.de>
Subject Re: Are configuration parameter groups depreciated in version 2?
Date Fri, 01 Dec 2006 15:44:34 GMT
eddie_epstein@aewatercolors.com wrote:
> The current parameter group design requires replicating all configuration
> parameters for each language. This is neither elegant nor easy to
> maintain. A better design would use common configuration paramters with
> the provision to override specific parameters for a given configuration.
> All parameters could be in a flat space, but a parameter could be
> addressed using a variable suffix. For example:
>    windowSize = (Integer)getConfigParameterValue("WindowSize", suffix);
> where suffix could be a string variable extraced from the CAS. If
> "WindowSize" + suffix did not exist as a parameter, the framework would
> attempt to use just "WindowSize" as a parameter key
But how do I know in my annotator code what groups/suffixes are 
available? Currently I can ask for the groups and
get back an array of available groups.

-- Michael

View raw message