TargetedSentimentMention.Builder |
TargetedSentimentMention.Builder.beginOffset(Integer beginOffset) |
The offset into the document text where the mention begins.
|
static TargetedSentimentMention.Builder |
TargetedSentimentMention.builder() |
|
TargetedSentimentMention.Builder |
TargetedSentimentMention.Builder.endOffset(Integer endOffset) |
The offset into the document text where the mention ends.
|
TargetedSentimentMention.Builder |
TargetedSentimentMention.Builder.groupScore(Float groupScore) |
The confidence that all the entities mentioned in the group relate to the same entity.
|
default TargetedSentimentMention.Builder |
TargetedSentimentMention.Builder.mentionSentiment(Consumer<MentionSentiment.Builder> mentionSentiment) |
Contains the sentiment and sentiment score for the mention.
|
TargetedSentimentMention.Builder |
TargetedSentimentMention.Builder.mentionSentiment(MentionSentiment mentionSentiment) |
Contains the sentiment and sentiment score for the mention.
|
TargetedSentimentMention.Builder |
TargetedSentimentMention.Builder.score(Float score) |
Model confidence that the entity is relevant.
|
TargetedSentimentMention.Builder |
TargetedSentimentMention.Builder.text(String text) |
The text in the document that identifies the entity.
|
TargetedSentimentMention.Builder |
TargetedSentimentMention.toBuilder() |
|
TargetedSentimentMention.Builder |
TargetedSentimentMention.Builder.type(String type) |
The type of the entity.
|
TargetedSentimentMention.Builder |
TargetedSentimentMention.Builder.type(TargetedSentimentEntityType type) |
The type of the entity.
|