| Package | Description |
|---|---|
| opennlp.tools.sentiment |
| Modifier and Type | Method and Description |
|---|---|
SentimentFactory |
SentimentModel.getFactory()
Returns the sentiment factory
|
| Modifier and Type | Method and Description |
|---|---|
static SentimentModel |
SentimentME.train(String languageCode,
opennlp.tools.util.ObjectStream<SentimentSample> samples,
opennlp.tools.util.TrainingParameters trainParams,
SentimentFactory factory)
Trains a Sentiment Analysis model.
|
| Constructor and Description |
|---|
SentimentModel(String languageCode,
opennlp.tools.ml.model.MaxentModel sentimentModel,
Map<String,String> manifestInfoEntries,
SentimentFactory factory)
Initializes the Sentiment Analysis model.
|
Copyright © 2016. All rights reserved.