FormWord Class
- java.
lang. Object - com.
azure. ai. formrecognizer. models. FormElement - com.
azure. ai. formrecognizer. models. FormWord
- com.
- com.
public final class FormWord
extends FormElement
Represents a word recognized from the input document.
Constructor Summary
Constructor | Description |
---|---|
FormWord(String text, FieldBoundingBox boundingBox, int pageNumber, float confidence) |
Constructs a Form |
Method Summary
Modifier and Type | Method and Description |
---|---|
Field |
getBoundingBox()
Bounding |
float |
getConfidence()
Gets the confidence property of the Form Word. |
int |
getPageNumber()
Get the 1-based page number in the input document. |
String |
getText()
The text content of the form element. |
Methods inherited from FormElement
Methods inherited from java.lang.Object
Constructor Details
FormWord
public FormWord(String text, FieldBoundingBox boundingBox, int pageNumber, float confidence)
Constructs a FormWord object.
Parameters:
Method Details
getBoundingBox
public FieldBoundingBox getBoundingBox()
BoundingBox property of the element.
Overrides:
FormWord.getBoundingBox()getConfidence
public float getConfidence()
Gets the confidence property of the Form Word.
Returns:
getPageNumber
public int getPageNumber()
Get the 1-based page number in the input document.
Overrides:
FormWord.getPageNumber()getText
public String getText()
The text content of the form element.
Overrides:
FormWord.getText()Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기