public class ChunkEvaluationErrorListener extends opennlp.tools.cmdline.EvaluationErrorPrinter<ChunkSample> implements ChunkerEvaluationMonitor
EvaluationMonitor
that prints
to an output stream.Constructor and Description |
---|
ChunkEvaluationErrorListener()
Creates a listener that will print to System.err
|
ChunkEvaluationErrorListener(OutputStream outputStream)
Creates a listener that will print to a given
OutputStream |
Modifier and Type | Method and Description |
---|---|
void |
missclassified(ChunkSample reference,
ChunkSample prediction) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
correctlyClassified
public ChunkEvaluationErrorListener()
public ChunkEvaluationErrorListener(OutputStream outputStream)
OutputStream
public void missclassified(ChunkSample reference, ChunkSample prediction)
missclassified
in interface EvaluationMonitor<ChunkSample>
missclassified
in class opennlp.tools.cmdline.EvaluationErrorPrinter<ChunkSample>
Copyright © 2021 The Apache Software Foundation. All rights reserved.