BatchDetectSentimentItemResult
import type { BatchDetectSentimentItemResult } from "https://aws-api.deno.dev/v0.3/services/comprehend.ts?docs=full";
The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.
interface BatchDetectSentimentItemResult {
Index?: number | null;
Sentiment?: SentimentType | null;
SentimentScore?: SentimentScore | null;
}§Properties
§
Sentiment?: SentimentType | null
[src]The sentiment detected in the document.
§
SentimentScore?: SentimentScore | null
[src]The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.