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 -
Method Summary
Methods inherited from class opennlp.tools.cmdline.CmdLineTool
getName
-
Constructor Details
-
SimpleTokenizerTool
public SimpleTokenizerTool()
-
-
Method Details
-
getShortDescription
- Overrides:
getShortDescriptionin classopennlp.tools.cmdline.CmdLineTool- Returns:
- Retrieves a short description of what the tool does
-
getHelp
- Specified by:
getHelpin classopennlp.tools.cmdline.CmdLineTool- Returns:
- Retrieves a description on how to use the tool
-
hasParams
public boolean hasParams()- Overrides:
hasParamsin classopennlp.tools.cmdline.CmdLineTool- Returns:
- Retrieves whether the tool has any command line params
-
run
Description copied from class:opennlp.tools.cmdline.BasicCmdLineToolExecutes the tool with the given parameters.- Specified by:
runin classopennlp.tools.cmdline.BasicCmdLineTool- Parameters:
args- arguments
-