Package opennlp.tools.ml
Interface EventTrainer
-
- All Known Implementing Classes:
AbstractEventTrainer
,GISTrainer
,PerceptronTrainer
,QNTrainer
public interface EventTrainer
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EVENT_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 trainingParams, java.util.Map<java.lang.String,java.lang.String> reportMap)
MaxentModel
train(DataIndexer indexer)
MaxentModel
train(ObjectStream<Event> events)
-
-
-
Field Detail
-
EVENT_VALUE
static final java.lang.String EVENT_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 trainingParams, java.util.Map<java.lang.String,java.lang.String> reportMap)
-
train
MaxentModel train(ObjectStream<Event> events) throws java.io.IOException
- Throws:
java.io.IOException
-
train
MaxentModel train(DataIndexer indexer) throws java.io.IOException
- Throws:
java.io.IOException
-
-