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