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 StringEVENT_VALUE
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidinit(Map<String,String> trainParams, Map<String,String> reportMap)Deprecated.voidinit(TrainingParameters trainingParams, Map<String,String> reportMap)MaxentModeltrain(DataIndexer indexer)MaxentModeltrain(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
-
-