# Uses of Class
opennlp.tools.sentiment.SentimentModel

Packages that use SentimentModel
Package
Description
opennlp.tools.sentiment

- ## Uses of SentimentModel in opennlp.tools.sentiment

  Methods in opennlp.tools.sentiment that return SentimentModel
  Modifier and Type
  Method
  Description
  `static SentimentModel`
  SentimentME.`train(String languageCode, opennlp.tools.util.ObjectStream<opennlp.tools.sentiment.SentimentSample> samples, opennlp.tools.util.TrainingParameters trainParams, SentimentFactory factory)`
  Trains a `Sentiment Analysis model`.
  Constructors in opennlp.tools.sentiment with parameters of type SentimentModel
  Modifier
  Constructor
  Description
  ``
  `SentimentME(SentimentModel sentModel)`
  Instantiates a `SentimentME` with the specified model.