Module Values.TargetedSentimentEntitySource

Information about one of the entities found by targeted sentiment analysis. For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.

Sourcetype nonrec t = {
  1. descriptiveMentionIndex : ListOfDescriptiveMentionIndices.t option;
    (*

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

    *)
  2. mentions : ListOfMentions.t option;
    (*

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

    *)
}
Sourceval make : ?descriptiveMentionIndex:??? -> ?mentions:??? -> unit -> t
Sourceval to_value : t -> [> `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 ]
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