Class NameEvaluationErrorListener

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

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

public class NameEvaluationErrorListener : EvaluationErrorPrinter<NameSample>, ITokenNameFinderEvaluationMonitor, IEvaluationMonitor<NameSample>
Inheritance
NameEvaluationErrorListener
Implements
Inherited Members

Constructors

NameEvaluationErrorListener()

Creates a listener that will print to Error.

public NameEvaluationErrorListener()

NameEvaluationErrorListener(Stream)

Creates a listener that will print to a given Stream.

public NameEvaluationErrorListener(Stream outputStream)

Parameters

outputStream Stream

NameEvaluationErrorListener(TextWriter)

Creates a listener that will print to a given TextWriter.

public NameEvaluationErrorListener(TextWriter outputStream)

Parameters

outputStream TextWriter

Methods

Misclassified(NameSample, NameSample)

public override void Misclassified(NameSample reference, NameSample prediction)

Parameters

reference NameSample
prediction NameSample