Package opennlp.tools.ml
Interface SequenceTrainer
-
- All Known Implementing Classes:
AbstractSequenceTrainer
public interface SequenceTrainer
-
-
Field Summary
Fields Modifier and Type Field Description static String
SEQUENCE_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 trainParams, Map<String,String> reportMap)
SequenceClassificationModel<String>
train(SequenceStream events)
-
-
-
Field Detail
-
SEQUENCE_VALUE
static final String SEQUENCE_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 trainParams, Map<String,String> reportMap)
-
train
SequenceClassificationModel<String> train(SequenceStream events) throws IOException
- Throws:
IOException
-
-