Package opennlp.tools.ml

## Interface EventModelSequenceTrainer

- All Known Implementing Classes:
    `AbstractEventModelSequenceTrainer`, `SimplePerceptronSequenceTrainer`

      public interface EventModelSequenceTrainer

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static String` | `SEQUENCE_VALUE` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `init​(Map<String,​String> trainParams, Map<String,​String> reportMap)` | Deprecated.
    `void` | `init​(TrainingParameters trainParams, Map<String,​String> reportMap)` |
    `MaxentModel` | `train​(SequenceStream events)` |

- - ### Field Detail

    - #### SEQUENCE_VALUE

          static final String SEQUENCE_VALUE

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### init

          @Deprecated
          void init​(Map<String,​String> trainParams,
                    Map<String,​String> reportMap)

      Deprecated.

    - #### init

          void init​(TrainingParameters trainParams,
                    Map<String,​String> reportMap)

    - #### train

          MaxentModel train​(SequenceStream events)
                     throws IOException

      Throws:
        `IOException`