TargetedSentimentMention

Information about one mention of an entity. The mention information includes the location of the mention in the text and the sentiment of the mention.

For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The offset into the document text where the mention begins.

Link copied to clipboard

The offset into the document text where the mention ends.

Link copied to clipboard

The confidence that all the entities mentioned in the group relate to the same entity.

Link copied to clipboard

Contains the sentiment and sentiment score for the mention.

Link copied to clipboard
val score: Float?

Model confidence that the entity is relevant. Value range is zero to one, where one is highest confidence.

Link copied to clipboard
val text: String?

The text in the document that identifies the entity.

Link copied to clipboard

The type of the entity. Amazon Comprehend supports a variety of entity types.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String