public final class ParserTool
extends opennlp.tools.cmdline.BasicCmdLineTool
Constructor and Description |
---|
ParserTool() |
Modifier and Type | Method and Description |
---|---|
String |
getHelp()
Retrieves a description on how to use the tool.
|
String |
getShortDescription()
Retrieves a short description of what the tool does.
|
static Parse[] |
parseLine(String line,
Parser parser,
int numParses) |
static Parse[] |
parseLine(String line,
Parser parser,
Tokenizer tokenizer,
int numParses) |
void |
run(String[] args)
Executes the tool with the given parameters.
|
public String getShortDescription()
opennlp.tools.cmdline.CmdLineTool
getShortDescription
in class opennlp.tools.cmdline.CmdLineTool
public String getHelp()
opennlp.tools.cmdline.CmdLineTool
getHelp
in class opennlp.tools.cmdline.CmdLineTool
public static Parse[] parseLine(String line, Parser parser, Tokenizer tokenizer, int numParses)
public void run(String[] args)
opennlp.tools.cmdline.BasicCmdLineTool
run
in class opennlp.tools.cmdline.BasicCmdLineTool
args
- argumentsCopyright © 2020 The Apache Software Foundation. All rights reserved.