Class AbstractEvaluatorTool<T,P>

Direct Known Subclasses:
AbstractTrainerTool, ChunkerEvaluatorTool, DoccatEvaluatorTool, LanguageDetectorEvaluatorTool, LemmatizerEvaluatorTool, ParserEvaluatorTool, POSTaggerEvaluatorTool, SentenceDetectorEvaluatorTool, TokenizerMEEvaluatorTool, TokenNameFinderEvaluatorTool

public abstract class AbstractEvaluatorTool<T,P> extends AbstractTypedParamTool<T,P>
Base class for evaluator tools.
  • Field Details

  • Constructor Details

    • AbstractEvaluatorTool

      protected AbstractEvaluatorTool(Class<T> sampleType, Class<P> params)
      Constructor with type parameters.
      Parameters:
      sampleType - class of the template parameter
      params - interface with parameters
  • Method Details

    • run

      public void run(String format, String[] args)
      Description copied from class: TypedCmdLineTool
      Executes the tool with the given parameters.
      Specified by:
      run in class TypedCmdLineTool<T,P>
      Parameters:
      format - format to work with
      args - command line arguments