Package opennlp.tools.cmdline.parser
Class ParserTrainerTool
- java.lang.Object
-
- opennlp.tools.cmdline.CmdLineTool
-
- opennlp.tools.cmdline.TypedCmdLineTool<T>
-
- opennlp.tools.cmdline.AbstractTypedParamTool<T,P>
-
- opennlp.tools.cmdline.AbstractEvaluatorTool<T,P>
-
- opennlp.tools.cmdline.AbstractTrainerTool<Parse,opennlp.tools.cmdline.parser.ParserTrainerTool.TrainerToolParams>
-
- opennlp.tools.cmdline.parser.ParserTrainerTool
-
public final class ParserTrainerTool extends opennlp.tools.cmdline.AbstractTrainerTool<Parse,opennlp.tools.cmdline.parser.ParserTrainerTool.TrainerToolParams>
-
-
Constructor Summary
Constructors Constructor Description ParserTrainerTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetShortDescription()Retrieves a short description of what the tool does.voidrun(String format, String[] args)Executes the tool with the given parameters.
-
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
Description copied from class:opennlp.tools.cmdline.CmdLineToolRetrieves a short description of what the tool does.- Overrides:
getShortDescriptionin classopennlp.tools.cmdline.CmdLineTool- Returns:
- 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<Parse,opennlp.tools.cmdline.parser.ParserTrainerTool.TrainerToolParams>- Parameters:
format- format to work withargs- command line arguments
-
-