[ 
https://issues.apache.org/jira/browse/OPENNLP-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Zowalla updated OPENNLP-1968:
-------------------------------------
    Epic Link: OPENNLP-1966

> 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
>            Priority: Major
>              Labels: spi
>
> {{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)

Reply via email to