Package opennlp.tools.cmdline.postag
Class POSTaggerEvaluatorTool
- java.lang.Object
-
- opennlp.tools.cmdline.CmdLineTool
-
- opennlp.tools.cmdline.TypedCmdLineTool<T,P>
-
- opennlp.tools.cmdline.AbstractTypedParamTool<T,P>
-
- opennlp.tools.cmdline.AbstractEvaluatorTool<POSSample,opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool.EvalToolParams>
-
- opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool
-
public final class POSTaggerEvaluatorTool extends opennlp.tools.cmdline.AbstractEvaluatorTool<POSSample,opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool.EvalToolParams>
A defaultPOSSample-centric implementation ofAbstractEvaluatorToolthat prints to an output stream.- See Also:
AbstractEvaluatorTool,POSTaggerEvaluatorTool.EvalToolParams
-
-
Constructor Summary
Constructors Constructor Description POSTaggerEvaluatorTool()
-
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<POSSample,opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool.EvalToolParams>- Parameters:
format- format to work withargs- command line arguments
-
-