public final class SentimentResponse extends Response
extendedInformation| Constructor and Description |
|---|
SentimentResponse(Label document,
Collection<EntitySentiment> entities) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Label |
getDocument() |
Collection<EntitySentiment> |
getEntities() |
int |
hashCode() |
getExtendedInformationpublic SentimentResponse(Label document, Collection<EntitySentiment> entities)
document - The sentiment information for the entire document.entities - The sentiment information for the entities detected in the document.public Label getDocument()
public Collection<EntitySentiment> getEntities()
Copyright © 2014–2016 Basis Technology Corp.. All rights reserved.