Class SentimentCrossValidatorTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.TypedCmdLineTool<opennlp.tools.sentiment.SentimentSample, opennlp.tools.cmdline.sentiment.SentimentCrossValidatorTool.CVToolParams>
opennlp.tools.cmdline.AbstractTypedParamTool<opennlp.tools.sentiment.SentimentSample, opennlp.tools.cmdline.sentiment.SentimentCrossValidatorTool.CVToolParams>
opennlp.tools.cmdline.AbstractEvaluatorTool<opennlp.tools.sentiment.SentimentSample, opennlp.tools.cmdline.sentiment.SentimentCrossValidatorTool.CVToolParams>
opennlp.tools.cmdline.AbstractTrainerTool<opennlp.tools.sentiment.SentimentSample, opennlp.tools.cmdline.sentiment.SentimentCrossValidatorTool.CVToolParams>
opennlp.tools.cmdline.AbstractCrossValidatorTool<opennlp.tools.sentiment.SentimentSample, opennlp.tools.cmdline.sentiment.SentimentCrossValidatorTool.CVToolParams>
opennlp.tools.cmdline.sentiment.SentimentCrossValidatorTool
public class SentimentCrossValidatorTool
extends opennlp.tools.cmdline.AbstractCrossValidatorTool<opennlp.tools.sentiment.SentimentSample, opennlp.tools.cmdline.sentiment.SentimentCrossValidatorTool.CVToolParams>
Class for helping perform cross validation on the Sentiment Analysis Parser.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the short description of the toolvoidRuns the toolMethods inherited from class opennlp.tools.cmdline.AbstractTypedParamTool
getHelpMethods inherited from class opennlp.tools.cmdline.TypedCmdLineTool
getHelpMethods inherited from class opennlp.tools.cmdline.CmdLineTool
getName, hasParams
-
Constructor Details
-
SentimentCrossValidatorTool
public SentimentCrossValidatorTool()Constructor
-
-
Method Details
-
getShortDescription
Returns the short description of the tool- Overrides:
getShortDescriptionin classopennlp.tools.cmdline.CmdLineTool- Returns:
- short description
-
run
Runs the tool- Overrides:
runin classopennlp.tools.cmdline.AbstractEvaluatorTool<opennlp.tools.sentiment.SentimentSample, opennlp.tools.cmdline.sentiment.SentimentCrossValidatorTool.CVToolParams>- Parameters:
format- the format to be usedargs- the arguments
-