Class DocumentEntity

java.lang.Object
com.azure.ai.formrecognizer.models.DocumentEntity

public final class DocumentEntity extends Object
An object representing various categories of entities.
  • Constructor Details

    • DocumentEntity

      public DocumentEntity()
  • Method Details

    • getCategory

      public String getCategory()
      Get the category property: Entity type.
      Returns:
      the category value.
    • getSubCategory

      public String getSubCategory()
      Get the subCategory property: Entity sub type.
      Returns:
      the subCategory value.
    • getContent

      public String getContent()
      Get the content property: Entity content.
      Returns:
      the content value.
    • getBoundingRegions

      public List<BoundingRegion> getBoundingRegions()
      Get the boundingRegions property: Bounding regions covering the entity.
      Returns:
      the boundingRegions value.
    • getSpans

      public List<DocumentSpan> getSpans()
      Get the spans property: Location of the entity in the reading order concatenated content.
      Returns:
      the spans value.
    • getConfidence

      public float getConfidence()
      Get the confidence property: Confidence of correctly extracting the entity.
      Returns:
      the confidence value.