Class DocumentEntity


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

      • DocumentEntity

        public DocumentEntity()
    • Method Detail

      • 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.