|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentReaderAndWriter
This interface is used for reading data and writing
output into and out of SequenceClassifier
s.
If you subclass this interface, all of the other
mechanisms necessary for getting your data into a
SequenceClassifier
will be taken care of
for you. Subclasses MUST have an empty constructor so
that they can be instantiated by reflection, and
there is a promise that the init method will
be called immediately after construction.
Method Summary | |
---|---|
void |
init(SeqClassifierFlags flags)
Will be called immediately after construction. |
void |
printAnswers(List<CoreLabel> doc,
PrintWriter out)
This method prints the output of the classifier to a PrintWriter . |
Methods inherited from interface edu.stanford.nlp.objectbank.IteratorFromReaderFactory |
---|
getIterator |
Method Detail |
---|
void init(SeqClassifierFlags flags)
void printAnswers(List<CoreLabel> doc, PrintWriter out)
PrintWriter
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |