[
https://issues.apache.org/jira/browse/OPENNLP-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla updated OPENNLP-1969:
-------------------------------------
Epic Link: OPENNLP-1966
> Resolve data indexers, sequence codecs, string interners, doccat feature
> generators and entity linkers through providers
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: OPENNLP-1969
> URL: https://issues.apache.org/jira/browse/OPENNLP-1969
> Project: OpenNLP
> Issue Type: Improvement
> Reporter: Richard Zowalla
> Priority: Major
> Labels: spi
>
> Remaining {{ExtensionLoader}} call sites that take a class name from training
> parameters or properties: {{DataIndexerFactory}}, {{TokenNameFinderFactory}}
> \(sequence codec\), {{StringInterners}}, {{DoccatFactory}} and the doccat
> trainer tools \(feature generators\), {{EntityLinkerFactory}},
> {{SentimentFactory}} \(tokenizer\).
> Sketch:
> \* One SPI sub\-interface per service interface, built\-in implementations
> registered by name, class name kept as fallback.
> \* {{StringInterners}} holds its interner in a static field. Rework it so a
> provider from a web application class loader is not kept by a shared OpenNLP
> jar.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)