org.cogroo.cmdline.chunker2
Class ChunkEvaluationErrorListener

java.lang.Object
  extended by opennlp.tools.cmdline.EvaluationErrorPrinter<opennlp.tools.chunker.ChunkSample>
      extended by 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.


Constructor Summary
ChunkEvaluationErrorListener()
          Creates a listener that will print to System.err
ChunkEvaluationErrorListener(OutputStream outputStream)
          Creates a listener that will print to a given OutputStream
 
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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface opennlp.tools.util.eval.EvaluationMonitor
correctlyClassified
 

Constructor Detail

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

Method Detail

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.