Package opennlp.tools.commons

# Interface Trainer

All Known Subinterfaces:
  `EventModelSequenceTrainer<T>`, `EventTrainer`, `SequenceTrainer`

All Known Implementing Classes:
  `AbstractEventModelSequenceTrainer`, `AbstractEventTrainer`, `AbstractTrainer`, `GISTrainer`, `NaiveBayesTrainer`, `PerceptronTrainer`, `QNTrainer`, `SimplePerceptronSequenceTrainer`

public interface Trainer
Represents a common base for training implementations.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `init(TrainingParameters trainParams, Map<String,String> reportMap)`
  Conducts the initialization of an `Trainer` via `TrainingParameters` and a `report map`.

- ## Method Details

  - ### init

    void init(TrainingParameters trainParams, Map<String,String> reportMap)
    Conducts the initialization of an `Trainer` via `TrainingParameters` and a `report map`.
    Parameters:
      `trainParams` - The `TrainingParameters` to use.
      `reportMap` - The `Map` instance used as report map.