| Package | Description |
|---|---|
| com.amazonaws.services.comprehend.model |
| Modifier and Type | Method and Description |
|---|---|
TargetedSentimentMention |
TargetedSentimentMention.clone() |
TargetedSentimentMention |
TargetedSentimentMention.withBeginOffset(Integer beginOffset)
The offset into the document text where the mention begins.
|
TargetedSentimentMention |
TargetedSentimentMention.withEndOffset(Integer endOffset)
The offset into the document text where the mention ends.
|
TargetedSentimentMention |
TargetedSentimentMention.withGroupScore(Float groupScore)
The confidence that all the entities mentioned in the group relate to the same entity.
|
TargetedSentimentMention |
TargetedSentimentMention.withMentionSentiment(MentionSentiment mentionSentiment)
Contains the sentiment and sentiment score for the mention.
|
TargetedSentimentMention |
TargetedSentimentMention.withScore(Float score)
Model confidence that the entity is relevant.
|
TargetedSentimentMention |
TargetedSentimentMention.withText(String text)
The text in the document that identifies the entity.
|
TargetedSentimentMention |
TargetedSentimentMention.withType(String type)
The type of the entity.
|
TargetedSentimentMention |
TargetedSentimentMention.withType(TargetedSentimentEntityType type)
The type of the entity.
|
| Modifier and Type | Method and Description |
|---|---|
List<TargetedSentimentMention> |
TargetedSentimentEntity.getMentions()
An array of mentions of the entity in the document.
|
| Modifier and Type | Method and Description |
|---|---|
TargetedSentimentEntity |
TargetedSentimentEntity.withMentions(TargetedSentimentMention... mentions)
An array of mentions of the entity in the document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TargetedSentimentEntity.setMentions(Collection<TargetedSentimentMention> mentions)
An array of mentions of the entity in the document.
|
TargetedSentimentEntity |
TargetedSentimentEntity.withMentions(Collection<TargetedSentimentMention> mentions)
An array of mentions of the entity in the document.
|
Copyright © 2024. All rights reserved.