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