AnalyzedDocument Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. AnalyzedDocument
- com.
Implements
public final class AnalyzedDocument
implements JsonSerializable<AnalyzedDocument>
An object describing the location and semantic content of a document.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Analyzed |
fromJson(JsonReader jsonReader)
Reads an instance of Analyzed |
List<Bounding |
getBoundingRegions()
Get the bounding |
double |
getConfidence()
Get the confidence property: Confidence of correctly extracting the document. |
String |
getDocumentType()
Get the document |
Map<String,Document |
getFields()
Get the fields property: Dictionary of named field values. |
List<Document |
getSpans()
Get the spans property: Location of the document in the reading order concatenated content. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AnalyzedDocument fromJson(JsonReader jsonReader)
Reads an instance of AnalyzedDocument from the JsonReader.
Parameters:
Returns:
Throws:
getBoundingRegions
public List
Get the boundingRegions property: Bounding regions covering the document.
Returns:
getConfidence
public double getConfidence()
Get the confidence property: Confidence of correctly extracting the document.
Returns:
getDocumentType
public String getDocumentType()
Get the documentType property: Document type.
Returns:
getFields
public Map
Get the fields property: Dictionary of named field values.
Returns:
getSpans
public List
Get the spans property: Location of the document in the reading order concatenated content.
Returns:
toJson
Applies to
Azure SDK for Java