org.cogroo.cmdline.chunker2
Class ChunkEvaluationErrorListener
java.lang.Object
opennlp.tools.cmdline.EvaluationErrorPrinter<opennlp.tools.chunker.ChunkSample>
org.cogroo.cmdline.chunker2.ChunkEvaluationErrorListener
- All Implemented Interfaces:
- opennlp.tools.util.eval.EvaluationMonitor<opennlp.tools.chunker.ChunkSample>, ChunkerEvaluationMonitor
public class ChunkEvaluationErrorListener
- extends opennlp.tools.cmdline.EvaluationErrorPrinter<opennlp.tools.chunker.ChunkSample>
- implements ChunkerEvaluationMonitor
A default implementation of EvaluationMonitor
that prints
to an output stream.
Method Summary |
void |
missclassified(opennlp.tools.chunker.ChunkSample reference,
opennlp.tools.chunker.ChunkSample prediction)
|
Methods inherited from class opennlp.tools.cmdline.EvaluationErrorPrinter |
correctlyClassified |
Methods inherited from interface opennlp.tools.util.eval.EvaluationMonitor |
correctlyClassified |
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(opennlp.tools.chunker.ChunkSample reference,
opennlp.tools.chunker.ChunkSample prediction)
- Specified by:
missclassified
in interface opennlp.tools.util.eval.EvaluationMonitor<opennlp.tools.chunker.ChunkSample>
- Specified by:
missclassified
in class opennlp.tools.cmdline.EvaluationErrorPrinter<opennlp.tools.chunker.ChunkSample>
Copyright © 2012-2013 CoGrOO. All Rights Reserved.