Package opennlp.tools.cmdline.tokenizer
Class SimpleTokenizerTool
- java.lang.Object
-
- opennlp.tools.cmdline.CmdLineTool
-
- opennlp.tools.cmdline.BasicCmdLineTool
-
- opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
-
public final class SimpleTokenizerTool extends opennlp.tools.cmdline.BasicCmdLineTool
-
-
Constructor Summary
Constructors Constructor Description SimpleTokenizerTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
Description copied from class:opennlp.tools.cmdline.CmdLineTool
Retrieves a short description of what the tool does.- Overrides:
getShortDescription
in classopennlp.tools.cmdline.CmdLineTool
- Returns:
- a short description of what the tool does
-
getHelp
public String getHelp()
Description copied from class:opennlp.tools.cmdline.CmdLineTool
Retrieves a description on how to use the tool.- Specified by:
getHelp
in classopennlp.tools.cmdline.CmdLineTool
- Returns:
- a description on how to use the tool
-
hasParams
public boolean hasParams()
Description copied from class:opennlp.tools.cmdline.CmdLineTool
Returns whether the tool has any command line params.- Overrides:
hasParams
in classopennlp.tools.cmdline.CmdLineTool
- Returns:
- whether the tool has any command line params
-
run
public void run(String[] args)
Description copied from class:opennlp.tools.cmdline.BasicCmdLineTool
Executes the tool with the given parameters.- Specified by:
run
in classopennlp.tools.cmdline.BasicCmdLineTool
- Parameters:
args
- arguments
-
-