DataIndexerFactory (Apache OpenNLP :: Core :: ML :: Commons 3.0.0-M4 API)
Description: declaration: package: opennlp.tools.ml.model, class: DataIndexerFactory

Package opennlp.tools.ml.model

# Class DataIndexerFactory

java.lang.Object
opennlp.tools.ml.model.DataIndexerFactory

public class DataIndexerFactory extends Object
A factory that produces `DataIndexer` instances.

See Also:
  - `DataIndexer`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DataIndexerFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <P extends opennlp.tools.util.Parameters>
  opennlp.tools.ml.model.DataIndexer<P>`
  `getDataIndexer(P parameters, Map<String,String> reportMap)`
  Instantiates a `DataIndexer` configured via `Parameters`.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DataIndexerFactory

    public DataIndexerFactory()

- ## Method Details

  - ### getDataIndexer

    public static <P extends opennlp.tools.util.Parameters> opennlp.tools.ml.model.DataIndexer<P> getDataIndexer(P parameters, Map<String,String> reportMap)
    Instantiates a `DataIndexer` configured via `Parameters`.
    Parameters:
      `parameters` - The `Parameters` used for configuration.
      `reportMap` - The `Map` used for reporting.
    Returns:
      A ready to use `DataIndexer` instance.
    Throws:
      `opennlp.tools.util.ext.ExtensionNotLoadedException` - Thrown if a class name was configured for the indexer, yet the extension could not be loaded.