Class ParserEvaluatorTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.TypedCmdLineTool<Parse, EvaluatorParams>
opennlp.tools.cmdline.AbstractTypedParamTool<Parse, EvaluatorParams>
opennlp.tools.cmdline.AbstractEvaluatorTool<Parse, EvaluatorParams>
opennlp.tools.cmdline.parser.ParserEvaluatorTool
A default
Parse-centric implementation of AbstractEvaluatorTool
that prints to an output stream.- See Also:
-
Field Summary
FieldsFields inherited from class AbstractEvaluatorTool
factory, params, sampleStreamFields inherited from class AbstractTypedParamTool
paramsClassFields inherited from class TypedCmdLineTool
type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes the tool with the given parameters.Methods inherited from class AbstractTypedParamTool
getHelpMethods inherited from class TypedCmdLineTool
getBasicHelp, getHelp, getStreamFactory, validateAllArgs, validateFactoryArgsMethods inherited from class CmdLineTool
getBasicHelp, getName, hasParams, validateAndParseParams
-
Field Details
-
logger
private static final org.slf4j.Logger logger
-
-
Constructor Details
-
ParserEvaluatorTool
public ParserEvaluatorTool()
-
-
Method Details
-
getShortDescription
- Overrides:
getShortDescriptionin classCmdLineTool- Returns:
- Retrieves a short description of what the tool does
-
run
Description copied from class:TypedCmdLineToolExecutes the tool with the given parameters.- Overrides:
runin classAbstractEvaluatorTool<Parse, EvaluatorParams>- Parameters:
format- format to work withargs- command line arguments
-