Module Values.DetectTargetedSentimentRequestSource

Inspects the input text and returns a sentiment analysis for each entity identified in the text. For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.

Sourcetype nonrec t = {
  1. text : CustomerInputString.t;
    (*

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

    *)
  2. languageCode : LanguageCode.t;
    (*

    The language of the input documents. Currently, English is the only supported language.

    *)
}
Sourceval context_ : string
Sourceval make : text:CustomerInputString.t -> languageCode:LanguageCode.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of CustomerInputString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t