Package opennlp.tools.ml
Interface EventModelSequenceTrainer
-
- All Known Implementing Classes:
AbstractEventModelSequenceTrainer
,SimplePerceptronSequenceTrainer
public interface EventModelSequenceTrainer
-
-
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)
MaxentModel
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
MaxentModel train(SequenceStream events) throws java.io.IOException
- Throws:
java.io.IOException
-
-