Package opennlp.tools.ml
Interface SequenceTrainer
-
- All Known Implementing Classes:
AbstractSequenceTrainer
public interface SequenceTrainer
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SEQUENCE_VALUE
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
init(java.util.Map<java.lang.String,java.lang.String> trainParams, java.util.Map<java.lang.String,java.lang.String> reportMap)
Deprecated.void
init(TrainingParameters trainParams, java.util.Map<java.lang.String,java.lang.String> reportMap)
SequenceClassificationModel<java.lang.String>
train(SequenceStream events)
-
-
-
Field Detail
-
SEQUENCE_VALUE
static final java.lang.String SEQUENCE_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
@Deprecated void init(java.util.Map<java.lang.String,java.lang.String> trainParams, java.util.Map<java.lang.String,java.lang.String> reportMap)
Deprecated.
-
init
void init(TrainingParameters trainParams, java.util.Map<java.lang.String,java.lang.String> reportMap)
-
train
SequenceClassificationModel<java.lang.String> train(SequenceStream events) throws java.io.IOException
- Throws:
java.io.IOException
-
-