Module Values.PiiEntitySource

Provides information about a PII entity.

Sourcetype nonrec t = {
  1. score : Float_.t option;
    (*

    The level of confidence that Amazon Comprehend has in the accuracy of the detection.

    *)
  2. type_ : PiiEntityType.t option;
    (*

    The entity's type.

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

    The zero-based offset from the beginning of the source text to the first character in the entity.

    *)
  4. endOffset : Integer.t option;
    (*

    The zero-based offset from the beginning of the source text to the last character in the entity.

    *)
}
Sourceval make : ?score:??? -> ?type_:??? -> ?beginOffset:??? -> ?endOffset:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Float of Float_.t | `Integer of Integer.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