# Uses of Class
opennlp.tools.sentiment.SentimentFactory

Packages that use SentimentFactory
Package
Description
opennlp.tools.sentiment

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

  Methods in opennlp.tools.sentiment that return SentimentFactory
  Modifier and Type
  Method
  Description
  `SentimentFactory`
  SentimentModel.`getFactory()`
  Methods in opennlp.tools.sentiment with parameters of type SentimentFactory
  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 SentimentFactory
  Modifier
  Constructor
  Description
  ``
  `SentimentCrossValidator(String lang, opennlp.tools.util.TrainingParameters params, SentimentFactory factory, opennlp.tools.sentiment.SentimentEvaluationMonitor[] monitors)`
  Constructor
  ``
  `SentimentModel(String languageCode, opennlp.tools.ml.model.MaxentModel sentimentModel, Map<String,String> manifestInfoEntries, SentimentFactory factory)`
  Instantiates a `SentimentModel` model.