Package opennlp.tools.ml.model
Class DataIndexerFactory
java.lang.Object
opennlp.tools.ml.model.DataIndexerFactory
A factory that produces
DataIndexer
instances.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataIndexer
getDataIndexer
(TrainingParameters parameters, Map<String, String> reportMap) Instantiates aDataIndexer
configured viaTrainingParameters
.
-
Constructor Details
-
DataIndexerFactory
public DataIndexerFactory()
-
-
Method Details
-
getDataIndexer
public static DataIndexer getDataIndexer(TrainingParameters parameters, Map<String, String> reportMap) Instantiates aDataIndexer
configured viaTrainingParameters
.- Parameters:
parameters
- TheTrainingParameters
used for configuration.reportMap
- TheMap
used for reporting.- Returns:
- A ready to use
DataIndexer
instance. - Throws:
ExtensionNotLoadedException
- Thrown if a class name was configured for the indexer, yet the extension could not be loaded.- See Also:
-