opennlp.tools.cmdline.parser
Class CheckModelUpdaterTool

java.lang.Object
  extended by opennlp.tools.cmdline.parser.CheckModelUpdaterTool
All Implemented Interfaces:
CmdLineTool

public final class CheckModelUpdaterTool
extends Object


Constructor Summary
CheckModelUpdaterTool()
           
 
Method Summary
 String getHelp()
          Retrieves a description on how to use the tool.
 String getName()
          Retrieves the name of the training data tool.
 String getShortDescription()
          Retrieves a short description of what the tool does.
 void run(String[] args)
          Executes the tool with the given parameters.
protected  ParserModel trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, BasicTrainingParameters parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckModelUpdaterTool

public CheckModelUpdaterTool()
Method Detail

getName

public String getName()
Description copied from interface: CmdLineTool
Retrieves the name of the training data tool. The name (used as command) must not contain white spaces.

Returns:
the name of the command line tool

getShortDescription

public String getShortDescription()
Description copied from interface: CmdLineTool
Retrieves a short description of what the tool does.

Returns:

trainAndUpdate

protected ParserModel trainAndUpdate(ParserModel originalModel,
                                     ObjectStream<Parse> parseSamples,
                                     BasicTrainingParameters parameters)
                              throws IOException
Throws:
IOException

getHelp

public String getHelp()
Description copied from interface: CmdLineTool
Retrieves a description on how to use the tool.

Specified by:
getHelp in interface CmdLineTool
Returns:

run

public final void run(String[] args)
Description copied from interface: CmdLineTool
Executes the tool with the given parameters.

Specified by:
run in interface CmdLineTool


Copyright © 2010. All Rights Reserved.