Class DocumentWord
java.lang.Object
com.azure.ai.formrecognizer.documentanalysis.models.DocumentWord
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the list of coordinates of the bounding polygon for the word.float
Get the confidence property: Confidence of correctly extracting the word.Get the content property: Text content of the word.getSpan()
Get the span property: Location of the word in the reading order concatenated content.
-
Constructor Details
-
DocumentWord
public DocumentWord()
-
-
Method Details
-
getContent
Get the content property: Text content of the word.- Returns:
- the content value.
-
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
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.
-