opennlp.tools.cmdline.parser
Class BuildModelUpdaterTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.TypedCmdLineTool<T>
opennlp.tools.cmdline.AbstractTypedParamTool<Parse,opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams>
opennlp.tools.cmdline.parser.BuildModelUpdaterTool
public final class BuildModelUpdaterTool
- extends AbstractTypedParamTool<Parse,opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildModelUpdaterTool
public BuildModelUpdaterTool()
getShortDescription
public String getShortDescription()
- Description copied from class:
CmdLineTool
- Retrieves a short description of what the tool does.
- Overrides:
getShortDescription
in class CmdLineTool
- Returns:
- a short description of what the tool does
trainAndUpdate
protected ParserModel trainAndUpdate(ParserModel originalModel,
ObjectStream<Parse> parseSamples,
opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)
throws IOException
- Throws:
IOException
run
public final void run(String format,
String[] args)
- Description copied from class:
TypedCmdLineTool
- Executes the tool with the given parameters.
- Specified by:
run
in class TypedCmdLineTool<Parse>
- Parameters:
format
- format to work withargs
- command line arguments
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.