Values.DetectTargetedSentimentResponseSourceInspects 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.
type nonrec t = {entities : ListOfTargetedSentimentEntities.t option;Targeted sentiment analysis for each of the entities identified in the input text.
*)}type nonrec error = [ | `InternalServerException of InternalServerException.t| `InvalidRequestException of InvalidRequestException.t| `TextSizeLimitExceededException of TextSizeLimitExceededException.t| `UnsupportedLanguageException of UnsupportedLanguageException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `TextSizeLimitExceededException of TextSizeLimitExceededException.t
| `Unknown_operation_error of string * string option
| `UnsupportedLanguageException of UnsupportedLanguageException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `TextSizeLimitExceededException of TextSizeLimitExceededException.t
| `Unknown_operation_error of string * string option
| `UnsupportedLanguageException of UnsupportedLanguageException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `Integer of Integer.t
| `Structure of
(string
* [> `Enum of string
| `Float of Float_.t
| `Integer of Integer.t
| `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `Structure of
(string * [> `Float of Float_.t ]) list ])
list ])
list ]
list ])
list ]
list ])
list ]