public class SentimentTrainerTool extends opennlp.tools.cmdline.AbstractTrainerTool<SentimentSample,opennlp.tools.cmdline.params.TrainingToolParams>
| Modifier | Constructor and Description |
|---|---|
protected |
SentimentTrainerTool()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHelp()
Returns the help message
|
String |
getShortDescription()
Returns the short description of the programme
|
void |
run(String format,
String[] args)
Runs the trainer
|
getBasicHelp, getStreamFactory, validateAllArgs, validateFactoryArgspublic void run(String format, String[] args)
run in class opennlp.tools.cmdline.AbstractTrainerTool<SentimentSample,opennlp.tools.cmdline.params.TrainingToolParams>format - the format to be usedargs - the argumentspublic String getHelp()
getHelp in class opennlp.tools.cmdline.TypedCmdLineTool<SentimentSample>public String getShortDescription()
getShortDescription in class opennlp.tools.cmdline.CmdLineToolCopyright © 2016. All rights reserved.