Class NGramLanguageModelTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.BasicCmdLineTool
opennlp.tools.cmdline.languagemodel.NGramLanguageModelTool
public class NGramLanguageModelTool
extends opennlp.tools.cmdline.BasicCmdLineTool
Command line tool for
NGramLanguageModel
.-
Constructor Summary
-
Method Summary
Methods inherited from class opennlp.tools.cmdline.CmdLineTool
getName, hasParams
-
Constructor Details
-
NGramLanguageModelTool
public NGramLanguageModelTool()
-
-
Method Details
-
getShortDescription
- Overrides:
getShortDescription
in classopennlp.tools.cmdline.CmdLineTool
- Returns:
- Retrieves a short description of what the tool does
-
run
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
-
getHelp
- Specified by:
getHelp
in classopennlp.tools.cmdline.CmdLineTool
- Returns:
- Retrieves a description on how to use the tool
-