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 DataIndexergetDataIndexer(TrainingParameters parameters, Map<String, String> reportMap) Instantiates aDataIndexerconfigured viaTrainingParameters.
-
Konstruktordetails
-
DataIndexerFactory
public DataIndexerFactory()
-
-
Methodendetails
-
getDataIndexer
public static DataIndexer getDataIndexer(TrainingParameters parameters, Map<String, String> reportMap) Instantiates aDataIndexerconfigured viaTrainingParameters.- Parameter:
parameters- TheTrainingParametersused for configuration.reportMap- TheMapused for reporting.- Gibt zurück:
- A ready to use
DataIndexerinstance. - Löst aus:
ExtensionNotLoadedException- Thrown if a class name was configured for the indexer, yet the extension could not be loaded.- Siehe auch:
-