Module Values.DocumentLabelSource

Specifies one of the label or labels that categorize the document being analyzed.

Sourcetype nonrec t = {
  1. name : String_.t option;
    (*

    The name of the label.

    *)
  2. score : Float_.t option;
    (*

    The confidence score that Amazon Comprehend has this label correctly attributed.

    *)
  3. page : Integer.t option;
    (*

    Page number where the label occurs. This field is present in the response only if your request includes the Byte parameter.

    *)
}
Sourceval make : ?name:??? -> ?score:??? -> ?page:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of Float_.t | `Integer of Integer.t | `String of String_.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