Richard Zowalla created OPENNLP-1968:
----------------------------------------
Summary: Resolve feature generators through providers and
reference them by name in XML descriptors
Key: OPENNLP-1968
URL: https://issues.apache.org/jira/browse/OPENNLP-1968
Project: OpenNLP
Issue Type: Improvement
Reporter: Richard Zowalla
{{GeneratorFactory}} loads each {{}} through {{ExtensionLoader}}.
Sketch:
\* {{FeatureGeneratorProvider}}, with {{create\(ProviderSpec, List\)}} for
nesting generators such as {{cached}} and {{window}}; element attributes become
spec options.
\* Built\-in generators are registered by name, for example {{}}.
\* {{GeneratorFactory}} reads {{name}} first and keeps {{class}} as fallback,
so existing descriptors and models load unchanged.
\* Manual: descriptor syntax with names.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)