public class Annotation extends Object
| Constructor and Description |
|---|
Annotation() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties()
Get the additionalProperties property: Dictionary of <any>.
|
Float |
getClassificationConfidence()
Get the classificationConfidence property: The model's confidence that the text has been classified correctly.
|
Float |
getConfidence()
Get the confidence property: The overall confidence that the model's prediction is correct.
|
String |
getContentType()
Get the contentType property: The contentType property.
|
String |
getDataPoint()
Get the dataPoint property: The dataPoint property.
|
int |
getId()
Get the id property: The id property.
|
Integer |
getPageIndex()
Get the pageIndex property: The page number within the document, starting from 0.
|
String |
getRaw()
Get the raw property: Raw data extracted from the before any post-processing.
|
Rectangle |
getRectangle()
Get the rectangle property: x/y coordinates for the rectangular bounding box containing the data.
|
List<Rectangle> |
getRectangles()
Get the rectangles property: The rectangles property.
|
Float |
getTextExtractionConfidence()
Get the textExtractionConfidence property: If the document was submitted as an image, this is the confidence that
the text in the image has been correctly read by the model.
|
boolean |
isAutoVerified()
Get the isAutoVerified property: Indicates whether the data has been auto-validated.
|
boolean |
isClientVerified()
Get the isClientVerified property: Indicates whether the data has been validated by a human.
|
boolean |
isVerified()
Get the isVerified property: Indicates whether the data has been validated, either by a human using our
validation tool or through auto-validation rules.
|
Annotation |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Dictionary of <any>.
|
Annotation |
setClassificationConfidence(Float classificationConfidence)
Set the classificationConfidence property: The model's confidence that the text has been classified correctly.
|
Annotation |
setConfidence(Float confidence)
Set the confidence property: The overall confidence that the model's prediction is correct.
|
Annotation |
setContentType(String contentType)
Set the contentType property: The contentType property.
|
Annotation |
setDataPoint(String dataPoint)
Set the dataPoint property: The dataPoint property.
|
Annotation |
setId(int id)
Set the id property: The id property.
|
Annotation |
setIsAutoVerified(boolean isAutoVerified)
Set the isAutoVerified property: Indicates whether the data has been auto-validated.
|
Annotation |
setIsClientVerified(boolean isClientVerified)
Set the isClientVerified property: Indicates whether the data has been validated by a human.
|
Annotation |
setIsVerified(boolean isVerified)
Set the isVerified property: Indicates whether the data has been validated, either by a human using our
validation tool or through auto-validation rules.
|
Annotation |
setPageIndex(Integer pageIndex)
Set the pageIndex property: The page number within the document, starting from 0.
|
Annotation |
setRaw(String raw)
Set the raw property: Raw data extracted from the before any post-processing.
|
Annotation |
setRectangle(Rectangle rectangle)
Set the rectangle property: x/y coordinates for the rectangular bounding box containing the data.
|
Annotation |
setRectangles(List<Rectangle> rectangles)
Set the rectangles property: The rectangles property.
|
Annotation |
setTextExtractionConfidence(Float textExtractionConfidence)
Set the textExtractionConfidence property: If the document was submitted as an image, this is the confidence that
the text in the image has been correctly read by the model.
|
public int getId()
public Annotation setId(int id)
id - the id value to set.public Rectangle getRectangle()
public Annotation setRectangle(Rectangle rectangle)
rectangle - the rectangle value to set.public List<Rectangle> getRectangles()
public Annotation setRectangles(List<Rectangle> rectangles)
rectangles - the rectangles value to set.public Integer getPageIndex()
public Annotation setPageIndex(Integer pageIndex)
pageIndex - the pageIndex value to set.public String getRaw()
public Annotation setRaw(String raw)
raw - the raw value to set.public Float getConfidence()
public Annotation setConfidence(Float confidence)
confidence - the confidence value to set.public Float getClassificationConfidence()
public Annotation setClassificationConfidence(Float classificationConfidence)
classificationConfidence - the classificationConfidence value to set.public Float getTextExtractionConfidence()
public Annotation setTextExtractionConfidence(Float textExtractionConfidence)
textExtractionConfidence - the textExtractionConfidence value to set.public boolean isVerified()
public Annotation setIsVerified(boolean isVerified)
isVerified - the isVerified value to set.public boolean isClientVerified()
public Annotation setIsClientVerified(boolean isClientVerified)
isClientVerified - the isClientVerified value to set.public boolean isAutoVerified()
public Annotation setIsAutoVerified(boolean isAutoVerified)
isAutoVerified - the isAutoVerified value to set.public String getDataPoint()
public Annotation setDataPoint(String dataPoint)
dataPoint - the dataPoint value to set.public String getContentType()
public Annotation setContentType(String contentType)
contentType - the contentType value to set.public Map<String,Object> getAdditionalProperties()
public Annotation setAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties - the additionalProperties value to set.Copyright © 2023. All rights reserved.