Class ChunkEvaluationErrorListener

Namespace
NOpenNLP.Tools.Cmdline.Chunker
Assembly
nopennlp.dll

A default implementation of IEvaluationMonitor<T> that prints to an output stream.

public class ChunkEvaluationErrorListener : EvaluationErrorPrinter<ChunkSample>, IChunkerEvaluationMonitor, IEvaluationMonitor<ChunkSample>
Inheritance
ChunkEvaluationErrorListener
Implements
Inherited Members

Constructors

ChunkEvaluationErrorListener()

Creates a listener that will print to Error.

public ChunkEvaluationErrorListener()

ChunkEvaluationErrorListener(Stream)

Creates a listener that will print to a given Stream.

public ChunkEvaluationErrorListener(Stream outputStream)

Parameters

outputStream Stream

ChunkEvaluationErrorListener(TextWriter)

Creates a listener that will print to a given TextWriter.

public ChunkEvaluationErrorListener(TextWriter outputStream)

Parameters

outputStream TextWriter

Methods

Misclassified(ChunkSample, ChunkSample)

public override void Misclassified(ChunkSample reference, ChunkSample prediction)

Parameters

reference ChunkSample
prediction ChunkSample