Richard Zowalla created OPENNLP-1969:
----------------------------------------
Summary: 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
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)