TargetedSentimentMention
import type { TargetedSentimentMention } from "https://aws-api.deno.dev/v0.4/services/comprehend.ts?docs=full";
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.
interface TargetedSentimentMention {
BeginOffset?: number | null;
EndOffset?: number | null;
GroupScore?: number | null;
MentionSentiment?: MentionSentiment | null;
Score?: number | null;
Text?: string | null;
Type?: TargetedSentimentEntityType | null;
}§Properties
§
GroupScore?: number | null
[src]The confidence that all the entities mentioned in the group relate to the same entity.
§
MentionSentiment?: MentionSentiment | null
[src]Contains the sentiment and sentiment score for the mention.
§
Score?: number | null
[src]Model confidence that the entity is relevant. Value range is zero to one, where one is highest confidence.
§
Type?: TargetedSentimentEntityType | null
[src]The type of the entity. Amazon Comprehend supports a variety of entity types.