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