Class TokenizerMEEvaluatorTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.TypedCmdLineTool<TokenSample, TokenizerMEEvaluatorTool.EvalToolParams>
opennlp.tools.cmdline.AbstractTypedParamTool<TokenSample, TokenizerMEEvaluatorTool.EvalToolParams>
opennlp.tools.cmdline.AbstractEvaluatorTool<TokenSample, TokenizerMEEvaluatorTool.EvalToolParams>
opennlp.tools.cmdline.tokenizer.TokenizerMEEvaluatorTool
public final class TokenizerMEEvaluatorTool
extends AbstractEvaluatorTool<TokenSample, TokenizerMEEvaluatorTool.EvalToolParams>
A default
TokenSample-centric implementation of AbstractEvaluatorTool
that prints to an output stream.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface -
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
-
TokenizerMEEvaluatorTool
public TokenizerMEEvaluatorTool()
-
-
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<TokenSample, TokenizerMEEvaluatorTool.EvalToolParams>- Parameters:
format- format to work withargs- command line arguments
-