java.lang.Object
com.azure.ai.formrecognizer.documentanalysis.models.DocumentWord

public final class DocumentWord extends Object
A word object consisting of a contiguous sequence of characters. For non-space delimited languages, such as Chinese, Japanese, and Korean, each character is represented as its own word.
  • Constructor Details

    • DocumentWord

      public DocumentWord()
  • Method Details

    • getContent

      public String getContent()
      Get the content property: Text content of the word.
      Returns:
      the content value.
    • getBoundingPolygon

      public List<Point> getBoundingPolygon()
      Get the list of coordinates of the bounding polygon for the word. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.
      Returns:
      the boundingPolygon value.
    • getSpan

      public DocumentSpan getSpan()
      Get the span property: Location of the word in the reading order concatenated content.
      Returns:
      the span value.
    • getConfidence

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