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
outputStreamStream
SentenceEvaluationErrorListener(TextWriter)
Creates a listener that will print to a given TextWriter.
public SentenceEvaluationErrorListener(TextWriter outputStream)
Parameters
outputStreamTextWriter
Methods
Misclassified(SentenceSample, SentenceSample)
public override void Misclassified(SentenceSample reference, SentenceSample prediction)
Parameters
referenceSentenceSamplepredictionSentenceSample