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.CmdLineToolgetShortDescription in class opennlp.tools.cmdline.CmdLineToolpublic String getHelp()
opennlp.tools.cmdline.CmdLineToolgetHelp in class opennlp.tools.cmdline.CmdLineToolpublic static Parse[] parseLine(String line, Parser parser, Tokenizer tokenizer, int numParses)
public void run(String[] args)
opennlp.tools.cmdline.BasicCmdLineToolrun in class opennlp.tools.cmdline.BasicCmdLineToolargs - argumentsCopyright © 2020 The Apache Software Foundation. All rights reserved.