Package opennlp.tools.cmdline.sentdetect
Class SentenceDetectorTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.BasicCmdLineTool
opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
public final class SentenceDetectorTool
extends opennlp.tools.cmdline.BasicCmdLineTool
A sentence detector which uses a maxent model to predict the sentences.
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class opennlp.tools.cmdline.CmdLineToolgetName, hasParams
- 
Constructor Details- 
SentenceDetectorToolpublic SentenceDetectorTool()
 
- 
- 
Method Details- 
getShortDescription- Overrides:
- getShortDescriptionin class- opennlp.tools.cmdline.CmdLineTool
- Returns:
- Retrieves a short description of what the tool does
 
- 
getHelp- Specified by:
- getHelpin class- opennlp.tools.cmdline.CmdLineTool
- Returns:
- Retrieves a description on how to use the tool
 
- 
runPerform sentence detection on a stream of sentences.A newline will be treated as a paragraph boundary. - Specified by:
- runin class- opennlp.tools.cmdline.BasicCmdLineTool
- Parameters:
- args- arguments
 
 
-