opennlp.tools.cmdline.tokenizer
Class SimpleTokenizerTool

java.lang.Object
  extended by opennlp.tools.cmdline.CmdLineTool
      extended by opennlp.tools.cmdline.BasicCmdLineTool
          extended by opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool

public final class SimpleTokenizerTool
extends BasicCmdLineTool


Constructor Summary
SimpleTokenizerTool()
           
 
Method Summary
 String getHelp()
          Retrieves a description on how to use the tool.
 String getShortDescription()
          Retrieves a short description of what the tool does.
 boolean hasParams()
          Returns whether the tool has any command line params.
 void run(String[] args)
          Executes the tool with the given parameters.
 
Methods inherited from class opennlp.tools.cmdline.CmdLineTool
getBasicHelp, getBasicHelp, getName, validateAndParseParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTokenizerTool

public SimpleTokenizerTool()
Method Detail

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

getHelp

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

Specified by:
getHelp in class CmdLineTool
Returns:
a description on how to use the tool

hasParams

public boolean hasParams()
Description copied from class: CmdLineTool
Returns whether the tool has any command line params.

Overrides:
hasParams in class CmdLineTool
Returns:
whether the tool has any command line params

run

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

Specified by:
run in class BasicCmdLineTool
Parameters:
args - arguments


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.