public class DetokenEvaluationErrorListener extends opennlp.tools.cmdline.EvaluationErrorPrinter<TokenSample> implements TokenizerEvaluationMonitor
EvaluationMonitor that prints
to an output stream.| Constructor and Description |
|---|
DetokenEvaluationErrorListener()
Creates a listener that will print to System.err
|
DetokenEvaluationErrorListener(OutputStream outputStream)
Creates a listener that will print to a given
OutputStream |
| Modifier and Type | Method and Description |
|---|---|
void |
missclassified(TokenSample reference,
TokenSample prediction) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcorrectlyClassifiedpublic DetokenEvaluationErrorListener()
public DetokenEvaluationErrorListener(OutputStream outputStream)
OutputStreampublic void missclassified(TokenSample reference, TokenSample prediction)
missclassified in interface EvaluationMonitor<TokenSample>missclassified in class opennlp.tools.cmdline.EvaluationErrorPrinter<TokenSample>Copyright © 2021 The Apache Software Foundation. All rights reserved.