Class DocumentWord
- java.lang.Object
-
- com.azure.ai.formrecognizer.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 Summary
Constructors Constructor Description DocumentWord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Float>
getBoundingBox()
Get the boundingBox property: Bounding box of the word.float
getConfidence()
Get the confidence property: Confidence of correctly extracting the word.String
getContent()
Get the content property: Text content of the word.DocumentSpan
getSpan()
Get the span property: Location of the word in the reading order concatenated content.
-
-
-
Method Detail
-
getContent
public String getContent()
Get the content property: Text content of the word.- Returns:
- the content value.
-
getBoundingBox
public List<Float> getBoundingBox()
Get the boundingBox property: Bounding box of the word.- Returns:
- the boundingBox 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.
-
-