Class AbstractEvaluatorTool<T,P>
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.TypedCmdLineTool<T,P>
opennlp.tools.cmdline.AbstractTypedParamTool<T,P>
opennlp.tools.cmdline.AbstractEvaluatorTool<T,P>
- Direct Known Subclasses:
AbstractTrainerTool, ChunkerEvaluatorTool, DoccatEvaluatorTool, LanguageDetectorEvaluatorTool, LemmatizerEvaluatorTool, ParserEvaluatorTool, POSTaggerEvaluatorTool, SentenceDetectorEvaluatorTool, TokenizerMEEvaluatorTool, TokenNameFinderEvaluatorTool
Base class for evaluator tools.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ObjectStreamFactory<T, P> protected Pprotected ObjectStream<T> Fields inherited from class AbstractTypedParamTool
paramsClassFields inherited from class TypedCmdLineTool
type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractEvaluatorTool(Class<T> sampleType, Class<P> params) Constructor with type parameters. -
Method Summary
Methods inherited from class AbstractTypedParamTool
getHelpMethods inherited from class TypedCmdLineTool
getBasicHelp, getHelp, getStreamFactory, validateAllArgs, validateFactoryArgsMethods inherited from class CmdLineTool
getBasicHelp, getName, getShortDescription, hasParams, validateAndParseParams
-
Field Details
-
params
-
factory
-
sampleStream
-
-
Constructor Details
-
AbstractEvaluatorTool
-
-
Method Details
-
run
Description copied from class:TypedCmdLineToolExecutes the tool with the given parameters.- Specified by:
runin classTypedCmdLineTool<T,P> - Parameters:
format- format to work withargs- command line arguments
-