Package opennlp.tools.cmdline.sentdetect
Klasse SentenceEvaluationErrorListener
java.lang.Object
opennlp.tools.cmdline.EvaluationErrorPrinter<SentenceSample>
opennlp.tools.cmdline.sentdetect.SentenceEvaluationErrorListener
- Alle implementierten Schnittstellen:
SentenceDetectorEvaluationMonitor
,EvaluationMonitor<SentenceSample>
public class SentenceEvaluationErrorListener
extends opennlp.tools.cmdline.EvaluationErrorPrinter<SentenceSample>
implements SentenceDetectorEvaluationMonitor
A default implementation of
EvaluationMonitor
that prints
to an output stream.-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a listener that will print to the configuredlogger
.SentenceEvaluationErrorListener
(OutputStream outputStream) Creates a listener that will print to a givenOutputStream
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
misclassified
(SentenceSample reference, SentenceSample prediction) Von Klasse geerbte Methoden opennlp.tools.cmdline.EvaluationErrorPrinter
correctlyClassified
Von Klasse geerbte Methoden java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden opennlp.tools.util.eval.EvaluationMonitor
correctlyClassified
-
Konstruktordetails
-
SentenceEvaluationErrorListener
public SentenceEvaluationErrorListener()Creates a listener that will print to the configuredlogger
. -
SentenceEvaluationErrorListener
Creates a listener that will print to a givenOutputStream
.
-
-
Methodendetails
-
misclassified
- Angegeben von:
misclassified
in SchnittstelleEvaluationMonitor<SentenceSample>
- Angegeben von:
misclassified
in Klasseopennlp.tools.cmdline.EvaluationErrorPrinter<SentenceSample>
-