Uses of Interface opennlp.tools.ml.EventTrainer (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

## Uses of Interface
opennlp.tools.ml.EventTrainer

- Packages that use EventTrainer
  Package | Description
  --- | ---
  opennlp.tools.ml |
  opennlp.tools.ml.maxent | Provides main functionality of the maxent package including data structures and algorithms for parameter estimation.
  opennlp.tools.ml.maxent.quasinewton |
  opennlp.tools.ml.naivebayes |
  opennlp.tools.ml.perceptron |

- - ### Uses of EventTrainer in opennlp.tools.ml

    Classes in opennlp.tools.ml that implement EventTrainer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractEventTrainer`

    Methods in opennlp.tools.ml that return EventTrainer
    Modifier and Type | Method and Description
    --- | ---
    `static EventTrainer` | TrainerFactory.`getEventTrainer(TrainingParameters trainParams, Map<String,String> reportMap)`

  - ### Uses of EventTrainer in opennlp.tools.ml.maxent

    Classes in opennlp.tools.ml.maxent that implement EventTrainer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `GISTrainer` An implementation of Generalized Iterative Scaling.

  - ### Uses of EventTrainer in opennlp.tools.ml.maxent.quasinewton

    Classes in opennlp.tools.ml.maxent.quasinewton that implement EventTrainer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `QNTrainer` Maxent model trainer using L-BFGS algorithm.

  - ### Uses of EventTrainer in opennlp.tools.ml.naivebayes

    Classes in opennlp.tools.ml.naivebayes that implement EventTrainer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NaiveBayesTrainer` Trains models using the combination of EM algorithm and Naive Bayes classifier which is described in: Text Classification from Labeled and Unlabeled Documents using EM Nigam, McCallum, et al paper of 2000

  - ### Uses of EventTrainer in opennlp.tools.ml.perceptron

    Classes in opennlp.tools.ml.perceptron that implement EventTrainer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PerceptronTrainer` Trains models using the perceptron algorithm.

Copyright © 2026 The Apache Software Foundation. All rights reserved.