Module Values.EntitySource

Provides information about an extracted medical entity.

Sourcetype nonrec t = {
  1. id : Integer.t option;
    (*

    The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.

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

    The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.

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

    The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.

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

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

    *)
  5. text : String_.t option;
    (*

    The segment of input text extracted as this entity.

    *)
  6. category : EntityType.t option;
    (*

    The category of the entity.

    *)
  7. type_ : EntitySubType.t option;
    (*

    Describes the specific type of entity with category of entities.

    *)
  8. traits : TraitList.t option;
    (*

    Contextual information for the entity.

    *)
  9. attributes : AttributeList.t option;
    (*

    The extracted attributes that relate to this entity.

    *)
}
Sourceval make : ?id:??? -> ?beginOffset:??? -> ?endOffset:??? -> ?score:??? -> ?text:??? -> ?category:??? -> ?type_:??? -> ?traits:??? -> ?attributes:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Float of Float_.t | `Integer of Integer.t | `List of [> `Structure of (string * [> `Enum of string | `Float of Float_.t | `Integer of Integer.t | `List of [> `Structure of (string * [> `Enum of string | `Float of Float_.t ]) list ] list | `String of String_.t ]) list ] list | `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