Package opennlp.tools.ml.model
Klasse DataIndexerFactory
java.lang.Object
opennlp.tools.ml.model.DataIndexerFactory
A factory that produces
DataIndexer
instances.- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic DataIndexer
getDataIndexer
(TrainingParameters parameters, Map<String, String> reportMap) Instantiates aDataIndexer
configured viaTrainingParameters
.
-
Konstruktordetails
-
DataIndexerFactory
public DataIndexerFactory()
-
-
Methodendetails
-
getDataIndexer
public static DataIndexer getDataIndexer(TrainingParameters parameters, Map<String, String> reportMap) Instantiates aDataIndexer
configured viaTrainingParameters
.- Parameter:
parameters
- TheTrainingParameters
used for configuration.reportMap
- TheMap
used for reporting.- Gibt zurück:
- A ready to use
DataIndexer
instance. - Löst aus:
ExtensionNotLoadedException
- Thrown if a class name was configured for the indexer, yet the extension could not be loaded.- Siehe auch:
-