Class DataIndexerFactory
java.lang.Object
opennlp.tools.ml.model.DataIndexerFactory
A factory that produces
DataIndexer instances.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <P extends opennlp.tools.util.Parameters>
opennlp.tools.ml.model.DataIndexer<P> getDataIndexer(P parameters, Map<String, String> reportMap) Instantiates aDataIndexerconfigured viaParameters.
-
Constructor Details
-
DataIndexerFactory
public DataIndexerFactory()
-
-
Method Details
-
getDataIndexer
public static <P extends opennlp.tools.util.Parameters> opennlp.tools.ml.model.DataIndexer<P> getDataIndexer(P parameters, Map<String, String> reportMap) Instantiates aDataIndexerconfigured viaParameters.- Parameters:
parameters- TheParametersused for configuration.reportMap- TheMapused for reporting.- Returns:
- A ready to use
DataIndexerinstance. - Throws:
opennlp.tools.util.ext.ExtensionNotLoadedException- Thrown if a class name was configured for the indexer, yet the extension could not be loaded.
-