You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2026/09/17 19:05:00 UTC
[jira] [Updated] (OPENNLP-1968) Resolve feature generators through providers and reference them by name in XML descriptors
[ 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)