public final class CheckModelUpdaterTool extends AbstractTypedParamTool<Parse,opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams>
paramsClass
type
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) |
getHelp
getBasicHelp, getHelp, getStreamFactory, validateAllArgs, validateFactoryArgs
getBasicHelp, getName, hasParams, validateAndParseParams
public String getShortDescription()
CmdLineTool
getShortDescription
in class CmdLineTool
protected ParserModel trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters) throws IOException
IOException
public final void run(String format, String[] args)
TypedCmdLineTool
run
in class TypedCmdLineTool<Parse>
format
- format to work withargs
- command line argumentsCopyright © 2015 The Apache Software Foundation. All rights reserved.