Package opennlp.tools.cmdline.chunker
Class ChunkerEvaluatorTool
- java.lang.Object
-
- opennlp.tools.cmdline.CmdLineTool
-
- opennlp.tools.cmdline.TypedCmdLineTool<T,P>
-
- opennlp.tools.cmdline.AbstractTypedParamTool<T,P>
-
- opennlp.tools.cmdline.AbstractEvaluatorTool<ChunkSample,opennlp.tools.cmdline.chunker.ChunkerEvaluatorTool.EvalToolParams>
-
- opennlp.tools.cmdline.chunker.ChunkerEvaluatorTool
-
public final class ChunkerEvaluatorTool extends opennlp.tools.cmdline.AbstractEvaluatorTool<ChunkSample,opennlp.tools.cmdline.chunker.ChunkerEvaluatorTool.EvalToolParams>
A defaultChunkSample-centric implementation ofAbstractEvaluatorToolthat prints to an output stream.- See Also:
AbstractEvaluatorTool,ChunkerEvaluatorTool.EvalToolParams
-
-
Constructor Summary
Constructors Constructor Description ChunkerEvaluatorTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetShortDescription()voidrun(String format, String[] args)Executes the tool with the given parameters.
-
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
- Overrides:
getShortDescriptionin classopennlp.tools.cmdline.CmdLineTool- Returns:
- Retrieves a short description of what the tool does
-
run
public void run(String format, String[] args)
Description copied from class:opennlp.tools.cmdline.TypedCmdLineToolExecutes the tool with the given parameters.- Overrides:
runin classopennlp.tools.cmdline.AbstractEvaluatorTool<ChunkSample,opennlp.tools.cmdline.chunker.ChunkerEvaluatorTool.EvalToolParams>- Parameters:
format- format to work withargs- command line arguments
-
-