opennlp.tools.cmdline.chunker
Class ChunkEvaluationErrorListener
java.lang.Object
opennlp.tools.cmdline.EvaluationErrorPrinter<ChunkSample>
opennlp.tools.cmdline.chunker.ChunkEvaluationErrorListener
- All Implemented Interfaces:
- ChunkerEvaluationMonitor, EvaluationMonitor<ChunkSample>
public class ChunkEvaluationErrorListener
- extends EvaluationErrorPrinter<ChunkSample>
- implements ChunkerEvaluationMonitor
A default implementation of EvaluationMonitor
that prints
to an output stream.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunkEvaluationErrorListener
public ChunkEvaluationErrorListener()
- Creates a listener that will print to System.err
ChunkEvaluationErrorListener
public ChunkEvaluationErrorListener(OutputStream outputStream)
- Creates a listener that will print to a given
OutputStream
missclassified
public void missclassified(ChunkSample reference,
ChunkSample prediction)
- Specified by:
missclassified
in interface EvaluationMonitor<ChunkSample>
- Specified by:
missclassified
in class EvaluationErrorPrinter<ChunkSample>
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.