public class ObjectStreamUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static opennlp.tools.util.ObjectStream<opennlp.tools.namefind.NameSample> |
getObjectStream(SubjectOfTrainingOrEvaluation subjectOfTraining)
Gets the
ObjectStream for training. |
public static opennlp.tools.util.ObjectStream<opennlp.tools.namefind.NameSample> getObjectStream(SubjectOfTrainingOrEvaluation subjectOfTraining) throws IOException
ObjectStream for training.subjectOfTraining - The SubjectOfTrainingOrEvaluation.ObjectStream derived from the given SubjectOfTraining.IOException - Thrown if any of the input or annotation files cannot be read.Copyright © 2018. All rights reserved.