public final class SentenceDetectorTrainerTool extends AbstractTrainerTool<SentenceSample,opennlp.tools.cmdline.sentdetect.SentenceDetectorTrainerTool.TrainerToolParams>
factory, mlParams, params, sampleStreamparamsClasstype| Constructor and Description |
|---|
SentenceDetectorTrainerTool() |
| Modifier and Type | Method and Description |
|---|---|
String |
getShortDescription()
Retrieves a short description of what the tool does.
|
void |
run(String format,
String[] args)
Executes the tool with the given parameters.
|
getHelpgetBasicHelp, getHelp, getStreamFactory, validateAllArgs, validateFactoryArgsgetBasicHelp, getName, hasParams, validateAndParseParamspublic String getShortDescription()
CmdLineToolgetShortDescription in class CmdLineToolpublic void run(String format, String[] args)
TypedCmdLineToolrun in class AbstractTrainerTool<SentenceSample,opennlp.tools.cmdline.sentdetect.SentenceDetectorTrainerTool.TrainerToolParams>format - format to work withargs - command line argumentsCopyright © 2015 The Apache Software Foundation. All rights reserved.