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 StringgetHelp()Retrieves a description on how to use the tool.StringgetShortDescription()Retrieves a short description of what the tool does.booleanhasParams()Returns whether the tool has any command line params.voidrun(String[] args)Executes the tool with the given parameters.
-
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
Description copied from class:opennlp.tools.cmdline.CmdLineToolRetrieves a short description of what the tool does.- Overrides:
getShortDescriptionin classopennlp.tools.cmdline.CmdLineTool- Returns:
- a short description of what the tool does
-
getHelp
public String getHelp()
Description copied from class:opennlp.tools.cmdline.CmdLineToolRetrieves a description on how to use the tool.- Specified by:
getHelpin classopennlp.tools.cmdline.CmdLineTool- Returns:
- a description on how to use the tool
-
hasParams
public boolean hasParams()
Description copied from class:opennlp.tools.cmdline.CmdLineToolReturns whether the tool has any command line params.- Overrides:
hasParamsin 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.BasicCmdLineToolExecutes the tool with the given parameters.- Specified by:
runin classopennlp.tools.cmdline.BasicCmdLineTool- Parameters:
args- arguments
-
-