Class LemmatizerFineGrainedReportListener

java.lang.Object
opennlp.tools.cmdline.FineGrainedReportListener
opennlp.tools.cmdline.lemmatizer.LemmatizerFineGrainedReportListener
All Implemented Interfaces:
LemmatizerEvaluationMonitor, EvaluationMonitor<LemmaSample>

public class LemmatizerFineGrainedReportListener extends opennlp.tools.cmdline.FineGrainedReportListener implements LemmatizerEvaluationMonitor
Generates a detailed report for the Lemmatizer.

It is possible to use it from an API and access the statistics using the provided getters.

  • Nested Class Summary

    Nested classes/interfaces inherited from class opennlp.tools.cmdline.FineGrainedReportListener

    opennlp.tools.cmdline.FineGrainedReportListener.ConfusionMatrixLine, opennlp.tools.cmdline.FineGrainedReportListener.Counter, opennlp.tools.cmdline.FineGrainedReportListener.GroupedLabelComparator, opennlp.tools.cmdline.FineGrainedReportListener.GroupedMatrixLabelComparator, opennlp.tools.cmdline.FineGrainedReportListener.MatrixLabelComparator, opennlp.tools.cmdline.FineGrainedReportListener.SimpleLabelComparator, opennlp.tools.cmdline.FineGrainedReportListener.Stats
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a listener that will print to the configured logger.
    Creates a listener that prints to a given OutputStream
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    misclassified(LemmaSample reference, LemmaSample prediction)
     
    void
     

    Methods inherited from class opennlp.tools.cmdline.FineGrainedReportListener

    getLabelComparator, getMatrixLabelComparator

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LemmatizerFineGrainedReportListener

      public LemmatizerFineGrainedReportListener()
      Creates a listener that will print to the configured logger.
    • LemmatizerFineGrainedReportListener

      public LemmatizerFineGrainedReportListener(OutputStream outputStream)
      Creates a listener that prints to a given OutputStream
  • Method Details