public final class CheckModelUpdaterTool extends AbstractTypedParamTool<Parse,opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams>
paramsClasstype| Constructor and Description |
|---|
CheckModelUpdaterTool() |
| 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.
|
protected ParserModel |
trainAndUpdate(ParserModel originalModel,
ObjectStream<Parse> parseSamples,
opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters) |
getHelpgetBasicHelp, getHelp, getStreamFactory, validateAllArgs, validateFactoryArgsgetBasicHelp, getName, hasParams, validateAndParseParamspublic String getShortDescription()
CmdLineToolgetShortDescription in class CmdLineToolprotected ParserModel trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters) throws IOException
IOExceptionpublic final void run(String format, String[] args)
TypedCmdLineToolrun in class TypedCmdLineTool<Parse>format - format to work withargs - command line argumentsCopyright © 2015 The Apache Software Foundation. All rights reserved.