Class DetokenEvaluationErrorListener

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

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

public class DetokenEvaluationErrorListener : EvaluationErrorPrinter<TokenSample>, ITokenizerEvaluationMonitor, IEvaluationMonitor<TokenSample>
Inheritance
DetokenEvaluationErrorListener
Implements
Inherited Members

Constructors

DetokenEvaluationErrorListener()

Creates a listener that will print to Error.

public DetokenEvaluationErrorListener()

DetokenEvaluationErrorListener(Stream)

Creates a listener that will print to a given Stream.

public DetokenEvaluationErrorListener(Stream outputStream)

Parameters

outputStream Stream

DetokenEvaluationErrorListener(TextWriter)

Creates a listener that will print to a given TextWriter.

public DetokenEvaluationErrorListener(TextWriter outputStream)

Parameters

outputStream TextWriter

Methods

Misclassified(TokenSample, TokenSample)

public override void Misclassified(TokenSample reference, TokenSample prediction)

Parameters

reference TokenSample
prediction TokenSample