Class ParserTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.BasicCmdLineTool
opennlp.tools.cmdline.parser.ParserTool
public final class ParserTool
extends opennlp.tools.cmdline.BasicCmdLineTool
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class opennlp.tools.cmdline.CmdLineTool
getName, hasParams
-
Constructor Details
-
ParserTool
public ParserTool()
-
-
Method Details
-
getShortDescription
- Overrides:
getShortDescriptionin classopennlp.tools.cmdline.CmdLineTool- Returns:
- Retrieves a short description of what the tool does
-
getHelp
- Specified by:
getHelpin classopennlp.tools.cmdline.CmdLineTool- Returns:
- Retrieves a description on how to use the tool
-
parseLine
public static opennlp.tools.parser.Parse[] parseLine(String line, opennlp.tools.parser.Parser parser, int numParses) -
parseLine
public static opennlp.tools.parser.Parse[] parseLine(String line, opennlp.tools.parser.Parser parser, opennlp.tools.tokenize.Tokenizer tokenizer, int numParses) -
run
Description copied from class:opennlp.tools.cmdline.BasicCmdLineToolExecutes the tool with the given parameters.- Specified by:
runin classopennlp.tools.cmdline.BasicCmdLineTool- Parameters:
args- arguments
-