[
https://issues.apache.org/jira/browse/OPENNLP-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla updated OPENNLP-1970:
-------------------------------------
Epic Link: OPENNLP-1966
> Resolve tool factories and artifact serializers referenced from model
> manifests through providers
> -------------------------------------------------------------------------------------------------
>
> Key: OPENNLP-1970
> URL: https://issues.apache.org/jira/browse/OPENNLP-1970
> Project: OpenNLP
> Issue Type: Improvement
> Reporter: Richard Zowalla
> Priority: Major
> Labels: spi
>
> {{BaseModel}}, {{BaseToolFactory}} and the component factories
> \({{TokenizerFactory}}, {{SentenceDetectorFactory}}, {{POSTaggerFactory}},
> {{ChunkerFactory}}, {{LemmatizerFactory}}, {{DoccatFactory}},
> {{LanguageDetectorFactory}}, {{TokenNameFinderFactory}}\) instantiate the
> factory and artifact serializer classes named in a model manifest.
> Sketch:
> \* Factory and serializer providers, registered by name.
> \* Reading a manifest accepts a provider name or a class name.
> \* Writing keeps class names, so models trained with this version still load
> in older versions. Switching to names is a separate decision.
> \* Parser head rules serializer in {{ParserTrainerTool}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)