Eddie Epstein wrote:
[EMAIL PROTECTED] 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.
The list of suffixes would be dynamically created based on scanning all
configuration parameters and returning a list of unique suffixes found.
Eddie
So if there is an API to return all suffixes, fine with me.
-- Michael