Package opennlp.tools.cmdline.namefind
Klasse NameEvaluationErrorListener
java.lang.Object
opennlp.tools.cmdline.EvaluationErrorPrinter<NameSample>
opennlp.tools.cmdline.namefind.NameEvaluationErrorListener
- Alle implementierten Schnittstellen:
TokenNameFinderEvaluationMonitor
,EvaluationMonitor<NameSample>
public class NameEvaluationErrorListener
extends opennlp.tools.cmdline.EvaluationErrorPrinter<NameSample>
implements TokenNameFinderEvaluationMonitor
A default implementation of
EvaluationMonitor
that prints
to an output stream.-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a listener that will print to the configuredlogger
.NameEvaluationErrorListener
(OutputStream outputStream) Creates a listener that will print to a givenOutputStream
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
misclassified
(NameSample reference, NameSample 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
-
NameEvaluationErrorListener
public NameEvaluationErrorListener()Creates a listener that will print to the configuredlogger
. -
NameEvaluationErrorListener
Creates a listener that will print to a givenOutputStream
.
-
-
Methodendetails
-
misclassified
- Angegeben von:
misclassified
in SchnittstelleEvaluationMonitor<NameSample>
- Angegeben von:
misclassified
in Klasseopennlp.tools.cmdline.EvaluationErrorPrinter<NameSample>
-