public final class TokenNameFinderTrainerTool extends AbstractTrainerTool<NameSample,opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool.TrainerToolParams>
factory, mlParams, params, sampleStreamparamsClasstype| Constructor and Description |
|---|
TokenNameFinderTrainerTool() |
| Modifier and Type | Method and Description |
|---|---|
String |
getShortDescription()
Retrieves a short description of what the tool does.
|
static Map<String,Object> |
loadResources(File resourcePath) |
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<NameSample,opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool.TrainerToolParams>format - format to work withargs - command line argumentsCopyright © 2019 The Apache Software Foundation. All rights reserved.