Class SentenceEvaluationErrorListener

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

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

public class SentenceEvaluationErrorListener : EvaluationErrorPrinter<SentenceSample>, ISentenceDetectorEvaluationMonitor, IEvaluationMonitor<SentenceSample>
Inheritance
SentenceEvaluationErrorListener
Implements
Inherited Members

Constructors

SentenceEvaluationErrorListener()

Creates a listener that will print to Error.

public SentenceEvaluationErrorListener()

SentenceEvaluationErrorListener(Stream)

Creates a listener that will print to a given Stream.

public SentenceEvaluationErrorListener(Stream outputStream)

Parameters

outputStream Stream

SentenceEvaluationErrorListener(TextWriter)

Creates a listener that will print to a given TextWriter.

public SentenceEvaluationErrorListener(TextWriter outputStream)

Parameters

outputStream TextWriter

Methods

Misclassified(SentenceSample, SentenceSample)

public override void Misclassified(SentenceSample reference, SentenceSample prediction)

Parameters

reference SentenceSample
prediction SentenceSample