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

DetectSentimentRequest

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

§Properties

§
LanguageCode: LanguageCode
[src]

The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.

§
Text: string
[src]

A UTF-8 text string. The maximum string size is 5 KB.

Note: Amazon Comprehend performs real-time sentiment analysis on the first 500 characters of the input text and ignores any additional text in the input.