Package opennlp.tools.ml.model
Class DataIndexerFactory
- java.lang.Object
-
- opennlp.tools.ml.model.DataIndexerFactory
-
public class DataIndexerFactory extends Object
A factory that producesDataIndexerinstances.- See Also:
DataIndexer
-
-
Constructor Summary
Constructors Constructor Description DataIndexerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataIndexergetDataIndexer(TrainingParameters parameters, Map<String,String> reportMap)Instantiates aDataIndexerconfigured viaTrainingParameters.
-
-
-
Method Detail
-
getDataIndexer
public static DataIndexer getDataIndexer(TrainingParameters parameters, Map<String,String> reportMap)
Instantiates aDataIndexerconfigured viaTrainingParameters.- Parameters:
parameters- TheTrainingParametersused for configuration.reportMap- TheMapused for reporting.- Returns:
- A ready to use
DataIndexerinstance. - Throws:
ExtensionNotLoadedException- Thrown if a class name was configured for the indexer, yet the extension could not be loaded.- See Also:
ExtensionLoader
-
-