Package opennlp.tools.ml.model
Class DataIndexerFactory
java.lang.Object
opennlp.tools.ml.model.DataIndexerFactory
A factory that produces 
DataIndexer instances.- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic DataIndexergetDataIndexer(TrainingParameters parameters, Map<String, String> reportMap) Instantiates aDataIndexerconfigured viaTrainingParameters.
- 
Constructor Details- 
DataIndexerFactorypublic DataIndexerFactory()
 
- 
- 
Method Details- 
getDataIndexerpublic static DataIndexer getDataIndexer(TrainingParameters parameters, Map<String, String> reportMap) Instantiates aDataIndexerconfigured viaTrainingParameters.- Parameters:
- parameters- The- TrainingParametersused for configuration.
- reportMap- The- Mapused 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:
 
 
-