google_api_document_ai v0.2.0 GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentEntity View Source

A phrase in the text that is a known entity type, such as a person, an organization, or location.

Attributes

  • confidence (type: number(), default: nil) - Optional. Confidence of detected Schema entity. Range [0, 1].
  • mentionId (type: String.t, default: nil) - Deprecated. Use id field instead.
  • mentionText (type: String.t, default: nil) - Text value in the document e.g. 1600 Amphitheatre Pkwy.
  • textAnchor (type: GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentTextAnchor.t, default: nil) - Provenance of the entity. Text anchor indexing into the Document.text.
  • type (type: String.t, default: nil) - Entity type from a schema e.g. Address.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentEntity{
    confidence: number(),
    mentionId: String.t(),
    mentionText: String.t(),
    textAnchor:
      GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentTextAnchor.t(),
    type: String.t()
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.