Class DoccatEvaluationErrorListener

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

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

public class DoccatEvaluationErrorListener : EvaluationErrorPrinter<DocumentSample>, IDoccatEvaluationMonitor, IEvaluationMonitor<DocumentSample>
Inheritance
DoccatEvaluationErrorListener
Implements
Inherited Members

Constructors

DoccatEvaluationErrorListener()

Creates a listener that will print to Error.

public DoccatEvaluationErrorListener()

DoccatEvaluationErrorListener(Stream)

Creates a listener that will print to a given Stream.

public DoccatEvaluationErrorListener(Stream outputStream)

Parameters

outputStream Stream

DoccatEvaluationErrorListener(TextWriter)

Creates a listener that will print to a given TextWriter.

public DoccatEvaluationErrorListener(TextWriter outputStream)

Parameters

outputStream TextWriter

Methods

Misclassified(DocumentSample, DocumentSample)

public override void Misclassified(DocumentSample reference, DocumentSample prediction)

Parameters

reference DocumentSample
prediction DocumentSample