opennlp.tools.cmdline.parser
Class ParserTrainerTool

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

public final class ParserTrainerTool
extends Object
implements CmdLineTool


Constructor Summary
ParserTrainerTool()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserTrainerTool

public ParserTrainerTool()
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.

Specified by:
getName in interface CmdLineTool
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.

Specified by:
getShortDescription in interface CmdLineTool
Returns:

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 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.