Class LemmaEvaluationErrorListener

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

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

public class LemmaEvaluationErrorListener : EvaluationErrorPrinter<LemmaSample>, ILemmatizerEvaluationMonitor, IEvaluationMonitor<LemmaSample>
Inheritance
LemmaEvaluationErrorListener
Implements
Inherited Members

Constructors

LemmaEvaluationErrorListener()

Creates a listener that will print to Error.

public LemmaEvaluationErrorListener()

LemmaEvaluationErrorListener(Stream)

Creates a listener that will print to a given Stream.

public LemmaEvaluationErrorListener(Stream outputStream)

Parameters

outputStream Stream

LemmaEvaluationErrorListener(TextWriter)

Creates a listener that will print to a given TextWriter.

public LemmaEvaluationErrorListener(TextWriter outputStream)

Parameters

outputStream TextWriter

Methods

Misclassified(LemmaSample, LemmaSample)

public override void Misclassified(LemmaSample reference, LemmaSample prediction)

Parameters

reference LemmaSample
prediction LemmaSample