Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TargetedSentimentEntity

import type { TargetedSentimentEntity } from "https://aws-api.deno.dev/v0.4/services/comprehend.ts?docs=full";

Information about one of the entities found by targeted sentiment analysis.

For more information about targeted sentiment, see Targeted sentiment.

interface TargetedSentimentEntity {
DescriptiveMentionIndex?: number[] | null;
Mentions?: TargetedSentimentMention[] | null;
}

§Properties

§
DescriptiveMentionIndex?: number[] | null
[src]

One or more index into the Mentions array that provides the best name for the entity group.

§
Mentions?: TargetedSentimentMention[] | null
[src]

An array of mentions of the entity in the document. The array represents a co-reference group. See Co-reference group for an example.